kdudka / rrv

Radiosity Renderer and Visualizer
GNU General Public License v3.0
13 stars 1 forks source link

build system RRV_DEBUG defaults to ON #3

Closed claudeha closed 9 years ago

claudeha commented 9 years ago

Causing extreme slowness. Not documented in the README.

Using:

cmake -DRRV_DEBUG=OFF .

sped up the room2.xml example from around 5.7 patches per second to around 32.3 patches per second on my system.

claudeha commented 9 years ago

also setting it to OFF needs size_t (for example from #include <cstddef>) in

   src/PatchCacheLine.h
   src/TriangleSet.h
   src/TriangleSetExt.h
kdudka commented 9 years ago

Good catch! Fixed via 1cecfd2c.