[vtkusers] openGL

Karl Garsha garsha at itg.uiuc.edu
Fri Sep 12 16:11:43 EDT 2003


The Python wrappers use the same C++ library functions as you would use 
coding in C++.  Essentially, Python just provides a high level 
interpreted interface to the VTK libraries.  Thus, you can see the 
results of changes to your code just by running the source code (you 
don't need to compile and link) and Python is more intuitive and 
efficient to write for most people.  Python code can be relatively 
easily ported to C++ after an application is fleshed out, or you can 
even compile Python source to binary because Python is written in C.
    VTK uses OpenGL (or MesaGL), therefore, vtkPython will use OpenGL 
too.  Python also has a separate high-level interface to OpenGL itself 
called PyOpenGL.

bob green wrote:

> so far i've been learning VTK in the VC++ environment...
> but I hear that Python is much better..??
>
> so my question is - is it possible to use VTK together with OpenGL in 
> the Python environment..??
>
> tanx.
>
> _________________________________________________________________
> Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.  
> http://join.msn.com/?PAGE=features/es
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-- 
Karl Garsha
Light Microscopy Specialist
Imaging Technology Group
Beckman Institute for Advanced Science and Technology
University of Illinois at Urbana-Champaign
405 North Mathews Avenue
Urbana, IL 61801
Office: B650J
Phone: 217.244.6292
Fax: 217.244.6219
Mobile: 217.390.1874
www.itg.uiuc.edu





More information about the vtkusers mailing list