Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r571 - trunk/Model/Primitives


Chronological Thread 
  • From: aek@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r571 - trunk/Model/Primitives
  • Date: Mon, 26 Sep 2005 18:36:33 -0600 (MDT)

Author: aek
Date: Mon Sep 26 18:36:33 2005
New Revision: 571

Modified:
   trunk/Model/Primitives/ParticleBVH.cc
Log:
Fixed the bug that was causing the huge performance problem.  Full data
sets of a million particles now render at interactive rates on a
desktop. (512x512 res at 3+ FPS)



Modified: trunk/Model/Primitives/ParticleBVH.cc
==============================================================================
--- trunk/Model/Primitives/ParticleBVH.cc       (original)
+++ trunk/Model/Primitives/ParticleBVH.cc       Mon Sep 26 18:36:33 2005
@@ -44,7 +44,7 @@
     while ( particles[ first ].center[ axis ] <= position && first < last )
       ++first;
     --last;
-    while ( particles[ first ].center[ axis ] >= position && first < last )
+    while ( particles[ last ].center[ axis ] >= position && first < last )
       --last;
     if ( first < last )
       SWAP( particles[ first ], particles[ last ] );




  • [MANTA] r571 - trunk/Model/Primitives, aek, 09/26/2005

Archive powered by MHonArc 2.6.16.

Top of page