[osg-users] How to grab color from a point on a model?
Dan Flickinger
dmflickinger at gmail.com
Fri Nov 13 10:31:54 PST 2015
Hi Robert,
I'm getting back to this late for a followup, after I had to burn through a bunch of development and testing for a few weeks. Here is the resolution for the benefit of future visitors:
The models were in .ive format, but the textures were not stored after file load, even when using the TextureVisitor to make sure that UnRefImageDataAfterApply was set to false. So now pulling colors from the textures works after converting the models to .osg, with the textures stored in separate files.
It was kind of a pain to chase this down in gdb, because of the many inline functions. Even when playing with compiler flags and building straight from source. :|
Thank you for all the help!
Best,
Dan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65636#65636
More information about the osg-users
mailing list