copy animated mesh

BlitzMax Forums/MiniB3D Module/copy animated mesh

slenkar(Posted 2008) [#1]
in the bird demo it crashes on the line where it tried to make a copy of the bird model.
If I try to make a copy of the zombie model it also crashes with the same error message.
is there a workaround?


Manromen(Posted 2008) [#2]
What system spec are you using and what versions of BlitzMax/MiniB3D ? I have no problems with the Bird demo btw.


slenkar(Posted 2008) [#3]
latest version of blitzmax and minib3d intel grafix card


simonh(Posted 2008) [#4]
In TMesh.bmx -> CopyEntity you need to add 'ARB' to the end of glGenBuffers.


slenkar(Posted 2008) [#5]
it worked! very nice

is that a bug fix or something to make it work on certain PC's?


Sledge(Posted 2008) [#6]
When I came across this (Intel GFX here too) I just assumed it was an error in the code and changed CopyEntity() to CopyMesh(). Does it actually matter in MiniB3D? Does it have a comparable surface system to B3D?


slenkar(Posted 2008) [#7]
from my experience with b3d,
copyentity transfers information like: entityradius,entityshininess etc.

but you probably already knew that :)


simonh(Posted 2008) [#8]
It doesn't matter too much with animated entities, as the vert data gets copied anyway. Generally best to use CopyEntity though.