El Martes 12 Junio 2007, 孙� escribió:
>  Hi,
>    I want to show a picture with .jpg or .tif rather than .osg, I tried
> osg::readImageFile like the example catch, but it doesn't work, Is there
> any thing have to notice?

A good way of doing that is to attach the image to some geometry (like a 
rectangle) as a texture. You could also write the pixels to the screen, but 
this is much slower.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to