Horde3D

Next-Generation Graphics Engine
It is currently 21.11.2024, 19:43

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 19.09.2010, 17:14 
Offline

Joined: 11.09.2010, 20:21
Posts: 44
Location: Germany
I just read through the terrain extension source and found
Code:
Modules::stats().incStat(EngineStats::TriCount, (terrain->_blockSize-1)*(terrain->_blockSize-1)*2.0f);

although it should be
Code:
Modules::stats().incStat(EngineStats::TriCount, (terrain->_blockSize+1)*(terrain->_blockSize+1)*2.0f );

as the skirt triangles are normal rendered triangles, even if they have only auxiliary character.


Top
 Profile  
Reply with quote  
PostPosted: 20.09.2010, 20:06 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks for the notice.
The good thing is that as all drawcalls are abstracted by the RDI now, we will be able to use that for collecting the stats in a reliable way in the future.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 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