copy animated mesh

BlitzMax Modules Forums/MiniB3D/copy animated mesh

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?

What system spec are you using and what versions of BlitzMax/MiniB3D ? I have no problems with the Bird demo btw.

latest version of blitzmax and minib3d intel grafix card

In TMesh.bmx -> CopyEntity you need to add 'ARB' to the end of glGenBuffers.

it worked! very nice

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

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?

from my experience with b3d,
copyentity transfers information like: entityradius,entityshininess etc.

but you probably already knew that :)

It doesn't matter too much with animated entities, as the vert data gets copied anyway. Generally best to use CopyEntity though.