View Full Version : OpenGL vs VTK
08-06-2001, 05:24 PM
I have to program a 3D interactive visualization/telemanipulation tool for a robotic system and I'm wondering if I should use OpenGL or VTK.
I guess using VTK is easier, faster and more object-oriented. On the other hand OpenGL is very flexible. Are there major drawbacks in using VTK?
08-07-2001, 08:34 PM
Have you looked into Open Inventor and Performer? They may provide alternatives. VTK seems to be a nice wrapper, but I never used it, mainly because I couldn't get it to compile properly on my computer. AFAIK, Inventor and Performer (and maybe VTK) let you combine OpenGL with their API's so you get the best of both worlds.
Hope that helps.
08-07-2001, 09:02 PM
Well, my question should have rather been:
If you are comfortable in programming OGL, are there any good reasons in using VTK, OInventor, etc. ?
My application will not need to support object editing. Just visualization and changing objects' position/orientation/color/etc.
The visualization should be very flexible in camera manipulation (like rotating around the pixel the cursor is pointing at, shifting the camera at different speeds depending on the distance of the pixel the cursor points at, ect.)
08-09-2001, 04:56 AM
If you are comfortable with OpenGL, I wouldn't touch the VTK with a 10 foot pole unless you absolutely have to. I had to use the VTK for some school assignments and hated it. Some things in it are intuitive, but many are not. And the documentation is not very good, and in some cases I found the documentation was flat out wrong.
I should probably add, though, that my teacher basically just gave us assignments were we just had to cut and paste code from various examples that come with it, and cut-and-paste coding is really not my style. I like to understand the code I use, so most of the time I would re-write it all from scratch.
[This message has been edited by Deiussum (edited 08-09-2001).]
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.