Hi,
you could use a pre-render RTT pass with an ortho camera that just views
a part of the larger texture and outputs a Texture2D.
jp
On 19/05/11 18:29, Marc Wahl wrote:
Yes, that was also my first approach, but I need a resulting Texture2D.
I'm working with an external painting lib, which requires a Texture2D as a
brush.
I'm painting tire tracks and the used painter draws on each animation cycle.
Therefore i use the tire rotation to calculate the current tire track
(normal&bump map).
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39565#39565
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org