Hi,

Try: osgviewer --image reflect.rgb

For a quick way to put an image on a quad.  Have a look at the code to
see how the quad is defined relative to the image dimensions.

Cheers
-- mew



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of wanyama harold
> Sent: Sunday, February 17, 2008 8:13 AM
> To: osg users
> Subject: [osg-users] Loading an image file
> 
> Hi guys,
> how do i get to load an image file.iam able to load
> .osg file formats and i have set the directory path
> that contains the image in the OSG_PATH.
> the only issue is afte i read the image ie
> osg::Image* image=osgDB::readImageFile("output1.png");
> how can i now view it as it cant be viewed by the
> osgViewer class.
> thx guys
> 
> 
>       ___________________________________________________________
> Support the World Aids Awareness campaign this month with Yahoo! For
> Good http://uk.promotions.yahoo.com/forgood/
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to