Hi everybody,
I've managed to compile OSG (a while ago already) and would now like to
use it in my own project. I'm using wxWidgets (2.8.9) for the GUI and
would like to have OSG render to a wxGLCanvas. There's links to some
examples of this approach on the wiki, which suggests that it's easily
doable. However, all examples seem to be broken as they were written for
older versions of OSG or rely on other packages.
The osgviewerWX example, for instance, breaks on the fact that it relies
on osgViewer::StatsHandler, which seems to have moved somewhere else,
whilst wxOSGCanvas, written by Gian Lorenzetto, doesn't use of the
(seemingly current) approach through osgViewer::Viewer. wxMultiView
breaks because it makes use of
osgViewer::CompositeViewer->setUpRenderingSupport() which, according to
the mailinglist archives, is no longer the way of doing things.
So, what I've been trying to figure out is what all these examples do,
why they do it and more importantly, why they break. To answer these
questions, I need a decent understanding of the way in which OSG works
and why it works this way. Put differently, a manual... Something which
describes the basic concepts of OpenSceneGraph, and thus why and how to
do things.
Eventually, I hope to be able to either rewrite one of the existing
examples so that it functions or be able to write my own implementation
of a wxOSGGLCanvas which I might use in my project.
So, could somebody please direct me to some place where I might find
actual, current documentation on OpenSceneGraph? (And which doesn't
consist of just example code lacking explanations as to /why/ things are
done.) Or, if something like this is not available, perhaps somebody has
tackled this problem already and could provide me with the resulting
class(es)?
Thanks a bundle in advance!
grtz, Frank
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org