Command Palette

Search for a command to run...

Hectal
Phase 7: Cameras and Controls
3D Web · Exercise 3 of 3 Previous
Intermediate

Frame the bike from the field of view

The camera is far too close: the bike fills more than the picture. Move the camera back along +z so the whole bike fits, using the formula from Topic 7.4 with a margin.

Keep looking at the bike's centre (0, 0.45, 0). The bike's box is 1.8 m wide and 0.9 m tall; remember the canvas is wider than it is tall.

What Check tests

  1. The whole bike is in the picture and fills at least 70% of the tight side
  2. The camera looks at the bike's centre

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.