The View Frustum and the Camera
Download Presentation Download 1 / 19 Download Download Presentation >> The View Frustum and the CameraJul 23, 2012
200 likes | 427 Views
The View Frustum and the Camera. Lecture 19 Fri, Oct 10, 2003. The View Frustum. The view frustum is in the shape of a truncated pyramid, with its vertex at the eye, or camera. The frustum is defined by six planes. left and right (x direction) top and bottom (y direction)
Share Presentation Embed Code Link Download Presentation doli + Follow Download PresentationThe View Frustum and the Camera
An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.E N D
Presentation TranscriptThe View Frustum and the Camera Lecture 19 Fri, Oct 10, 2003
The View Frustum • The view frustum is in the shape of a truncated pyramid, with its vertex at the eye, or camera. • The frustum is defined by six planes. • left and right (x direction) • top and bottom (y direction) • near and far (z direction)
The View Frustum left right
The View Frustum top bottom
The View Frustum near far
The Perspective Function • The view frustum is defined by the function gluPerspective(). • gluPerspective(viewAngle, aspectRatio, near, far). • Example: gluPerspective(45, 4./3., 0.1, 100.0);
The Projection Matrix • The Perspective function creates the projection matrix, which is used to project the 3D scene onto a 2D plane. • We will discuss the projection matrix in more detail later.
World Coordinates Object Coordinates Model Matrix View Matrix Projection Matrix Viewport Matrix Device Coordinates Window Coordinates Camera (Eye) Coordinates The Graphics Pipeline
camera view frustum The Camera • The camera determines the position, direction, and orientation of the view frustum in world coordinates.
The Camera • The function gluLookAt() positions the camera. • gluLookAt(eye.x, eye.y, eye.z, look.x, look.y, look.z, up.x, up.y, up.z). • The camera is positioned at “eye”. • The camera is pointed towards “look”. • The camera is oriented in the direction “up”.
Fixed Camera • We may place the camera in a fixed position. • For example, place the camera at 5 on the z-axis, looking at the origin. gluLookAt(0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
Movable Camera • We may create a movable camera by making eye, look, and up variable. • Normally up is fixed at (0, 1, 0). • Often we fix look at (0, 0, 0). • We may vary eye in rectangular or spherical coordinates.
Rectangular Coordinates • We may use the x, y, and z keys to vary the x, y, and z coordinates of the camera. • ‘X’, ‘x’: increment or decrement x. • ‘Y’, ‘y’: increment or decrement y. • ‘Z’, ‘z’: increment or decrement z.
Spherical Coordinates • We call these distance, pitch, and yaw. • Pitch and yaw are angles. • The “roll” is normally fixed at 0 from the vertical. • Measure pitch in the vertical plane. • Measure yaw in the horizontal plane.
Spherical Coordinates yaw
Spherical Coordinates pitch
Spherical Coordinates eye.x = dist cos(pitch) sin(yaw). eye.y = dist sin(pitch). eye.z = dist cos(pitch) cos(yaw).
Spherical Coordinates • We may use the keyboard to vary the distance, pitch, and yaw coordinates of the camera. • ‘+’, ‘–’: increment or decrement distance. • , : increment or decrement pitch. • , : increment or decrement yaw.
Example: Viewing the Cone • CameraMover.cpp • mesh.cpp • LookMover.cpp
You may have a simple aim and shoot camera so can you take good pictures ? ... With a digital camera, knowledge of image editing software is ...
762 views • 38 slides
camera products and the futurecamera products and the future . memory and processor. video, audio, temperature, chemical, tactile. ADC . communication. DAC & actuators . electronic system of the future. why are products that can capture images important?. this processor has a lot of logic allocated to scene
296 views • 22 slides
Single-view Metrology and Camera Calibration02/23/12. Single-view Metrology and Camera Calibration. Computer Vision Derek Hoiem, University of Illinois. Last Class: Pinhole Camera. . Principal Point ( u 0 , v 0 ). . . f. Z. Y. v. . Camera Center ( t x , t y , t z ). u. Last Class: Projection Matrix. R. j w. t. k w.
611 views • 36 slides
The CameraThe Camera . BY: Natalia Hovanec Period H. The Camera . The camera is a type of electronic device that is used for taking and storing images. The images can be still like a photo or moving like a video or movie. . Project Lead The Way .
357 views • 14 slides
The CameraThe Camera. Which of the following is not important when determening the shutter speed you should use on a camera?. The intensity of light striking the subject The distance between the subject and the camera The diameter of the lens The focal length of the lens
386 views • 22 slides
Camera point of viewCamera point of view. Fine art survey part 3. Tracking of camera is another way to achieve movement . http:// www.youtube.com/watch?v=x2-MCPa_3rU Forrest Gump 1994. Motion of a picture.
222 views • 5 slides
The CameraThe Camera. Navigating and viewing the virtual world. Road Map. Camera properties and definition Perspective transformation Quaternion transforms for changing camera. The Camera. pinhole camera model tiny aperture finite size screen. Light strikes screen. Light from world. aperture.
652 views • 35 slides
THE CAMERATHE CAMERA. Literally, room in Latin. The instrument with which photographs are taken, consisting, at least, of a light-tight box, a lens which admits focused light, and some device for holding the film in position. In a digital camera, the film is replaced by a light sensitive digital sensor.
571 views • 27 slides
Frustum Culling in OpenGLFrustum Culling in OpenGL. Ref: MarkMoley.com. Culling Techniques. Outline. Introduction View Frustum Plane Equation Frustum Plane Extraction Frustum/Point/Sphere Inclusion Tests. Definition (View Frustum). the volume of space that includes everything visible from a given viewpoint
847 views • 42 slides
The Camera3. The Camera. I Can. Define multimedia terms digital camera CCD – Charge-coupled device Convex Focal Point Focal Length Identify the four distinct parts of a camera Identify how focal length is measured Identify the four types of lens Identify the two types of zoom. I Can.
1.13k views • 84 slides
The CameraThe Camera. The Camera.
276 views • 11 slides
Single-view Metrology and Camera Calibration01/25/11. Single-view Metrology and Camera Calibration. Computer Vision Derek Hoiem, University of Illinois. Some questions about course philosophy. Why is there no required book? Why is the reading different from the lectures? Why are the lectures going so fast… or so slow?
553 views • 40 slides
Use An IP Camera And View The Recording From AnywhereAn IP Camera is also known as network camera that transfer the data over the quick Ethernet link. It is a one type of digital video camera and used for IP control. It is a networked version of CCTV. It is a very important element for home or office’s security system.
334 views • 13 slides
Choose Rear View Camera - NeltronicsChoose from our wide selection of Heavy Duty Rear view Camera System for your Rear View Safety needs.The wireless reversing camera operates automatically when the car is put into reverse.
34 views • 1 slides
Birds Eye View Camera SystemTransicam offers you Low Price 360 Birds Eye View Camera System Online for Car which gives a surround view monitor, a panoramic, seamless image in high definition that leaves no room for mistakes.
98 views • 4 slides
fork view camera systemSharpEagle is renowned for quality forklift Camera solutions,ex-proof camera system in the region of the middle east, Africa, Asia. The implementation of safety procedure leads to significant advantages such as; higher employee satisfaction & increased productivity.For more details click on http://www.sharpeagle.tv/ or call on Dubai 971-4-454-1054 or mail us at sales@studio52.tv
36 views • 1 slides
Camera models and single view geometryCamera models and single view geometry. Camera model. Camera: optical system. Y. d a=a -a. 2. 1. curvature radius. r. r. Z. 2. 1. thin lens. small angles:. Y. incident light beam. lens refraction index: n. deviated beam. Z. deviation angle ? Dq = q ’’ -q. Thin lens rules.
896 views • 86 slides
MVC and the Viewhttp:// www.computerhistory.org /timeline/images/1993_mosaic_browser_large.jpg. MVC and the View. Today ’ s Goal: Program “ View ” in Rails. Prerequisites: How to program HTML How the Web works How Rails MVC architecture works. Today ’ s Goal: Program “ View ” in Rails. Prerequisites:
464 views • 44 slides
Side View Camera System MarketSome of the major factors contributing to the growth of the global side view camera system include the rising demand for commercial and passenger vehicles, which is leading to an upsurge in the production of such cars and growing concerns for the safety of the vehicle.
66 views • 5 slides
Loading... More Related