Allan Schaffer (aschaffe++at++shark.paris.sgi.com)
Mon, 13 Feb 1995 10:49:22 +0100
I believe that the things.sv model gets its colors from lighting; I
notice that the colors become all green (which happens to be the
color of the ground plane) if I turn lighting off from within
perfly. A quick check of the file itself confirms that a number of
materials are defined:
[...]
material 53 0 0 0.2 0 0 0.333333 0.0666667 0.4 1 7.29927 0 0 0
[...]
model torus1
material 53
backface on
tmeshn 40
76.6932 7.04803 -7.19339 0.644833 0.691513 0.325577
76.2781 7.33482 -7.22319 0.388037 0.868971 0.307109
[...]
> Can pfDCS nodes have color? How can I access it?
No, libpf objects (DCS's, Layers, Geodes, and so on) do not have
color or other "rendering state" attributes like texture, material,
etc. Rendering & state elements are encapsulated into the GeoSet
and GeoState.
Allan
-- Allan Schaffer Silicon Graphics aschaffe++at++sgi.com http://reality.sgi.com/employees/aschaffe
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:57 PDT