[osg-users] Drawing to Texture2D

James Dickson james.dickson at gmail.com
Fri Jul 11 08:42:39 PDT 2008


Many thanks, that seems to be exactly what I am looking for.

2008/7/11 Robert Osfield <robert.osfield at gmail.com>:

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



-- 
James Dickson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080711/36d5155e/attachment-0003.htm>


More information about the osg-users mailing list