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.
filename? get the name of the file to read.
/* * 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! ;