[vtkusers] opengl command equivalence

francesco caruso guernika_devel at yahoo.it
Tue Jul 27 07:34:13 EDT 2004


Hi

i'm trying to "translate" some opengl commands into a vtk window


opengl					

glMatrixMode(GL_MODELVIEW);		
glLoadMatrixd( gl_para );		
glutSolidCube(50);			

-----------------------------

vtk

t->SetMatrix( gl_para );
cubeActor->SetUserTransform( t );
cubeActor->Render( renderer, mapper );
//I have tried also window->Render();


it doesn't work...

why?







More information about the vtkusers mailing list