[vtkusers] VTK or OpenGL directly?
ALIZIER Julien AUSY
julien.alizier-ausy at irsn.fr
Tue Mar 22 06:06:57 EST 2005
Hi,
Maybe you can just use ParaView (www.paraview.org), it's fairly easy and
very powerful.
You'd just need to write out your FE data into a vtk text file (that's easy
too) and load it into the viewer.
I've already done this and it took me half a day ;-)
HTH
-- Julien
-----Message d'origine-----
De : Julian Holt [mailto:jholt at cadfem.com]
Envoyé : mardi 22 mars 2005 11:41
À : vtkusers at vtk.org
Objet : [vtkusers] VTK or OpenGL directly?
Guys
This might be a strange question but hey.....
I am writing a FE viewer and I am looking at VTK and various other "OGL
wrappers"
But......
I am wondering if infact VTK is NOT the way to go?
Basically all I need to do is render 3 and 4 sided polygons with scalar
values at vertex points and then provide 3D rotation + interrogation.
Now VTK does all this (and more) but as a newbie it seems to me that if I am
going to dive off and learn yet another API then why not just learn the
OpenGL API?
I.E code OGL directly and forget wrapper apps.
VTK obviously does a lot of other cool stuff (grid generation etc) but I
don't need to do that because my meshes are built in external FE codes. I am
only interested in display/viewing stuff.
Having taken an OGL book home last night to read whilst watching tv (sad I
know), the OGL API doesn't look too bad and OGL is probably a more portable
skill - there is even a version that runs on mobile phones!!!!
Thoughts?
Is OGL a nightmare to code when you get into it?
Thanks
Julian
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list