[vtkusers] Re: VTK or OpenGL directly? (Julian Holt)

Julian Holt jholt at cadfem.com
Tue Mar 22 12:52:31 EST 2005


Many thanks for your help.

I have been "playing" with OpenGL directly and have been able to pull
together code to render my FE models + dynamically rotate them. A bit crude
at the moment but performance is great.

Sooooo, it looks like I may go down the direct OGL route.

Many thanks for all the help

Julian

-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org]On
Behalf Of Prashanth Dumpuri
Sent: 22 March 2005 17:30
To: vtkusers at vtk.org
Subject: [vtkusers] Re: VTK or OpenGL directly? (Julian Holt)


Julian,
This might not answer your question of VTK or OpenGL..but you might not
have to write codes. Have you looked into Mayavi ?
(http://mayavi.sourceforge.net/). It's built using VTK and has a GUI
interface.
good luck,
prashanth

> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Mar 2005 10:41:08 -0000
> From: "Julian Holt" <jholt at cadfem.com>
> Subject: [vtkusers] VTK or OpenGL directly?
> To: <vtkusers at vtk.org>
> Message-ID: <FHEJKOOFDJOEHMCAMBGDMEIGEGAA.jholt at cadfem.com>
> Content-Type: text/plain;	charset="iso-8859-1"
>
> 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