[vtkusers] question on vrml + texture

Gopalakrishnan, Gowri Gowri.Gopalakrishnan at inteq.com
Mon Oct 29 11:10:44 EST 2001


Hi I import a vrml file and get the individual nodes of the vrml file as
vtkObjects/vtkActors.
I tried to apply texture using vtk to these actors and the result was that
the texture was omitted , only the
colour got rendered. Does any one know if texture works ?
I know the vrmlimported does not support textures. But i thought importing
and extracting actors and then 
applying texture might work....

And second question : If you have a cube as a VRML file can i colour the
individual faces of the cube in different
colours?. Has any one tried it and got it rendered in vtk.

I tried it and as a vrml file it is alright.In the browser it looks good,
but in vtk the faces dont have the right colours.
Colours are mixed up. and one face ends up with more than one colour.

Would appreciate any help

regards
Gowri




More information about the vtkusers mailing list