[osg-users] Drawing to Texture2D

Robert Osfield robert.osfield at gmail.com
Fri Jul 11 08:16:06 PDT 2008


Hi James,

Perhaps a Render To Texture Camera is what you are look for.  Have a
look at the osgprerender example.

Robert.

On Fri, Jul 11, 2008 at 3:20 PM, James Dickson <james.dickson at gmail.com> wrote:
> Hi,
>
> I was wondering if it is possible to draw on a Texture2D instance. I know
> this isn't possible, but I am wondering if you can do the equivalent of:
> Texture2Dinstance->DrawCircle(x,y,r);
>
> Or would I have to find an API which can create images and saves to say
> JPEGs then load them as Texture2D instances?
>
> Thanks,
> James
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list