English subtitles

← FOV Slider - Interactive 3D Graphics

Get Embed Code
2 Languages

Showing Revision 2 created 05/25/2016 by Udacity Robot.

  1. Here's your assignment. Add a slider that controls the field of view parameter
  2. for the perspective camera. Use the dat.GUI library to set up the slider. Give
  3. the slider the name Field of View. This Field of View slider should have a
  4. range of 1 to 179 degrees, and start at 40 degrees. When you're done, the
  5. program should look like this. As you change the view, things should look
  6. considerably different. Once you have things working, I recommend you try
  7. moving around the scene. Compare changing the field of view with what happens
  8. when you use the mouse wheel or middle mouse button to move back and forth.