All public instance variables are inherited from its superclasses. In particular the scalar_visibility instance variable is used to control whether the scalar data colors the output primitives (if scalar data is present in the input display_data), and the range instance variable controls the mapping of the scalar data through the lookup table.
Masks may also be used to specify which triangle strips are visible. The mask is a list of zero/non-zero values corresponding to the triangle strips in display_data. A non-zero mask value indicates that a triangle strip should be drawn, a value of zero indicates that the triangle strip should not be drawn. By default, all triangle strips are drawn.
/* * Create a display data object */ display_data new: dd points=( 0,0,0, 0,1,0, 1,0,0, 1,1,0, 2,0,0, 2,1,0 ) scalars=(
10.2, 12, 31.3, 24.5, 19.0, 17.0 ) triangle_strips=( 6,1,2,3,4,5,6 ) ;
display_triangle_strips new: dts data_in=dd range=([dd range?]) ;
actor new: anactor modeller=dts ;
environment new: _env variable="LYMB_RENDERER" ; renderer new: [_env value?] actors=[actor instances?] render! ;