Thanks for the advice!
I'm getting closer but not quite there yet.
I found that my drawable in this test case has exactly one parent, and his
parent has a state set. I am able to get the image attached to the texture on
this state set without running across any null pointers, and write the
Hello,
I have a large terrain map which I load from an *.osg file containing a list of
ProxyNode objects containing *.ive files, using osgDB::readNodeFile.
My end goal is to get RGB of points on the texture map found through a line
segment intersection.
I have read through the mousePosition
Joe Doob wrote on 2012-10-01:
This snippet produces a valid drawable, however the drawable returns a
NULL stateset and so I can't obtain the texture object.
How can I obtain the osg::Image to get RGB in this case? Or, is there
a
better method?
The texture for the Drawable must be set in a
3 matches
Mail list logo