Identical Anims

Blitz3D Forums/Blitz3D Programming/Identical Anims

Jake(Posted 2004) [#1]
Hi - is there a way to optimise a scene containing a number of identical entities running the same animation, by getting Blitz to only process the mesh animation once and then render it in many different positions? I can't see that CopyEntity or CopyMesh would allow you to do this kind of thing?


jfk EO-11110(Posted 2004) [#2]
Updateworld() will process the animation and RenderWorld() will render it. IT might be a little faster when you use copyentity instead of loading the mesh multiple times. However, you can UpdateWorld() once and Renderworld as many times as you want (eg. for multiple viewports). Nevertheless Renderworld it the thing that takes most time.


Jake(Posted 2004) [#3]
I see - that makes sense, but I guess that would only work for the same entity in multiple viewports - unless there is a way of rendering the entity many times into the same (sorted) scene? Maybe I should just render the entity once to an off screen buffer and then put it into the scene many times as a sprite...

Cheers,