TOC PREV NEXT INDEX

Uscene, Uscene2D, Uscene3D, Mscene, Mscene2D, Mscene3D

Synopsis

defines information for displaying 2D and 3D graphics display windows

V name

GDM.Uscene, GDM.Mscene

Input Ports

Top.child_objs

GDobject_templ

Top2D.child_objs

GDobject_templ (Uscene and Mscene only)

View.buffers

GDview_buffers

Output Ports

View.Field_Output.buffers

GDview_buffers

View.View

GDview_templ

View.picked_obj

GDobject_templ

Description

Uscene, Uscene2D and Uscene3D define the basic components required for displaying a 2D or 3D graphics window: Top - the display parent of all objects displayed in the scene Top2D (Uscene only) the display parent for the 2D objects in the scene Lights - the number of lights, light transformations and light attributes for each light. Camera - the default camera and camera attributes in the scene Camera2D (Uscene only) the 2D camera for the scene View - view attributes, pick information, display output, and display window user interfaceThe objects with the U prefix contain a built-in user interface defined by the AVS/Express UI kit. The objects with the M prefix do not have any user interface.

Scene // - collection of components for a window
Top // - object's display parent
Top2D // - (Uscene only) 2D objs display parent
Lights // - light information for window
Camera // - camera information for window
Camera2D // - (Uscene only) 2D camera for window
View // - View, colormap, picking, output and
// __window display for view

Input Ports

Top.child_objs

The list of input objects to be rendered in the scene.

Top2D.child_objs (Uscene only)

The list of 2Dobjects to be rendered in the scene

View.buffers

Input framebuffer and Z buffer information. For more information about framebuffer and Z-buffer I/O, see GDview_buffers .

Output Ports

View.Field_Output.buffers

Output framebuffer and Z buffer information. For more information about framebuffer and Z-buffer I/O, see GDview_buffers .

View.View

The view and all view attributes. This contains the UIrender_view object for the view and UI interactors for retrieving mouse events.

View.picked_obj

The view's picked object.

Example

see the implementation of Uviewer

File

v/gdm.v

See also related modules

Uviewer (Uviewer, Uviewer2D, Uviewer3D )
Uview (Uview, Mview )

TOC PREV NEXT INDEX