hi John, the trick with the single-object-multiple-rendering is that you have to stuff all its alternating states between the [t b erase] of the jit.gl.render.<br>you see, jit.render will not output a screen refrash if not given a bang, so any valid opengl object you stuff into it between the erase and bang will be stored and outputted in time.<br>
&nbsp;[t&nbsp;&nbsp;&nbsp; b&nbsp;&nbsp;&nbsp; b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; erase]<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; | &nbsp; &nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; |&nbsp; &nbsp;&nbsp; jit.gl.text&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |____________|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jit.gl.render<br>you have to have your gl object set to @automatic 0 so it will not auto add to render Que, only when it receives a bang. you can then give the same object many diffrent states and it will go to the same rendering context. that said, im not sure its more efficient or not. experiment.<br>
<br>this is the explanation floating in my head, it can be put better and there are some finer details to this then i gave. also drawing ascii-patches is a bitch!<br><br><div class="gmail_quote">On Feb 3, 2008 8:33 PM, Leafcutter John &lt;<a href="mailto:thetawnyowl@googlemail.com">thetawnyowl@googlemail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">And here is my patch.<br><div><div></div><div class="Wj3C7c">--<br><a href="http://www.leafcutterjohn.com" target="_blank">http://www.leafcutterjohn.com</a><br>
<br>&quot;The Forest And The Sea&quot;<br>Out on Staubgold Records<br>Staubgold 68 CD/LP<br></div></div><br>_______________________________________________<br>jitter mailing list<br><a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a><br>
<a href="http://www.cycling74.com/mailman/listinfo/jitter" target="_blank">http://www.cycling74.com/mailman/listinfo/jitter</a><br><br></blockquote></div><br>