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

off_modeller(model) Modellers off_modeller(model)

NAME

off_modeller - a modeller for OFF files

DESCRIPTION

The off_modeller class provides an interface between OFF files and the LYMB rendering classes.

SUPERCLASS

new_modeller

INSTANCE VARIABLES

filename is the name of the file containing the OFF model. If the environment variable OFF_PATH is defined, it is used to search for the file. Example OFF files can be found in ${LYMB_ROOT}/models/off.

EXAMPLE

/* Illustrate the off_modeller class */ /* In: scripts/model/off.scr */ /* Set OFF_PATH environment variable to ${LYMB_ROOT}/models/off */

off_modeller new: `amodel' filename=`seashell.aoff' ; camera new: `c1' range=[amodel bounds?] position=(1,0,0) focal_point=(0,0,0) view_up=(0,0,1) azimuth:30 elevation: -30 default! on! ; actor new: `dino' modeller=amodel ; renderer new: `aren' actors=[actor instances?] cameras=c1 render! ;

SEE ALSO

obj_modeller, actor, modeller, byu


Please send comments and suggestions to
consult@rpi.edu