Hello,

Sorry guys, i have a problem agian.  What i'm trying to do is render into a
3D texture and i have a problem here, as far as i know, what i'm doing now
is render into a 2D texture (using a FBO).  I saw some samples in opengl
where they actually loop through all the slices in Z direction and produce a
3D texture.  how should i do this in osg?.  Sorry if my questions are stupid


Thanks,
Best regards

On Fri, Oct 1, 2010 at 2:47 PM, Mahendra G.R <[email protected]>wrote:

> Hello Robert,
>
> Thanks, i figured it out.
>
>
> On Fri, Oct 1, 2010 at 2:42 PM, Robert Osfield 
> <[email protected]>wrote:
>
>> HI Mahendra
>>
>> On Fri, Oct 1, 2010 at 1:30 PM, Mahendra G.R <[email protected]>
>> wrote:
>> > Thanks or ur reply, how should i read back the data from the texture,
>> can i
>> > attach an image to the camera(or texture?) and read data from that
>> image?,
>> > is it possible and how.
>>
>> See osgprerender example, in particular the code path that is used when
>> you run:
>>
>>  osgprerender --image
>>
>> Robert.
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> http://www.mahendragr.com
>



-- 
http://www.mahendragr.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to