Jean-Sébastien Guay wrote:
Hello Frank,

OK, so now it does compile. Great! :) However, my question still stands, if anybody could point me to some documentation on OSG which describes how OpenSceneGraph works, why it works that way and consequently what one needs to do in writing programs. Some documentation which would make me /understand/ what I'm doing.

Generally, I would think the first place to start would be

http://www.openscenegraph.org/projects/osg/wiki/Support

(accessed through the "Documentation" link in the table on the right of the main OSG wiki web site). Some of that information is outdated so you have to be careful, but check the section "User, Programming and Reference Guides". The OSG Quick Start Guide in particular is a *free* downloadable book which I suspect will give you the basic information you need, and from there you will be well equipped to go into the more detailed documentation.

You can gain a good understanding of the class structure of OSG and how things fit together by browsing the doxygen-generated documentation at

http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs

For example, you can see the class hierarchy of osg::Node by going to

http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01497.html

and then clicking in the diagram to go to other classes.

Other than what's on the wiki, the main source of information is the examples that come with the source. The best way to learn how to use a given feature of OSG is to search the examples for uses of it, and then experimenting with that example.

Finally, of course there's this mailing list. People are generally forthcoming and will answer questions as long as you've done some research on your side to try and figure it out yourself.

Hope this helps,

Hello Jean-Sébastien,

Thanks for the tips. As you mention yourself in the last paragraph, I've done at least some homework, so I've indeed come across all the places you mention. The code can indeed serve as a further basis for understanding, through experimentation with it. Hence me fiddling around with the osgviewerWX example and also the ones listed on the wiki.

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.

But, regardless of that, thanks for your help though. I do appreciate it. :)

Frank
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to