<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
As always I'd suggest shaders, as fixed function pipeline has been
deprecated 10 years ago ;-)<br>
You could use the osg_SimulationTime uniform to modify the
uv-coordinates based on the time passed.<br>
Else you will need to modify the texture matrix each frame (like in
the suggested callback)<br>
<br>
Cheers<br>
Sebastian<br>
<blockquote
cite="mid:CAAXZrv-apsv-4LBGGG4g-A2XGnXxNE+mc1w4ms95y_wMWiZDoA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi All,<br>
<br>
</div>
I have individual nodes that have textures on them that
animate; That's to say the texture moves not the actual mesh.
I've been trying to figure out how to accomplish this in OSG.
Is there a way to define a texture matrix that does movement?
The only other way I can think of is manipulating the UV
coordinates in an update callback.<br>
<br>
</div>
Thanks, Sam<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>