An Overview of Open Inventor




Nodes and Groups   





Homework 3

  1. Read Chapter 1 and Chapter 3 of the Orange Book,  pay particular attention to following parts in Chapter 3:
    1. All the "Tips" marked with tips
    2. "Fields within a Node"
    3. "References and Deletion"
    4. What is the difference between SoGroup and SoSeparator?
    5. Compile and run program 3.1 and then replace SoGroup with SoSeparator in the program and then run it again. Notice the difference.
    6. Compile and run program 3.2.
  2. Examine the robot's scene graph diagram Figure 3-10. Consult the Inventor symbols (icons) for the symbol's meaning.
    1. Change some fields' values in 3.2 and see the effect.
    2. Apply some rotation to the foot and/or calf.
    3. Apply some engines to the robot so that it can move or "walk".  Examples of robot animation are: rotations of the foot, the calf. You may have to use SbRotation. (Be careful, do NOT use quaternion for setting up its value, why?). There is a very simple engine example in program 2.2. For more information, go to Chapter 13.  For this homework, it is OK to use the engine in 2.2.