A model is the way to go since the vertex data is static.  Ideally for situations like this there would be one object that loads a single model and several clients that just call the display list.  Although there is a lot of memory on GPUs now so 200 models of a sphere won&#39;t take up that much.<br>
<br><div class="gmail_quote">On Wed, Mar 9, 2011 at 10:32 AM, John Harrison <span dir="ltr">&lt;<a href="mailto:johnharrisonwsu@gmail.com">johnharrisonwsu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>
<br></div><div>
On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt; wrote:<br>
<br>
    hello,<br>
<br>
    - try using a display list to render a sphere, so that every point don&#39;t have to be send for every sphere.<br>
    see exemple 09.openGL/02.displaylist<br>
    you can also use a model with a sphere.obj to have the same result.<br>
<br>
if the spheres are all moving at once, would a display list still help? Seems like recompilation would have to happen for every sphere for every frame? I haven&#39;t tried the model yet...<br>
<br>
</div></blockquote>
yes, the display list will help to render 1 single sphere.<br>
you have to call it 200 times.<br>
<br><br></blockquote></div><div>Ok I&#39;m seeing a huge performance difference between using 200 of [sphere &lt;size-doesn&#39;t-matter&gt; 20] and [sphere &lt;size-doesn&#39;t-matter&gt; 30]. Huge. So if I want to keep the sphere with 30 points, I&#39;m thinking gemlist or model are my answer. I&#39;ll try both and report back, unless you have a strong recommendation for one or the other to save me time.<br>


<br>This list is awesome. Where else could I find help like this? :-)<br><br>-John<br></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>