1 / 17

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition. Chapter 6. Figure 6.1: Screenshot of spaceTravel.cpp with a 100 x100 array of asteroids. Figure 6.2: (a) Projection of the asteroids and the frustum of spaceTravel.cpp onto

anniet
Télécharger la présentation

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition

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 Transcript


  1. Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 6

  2. Figure 6.1: Screenshot of spaceTravel.cpp with a 100 x100 array of asteroids.

  3. Figure 6.2: (a) Projection of the asteroids and the frustum of spaceTravel.cpp onto the xz-plane. (b) Corresponding quadtree squares (the root square is bold) (c) The tree structure with children at each node drawn SW, NW, NE, SE from left to right; the nodes in the red circle are some of those pruned.

  4. Figure 6.3: Spacecraft carrying a viewing frustum "attached" to its front.

  5. Figure 6.4: An octree cube and one of its 8 octants.

  6. Figure 6.5: Two rooms off a hall. A dashed bounding box is shown containing the first object.

  7. Figure 6.6: Screenshot of occlusion.cpp.

  8. Figure 6.7: Video camera and spacecraft.

  9. Figure 6.8: (a) Orienting an object in space with respect to fixed axes – the fixed reference orientation of the L is shown in bold (b) Orientation of an aircraft with respect to local axes “carried” by it.

  10. Figure 6.9: Screenshot of eulerAngles.cpp.

  11. Figure 6.10: The bold blue start orientation is given by the Euler angle tuple (0, 0, 0) and the bold blue destination one by either (0, 90, 0) or (-90, 90, 90). Intermediate orientations (green) in the linear interpolation between (0, 0, 0) and (0, 90, 0) all lie on the xz-plane, while those (red) between (0, 0, 0) and (-90, 90, 90) arc above it.

  12. Figure 6.11: Screenshot of interpolateEuler- Angles.cpp.

  13. Figure 6.12: The vector f(X) is obtained by rotating X about the line l.

  14. Figure 6.13: The unit sphere S3 in R4 with a radial line l, representing a rotation of R3, passing through a pair of antipodal points.

  15. Figure 6.14: (a) Conceptual plan to use quaternion space to interpolate in orientation space (numbers in parentheses indicate steps) (b) The geodesic path from q1 to q2 on S3 (c) Slerping from q1 to q2.

  16. Figure 6.15: Changing the orientation from AB to AB’ is inherently ambiguous.

  17. Figure 6.16: Screenshot of quaternionAnimation- .cpp.

More Related