[vtkusers] How to display unlit objects using VTK?
Feng Ding
carlding at gmail.com
Sat Jan 13 11:55:35 EST 2007
Dear all,
My question is how to display unlit objects as shown in this image
(http://fly.cc.fer.hr/~unreal/theredbook/figures/Fig6-1.gif) from the
OpenGL redbook. In traditional OpenGL programming, we just set color
without giving any light in the scene. However, in VTK, if we swith
off the default light using render->AutomaticLightCreationOff(), we
will see nothing but black color in the rendered scene. How to solve
this problem? Thank you!
More information about the vtkusers
mailing list