Hi Bryan,

And osg::Image and osg::Node aren't equivilant, you can't load an image and
then save as node, what you have to do create a scene graph that contains a
Texture which has an image attached, then you can save the scene graph
containing this image.

Robert.

On Tue, Apr 8, 2008 at 10:32 PM, Bryan Berg <[EMAIL PROTECTED]> wrote:

>  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
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to