DOC PREVIEW
UCSD CSE 167 - Scene Graphs & Trees in OpenGL

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Introduction to Computer GraphicsFarhana Bandukwala, PhDLecture 18: Scene Graphs & Trees in OpenGLOutline• Hierarchical Objects• Scene graphs• TreesHierarchical Objects• Consider a robot• Composed of head, torso, arms and legs• Still further break down– arms: upper & lower & hands– Legs: upper & lower & feetDescribe attributes• Head, hands, feet might have material property alike skin• Upper & lower arms and legs, torso may have material alike clothingYX ZDescribe valid motion:• Head rotates around y• Upper arm rotates around shoulder -> elbow translates• Lower arm rotates around elbow -> hand translates• Upper leg rotates at hip -> knee translates• Lower leg rotates at knee -> foot translatesYX ZRepresent Part motion hierarchically• Shoulder position (or top of upper arm) w/ respect to torso • Elbow position (or bottom of upper arm) w/respect to shoulder & rotation• Hand (or lower arm bottom) w/respect to elbow & rotationYX ZScene graphs• Data structure to represent hierarchical nature of object or scene• Allows an explicit representation of where to place separators• In OpenGL this means where to place glPushMatrix()/glPopMatrix() or glPushAttrib()/glPopAttrib()Robot Body (Torso)HeadArm 1 Arm 2 Leg 1 Leg 2Upper Lower Upper LowerNode propertiesRobot Body (Torso)HeadArm 1 Arm 2 Leg 1Leg 2Upper Lower Upper LowerMaterial properties Material properties,TranslateRotateMaterial properties,TranslateShoulder pos, elbow posMaterial properties,TranslateHip posKnee


View Full Document

UCSD CSE 167 - Scene Graphs & Trees in OpenGL

Documents in this Course
Lighting

Lighting

38 pages

Review

Review

59 pages

Surfaces

Surfaces

22 pages

Review

Review

110 pages

Midterm

Midterm

4 pages

Lighting

Lighting

38 pages

Lighting

Lighting

71 pages

Review

Review

110 pages

Lighting

Lighting

71 pages

Load more
Download Scene Graphs & Trees in OpenGL
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Scene Graphs & Trees in OpenGL and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Scene Graphs & Trees in OpenGL 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?