In the initial state, the torus and the sphere frames are attached to the scene. In this case the rotation of the torus does not affect the sphere. By means of the dialog box the user can attach the sphere frame to the torus frame. In this case the sphere rotates with the torus.
The code for making and breaking the frame attachments is as follows:
Several functions of the IDirect3DRMFrame3 interface relate to the algorithms used by the rasterizer module. Although these controls are more applicable to immediate mode programming than to retained mode, we briefly mention them here.
Sort mode controls
parents. This is the default setting.
Child frames are not sorted.