Horde3D
http://horde3d.org/forums/

TerrainNode::drawTerrainBlock incorrect status update
http://horde3d.org/forums/viewtopic.php?f=3&t=1256
Page 1 of 1

Author:  Rauy [ 19.09.2010, 17:14 ]
Post subject:  TerrainNode::drawTerrainBlock incorrect status update

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.

Author:  marciano [ 20.09.2010, 20:06 ]
Post subject:  Re: TerrainNode::drawTerrainBlock incorrect status update

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.

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