[vtkusers] Using OpenGL with VTK (2)
Leandro Iglezias
leeiglezias at viars.com.br
Thu Apr 15 08:46:08 EDT 2004
Hi,
I read the mesage about this subject, but I didn´t use Opengl commands with VTK. For example, I would like to draw lines using commands OpenGL.
Ex:
renWin->Render();
glBegin (GL_LINES);
glVertex2f (-2.5, 2.5);
glVertex2f (2.5, -2.5);
glEnd ();
iren->Start();
But doesn´t appears.
How do I make this work?
Leandro Iglezias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040415/2175a242/attachment.htm>
-------------- next part --------------
Mensagens enviadas estão livres de vírus.
Verificado por AVG Anti-Vírus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.8.1 - Release Date: 13/4/2004
More information about the vtkusers
mailing list