http://www.osgbooks.com/books/osg_qs.html
Also search for the Performer Programmers guide from SGI http://www.sgi.com/products/software/performer/manuals.html They give a more in depth oversight albeit with Performer in mind but the principle map directly to OSG Gordon __________________________________________________________ Gordon Tomlinson Product Manager 3D Email : gtomlinson @ overwatch.textron.com __________________________________________________________ (C): (+1) 571-265-2612 (W): (+1) 703-437-7651 "Self defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival" - Master Tambo Tetsura -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank van Meurs Sent: Wednesday, October 22, 2008 11:19 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Having trouble grasping OSG concepts Jean-Sébastien Guay wrote: > Hello Frank, > >> However, I haven't the faintest idea of what I'm doing and why I'm >> doing the things I'm doing. I can copy code, change a few file/path >> strings, even add some drawables to a scene and view the new scene in >> the basic viewer (following the tutorials) and it all looks really >> pretty. But, I feel at a loss when I try to use the osgviewerWX >> example in my own project because it doesn't work as I expect it to >> and haven't got a clue why. It's probably because I forget something >> very basic, but I don't know that the basic thing needs to be done. > > Well, if you have all that information I can't see why you would be > struggling with basic concepts... I think that it's probably due to the fact that I'm fairly new at this whole game. I simply can't read code and understand why the code is there. Why, for instance, is there a GraphicsWindow and a GraphicsContext? What does the Viewer do and why do I need to call setGraphicsContext? Ok, from the code it's apparent that I should, but I haven't the faintest idea why. Reading the wiki or the doxygen documentation just doesn't provide me with that information. In short, again, I would like to know the theory, the design principles, etc. Is there such documentation available? > If you explain what your problems with osgviewerWX are, perhaps > someone who knows it well on this list can help you. You assume it's > something basic, but we can't know unless you give us more > information. What are the symptoms you're seeing? In the meanwhile I've been able to get things working. Not in the way I would like everything to work, but I at least have a working canvas for OSG to render on. What went wrong was that the code which was generated by wxGlade, which I used for building a simple GUI, simply didn't cooperate with the example code provided with OSG. It's quite a long story, but all in all and for the moment I'm a happy camper. I expect things to break apart again rapidly though, as soon as I try and implement something else. ;) Partly because I still only have but a slight understanding of what's happening under the hood. In any case, thanks for the pointers. Frank _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

