View Full Version : OpenGL classes & wrapper classes
05-20-2003, 07:47 AM
Does anyone have any links to any good tutorials on OOP coding with OpenGL?
Or any handy hints?
It'd be good to have an idea of the kinds of classes & hierarchies that other programmers have found useful, and a little insight into their design.
Any & all help very appreciated.
05-20-2003, 10:26 AM
OpenInventor is a scene graph API that was built on top of OpenGL, I believe. You might want to hunt that down and see if you can get source code.
I'm building my own class library, but I'm new to GL and have no idea if I'm doing things the most optimal way or not. When I finish my first project and feel comfortable with the code I may post it here.
I was wondering the same think. I just designed my own classes to deal with the rendering complex objects but I would like to see how others do it.
06-01-2003, 04:13 PM
check out dave eberly's library. you can find it here (http://www.magic-software.com/SourceCode.html) .
06-03-2003, 04:27 AM
Yep, that is one fully featured library. There is a similar one at twilight3d.com...I think it's called the "prophecy sdk".
Depends on what you want/need, I guess. I've got a lot of C++/OOP experience, but not much graphics/OpenGL. Therefore, I'll probably consult their code when I'm struggling with graphics concepts.
I'm personally going to continue building my own - I don't need most of what they have in theirs and I want to learn this stuff myself anyway. Their libraries are so fully-featured that I know I'd get overwhelmed in the details, much of which I don't need at this point in my graphics "career". Your mileage may vary.
[This message has been edited by starman (edited 06-03-2003).]
You could try the Mcad utility at http://mcad.delphigl.com. It has a class library for C++.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.