Horde3D

Next-Generation Graphics Engine
It is currently 09.11.2024, 00:58

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 32bit index buffer usage
PostPosted: 16.10.2013, 10:17 
Offline

Joined: 26.08.2008, 18:48
Posts: 120
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;


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group