I want to import an FBX model into osg, and I want osg to create an empty image
if the referenced image file is not found or not supported by any plugin.
I wrote some code like this:
Code:
auto node = osgDB::readNodeFile("model.fbx", new
osgDB::Options("ForceReadingImage=true"));
but this doesn't seem like to work, only valid images are loaded, no empty
image created for thos not loaded.
so, what is the correct way to use ForceReadingImage in this case ?
is ForceReadingImage supported in any plugin other than osg2 ??
is this option a global thing or only osg2 ?
the document says "This is useful when converting from other formats. Image
information won't be erased even without the external reference. "
How can I realize this ?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51042#51042
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org