1 / 10

Point of View

Point of View. An object’s Point of View comprises its position and orientation. Position tells us where the object is in the world. Orientation tells us the direction an object is facing.

gray-rhodes
Download Presentation

Point of View

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. Point of View • An object’s Point of View comprises its position and orientation. • Position tells us where the object is in the world. • Orientation tells us the direction an object is facing. • An object’s position is given by 3 values: location in the world’s LR axis, location in the world’s FB axis, location in the world’s UD axis. See the pointOfView.position property values. • An object’s orientation is given by 3 values: yaw, pitch, roll. Yaw is the objects rotation about the UD axis. Pitch is the object’s rotation about the LR axis. Roll is the object’s rotation about the FB axis. • See The PointOfView property for objects ACS-1805 Ron McFadyen

  2. Orientation of objects • Each object has its own coordinate system that provides its own sense of direction • If Bob is asked to turn left ¼ revolution, Bob’s sense of direction turns with him Bob forward Note here that Bob rotated on his up-down axis. An object’s yaw is how much the object is rotated along this up-down axis since its original position. forward ACS-1805 Ron McFadyen

  3. Orientation of objects • Bob had just turned… • Now if we ask Bob to move forward, Bob advances along the forward-backward axis forward forward ACS-1805 Ron McFadyen

  4. Orientation of objects • Bob had moved forward… • Now if we ask Bob to turn forward, Bob rotates on the left-right axis forward Note here that Bob rotated on his left-right axis. An object’s pitch is how much the object is rotated along this left-right axis since its original position. forward right ACS-1805 Ron McFadyen

  5. Orientation of objects • Consider Bob back at … • Now if we ask Bob to roll left, Bob rotates on the forward-backward axis forward Note here that Bob rotated on his forward-backward axis. An object’s roll is how much the object is rotated along this forward-backward axis since its original position. forward ACS-1805 Ron McFadyen

  6. Orientation of objects • Each object has its own coordinate system that provides its own sense of direction • If Dave and Peter are asked to move forward, they go in opposite directions • You reset an object’s coordinate system by using orient to to give both the same sense of direction • Daveorient to Peter Peter Dave forward forward forward forward ACS-1805 Ron McFadyen

  7. Orientation of objects • You reset an object’s coordinate system and location by using set point of view • Daveset point of view Peter Peter Dave forward forward forward ACS-1805 Ron McFadyen

  8. Move, Turn, Roll ActionParametersSample object Move left, right, forward, back, up, down any object Turn left, right, forward, back door Roll left, right knob, dial Dave forward ACS-1805 Ron McFadyen

  9. Move, Turn, Roll Move Turn Roll e.g. lid dial knob door ACS-1805 Ron McFadyen

  10. Arguments • Duration: the default length of time for an action is one second – this can be modified • Style: the smoothness of an action is controlled using one of the values begin gently, begin abruptly, end gently, end abruptly • As seen by: the sense of direction (orientation) for an action is by default determined by the object that is acting, but this can be changed by specifying a different object to use for direction ACS-1805 Ron McFadyen

More Related