<div dir="ltr">On 26 August 2015 at 14:56, Julie Green <span dir="ltr"><<a href="mailto:laroux92@mail.ru" target="_blank">laroux92@mail.ru</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, I forgot to set new vertex array.</blockquote><div><br></div><div>I would recommend reusing vertex arrays rather than creating new ones each frame.  <br><br>You will also need to call geometry->dirtyBound() to make sure the bounding volumes get updated to each frame so that as the geometry changes the view frustum culling still can function correctly for the new geometry positions.  Finally it'll be best to disable display lists for the geometry so that original geometry isn't compiled into a list and used thereafter, simply do geometry->setUseDisplayList(false) during the set up of the geometry.<br><br></div><div>Robert.<br></div><div><br> </div></div></div></div>