Horde3D
http://horde3d.org/forums/

32bit index buffer usage
http://horde3d.org/forums/viewtopic.php?f=3&t=1910
Page 1 of 1

Author:  attila [ 16.10.2013, 10:17 ]
Post subject:  32bit index buffer usage

When loading geometry: https://github.com/attilaz/Horde3D/blob ... y.cpp#L305

32bit indices used when index count is larger than 65535. I think it should depend on vertex count.
Also I think for count 65536 16 bit indices are still valid.

Code:
 _16BitIndices = _vertCount<= 65536;

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/