[vtkusers] Cube with textures
    Koning, P.J.H. de (LKEB) 
    P.J.H.de_Koning at lumc.nl
       
    Wed Mar 13 08:14:38 EST 2002
    
    
  
Hello everybody,
I would like to make a cube, with on each side a different texture, like a dice. 
If I use the the vtkCubeSource to generate the cube, I can attach only 1 texture.
Do I have to make 6 planes and put them in an vtkAssembly or is there a better/smarter 
way to do this?
Is it possible to make a single texture and use some kind of texture coordinates to tell 
which piece of the image goes where?
Greetings,
	Patrick de Koning
    
    
More information about the vtkusers
mailing list