[osg-users] load image file and store as a node
Bryan Berg
bberg at spawar.navy.mil
Tue Apr 8 14:32:13 PDT 2008
Hi,
So I was looking at:
http://www.openscenegraph.org/index.php?page=UserGuides.Plugins
Specifically:
a) osg::ref_ptr<Node> node = osgDB::readNodeFile("cow.osg");
and
b) osg::ref_ptr<Image> image = osgDB::readImageFile("lz.rgb");
I would like to load an image file (.bmp), which I believe I can do with a),
but than I need to save it as a node.
Is this possible?
Thanks!
-Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080408/5ab98901/attachment.html
More information about the osg-users
mailing list