Closed GoogleCodeExporter closed 9 years ago
What is your index type? 16 bit short or 32bit integer?
Both 16 bit short and 32bit unsigned int should be able to handle a mesh >
65536 vertices.
Either way, I've applied a patch, see
https://code.google.com/p/bullet/source/detail?r=2627
Original comment by erwin.coumans
on 7 Dec 2012 at 7:20
[deleted comment]
A short only has 32768 positive values whereas an unsigned short has 65536. So
above 32768 verts was causing problems with short indicies. At least thats what
I remember the problem being :).
Using 32 bits for indicies would future proof this more than simply adding the
unsigned's, as then there is a couple of billion potential indicies.
Thanks for fixing!
Original comment by 0xC0DEF...@gmail.com
on 11 Dec 2012 at 11:11
ok, that makes more then then the original "for a mesh with > 65536 indicies."
Original comment by erwin.coumans
on 12 Dec 2012 at 8:28
Original issue reported on code.google.com by
0xC0DEF...@gmail.com
on 25 Oct 2012 at 12:33