Graphics Reference
In-Depth Information
Figure 6.2. Understanding Maya with the MVC implementation framework.
Because Maya is a 3D media creation system, the TheModel component con-
tains 3D content information (e.g., scene graph, 3D geometry, material proper-
ties, lighting, camera, animation). Once again, the rest of the components in the
MainUIWindow are designed to facilitate the user's view and to change TheModel .
Here is the functionality of the four view/controller pairs.
GraphPane . The view component displays the scene graph of the 3D con-
tent; the controller component supports navigating the graph and selecting
scene nodes in the graph.
CameraPane . The view component renders the scene graph from a cam-
era viewing position; the controller component supports manipulating the
camera view and selecting objects in the scene.
MaterialPane . The view component displays all the defined materials; the
controller component supports selecting and editing materials.
OutlinePane . The view component displays all the transform nodes in the
scene; the controller component supports manipulating the transforms (e.g.,
create/change parent-child relationships).
Once again, the coherency among the different view/controller pairs can be main-
tained while servicing the application timer events.
We do not speculate that PowerPoint or Maya is implemented according to
our framework. These are highly sophisticated commercial applications, and the
underlying implementation is certainly much more complex. However, based on
Search WWH ::




Custom Search