[osg-users] EXTERNAL: Re: Read Image from RTT

Rowley, Marlin R marlin.r.rowley at lmco.com
Thu Sep 27 13:38:32 PDT 2018


Did you allocate storage for your osg::Image* before using it (i.e. osg::Image* img = new osg::Image)?  That doesn't make sense why it would only work on a osg::ref_ptr. 

----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
marlin.r.rowley at lmco.com

-----Original Message-----
From: osg-users <osg-users-bounces at lists.openscenegraph.org> On Behalf Of Rômulo Cerqueira
Sent: Thursday, September 27, 2018 3:34 PM
To: osg-users at lists.openscenegraph.org
Subject: EXTERNAL: Re: [osg-users] Read Image from RTT

Solved the problem!

Perhaps readImageFromCurentTexture() works only with osg::ref_ptr<osg::Image> instead of osg::Image*.
... 

Thank you!

Cheers,
Rômulo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74986#74986





_______________________________________________
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