Hi Peter,

You could use osg::DrawPixels drawable, but... its slow compared to
using a textured quad as modern hardware is all geared up for making
textures polygons really fast, glDrawPixels being left long behind.
So... my recommendation is to stick with the osghud style approach
using a single fullscreen textured quad.

Robert.

On Jan 21, 2008 7:13 AM, Peter DeSantis <[EMAIL PROTECTED]> wrote:
>
>
> Hello
>
> i want to load a bitmap image and display it in osg.
>
> I was planing to emulate the osgHUD example and load a bitmap, map it to a
> quadstrip as a texture and add it as a child to the root node, using a
> ortho2d matrix for the camera. is this the only way to display a full screen
> bitmap in OSG ?
>
> And is there a way i could draw to the screen instead of loading a bitmap ?
>
>
> Thanks
>
> Peter DeSantis
> [EMAIL PROTECTED]
> Jumbo Vision International Pty Ltd
> Unit 2 ,1 Aitken Way
> Kewdale WA 6105
> Australia
>
> Tel: 61 8 9353 6200
> Fax: 61 8 9353 6211
> _______________________________________________
> 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