<<<<<<<<<<<<<<<<<

cyber_modeller(modeller) LYMB cyber_modeller(modeller)

NAME

cyber_modeller - read Cyberware scanner geometry files

DESCRIPTION

The cyber_modeller reads a Cyberware scanner geometry file. Cyber_modeller also interfaces with actor and its subclasses to create graphics representations. Cyber_modeller may also be used in the visualization pipeline since it is display_data compatiable.

The Cyberware geometry file consists of points and quadrilaterals that cyber_modeller converts to display_data points and triangles. Cyber_modeller removes all triangles connected to the "VOID" location (e.g., bad measurement). Usually associated with the Cyberware data is a texture map stored as a SGI image file. This can be read using the sgi_texture object.

NOTE: The Cyberware geometry file is binary and may not be compatiable across all machine architectures. Also, cyber_modeller and sgi_texture may not be available on all architectures.

SUPERCLASS

new_modeller

INSTANCE VARIABLES

filename name of the Cyberware geometry file.

MESSAGES

filename=file set the name of the file to read.

filename? get the name of the file to read.

EXAMPLES

The following LYMB script reads and displays a Cyberware geometry and texture file.

/* * Create a cyberware modeller to read data */ cyber_modeller new: fran_face filename= `fran_cut' ; sgi_texture new: fran_image file= `fran_cut.color' ;

actor new: fran modeller= fran_face texture= fran_image ; renderer new: aren actors= [actor instances?] render! ;

SEE ALSO

sgi_texture, new_modeller, display_data, sphere_modeller


Please send comments and suggestions to
consult@rpi.edu