Ignore:
Timestamp:
01/09/08 14:29:56 (16 years ago)
Author:
bittner
Message:

Havran ray caster functional except enhanced features used by mutation and object based pvs

Location:
GTP/trunk/Lib/Vis/Preprocessing/src/havran
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktbftrav.cpp

    r2582 r2583  
    990990      results[i].tdist; 
    991991  } // for i 
     992  return 0; 
    992993} 
    993994#endif 
     
    13381339CKTBTraversal::FindNearestI(RayPacket2x2 &rp, Vector3 &boxmin, Vector3 &boxmax) 
    13391340{ 
     1341 
    13401342  static AxisAlignedBox3 localbox; 
    13411343  localbox.SetMin(boxmin); 
    13421344  localbox.SetMax(boxmax); 
    13431345 
     1346#define USE_SIMPLE_VERSION 1 
     1347 
     1348#if !USE_SIMPLE_VERSION 
    13441349  int m1 = _mm_movemask_ps(rp.dx4); 
    13451350  if ((m1 == 0)||(m1 == 15)) { 
     
    15141519    return; 
    15151520  }}} 
    1516  
     1521#endif 
    15171522  // Trace ray by ray 
    15181523  SimpleRay ray; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktbtrav.h

    r2582 r2583  
    311311  } 
    312312  // $$JB correction 
    313   virtual int FindNearestI_16oneDir(SimpleRayContainer &rays, int offset) { 
    314         return 0; 
    315   } 
     313  virtual int FindNearestI_16oneDir(SimpleRayContainer &rays, int offset); 
     314 
    316315  int PrecomputeData(SimpleRayContainer &rays); 
    317316  void ReverseRay(const int indexA); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/raypack.h

    r2582 r2583  
    2222#include "Vector3.h" 
    2323   
    24 // $$JB __SSE__ macro not define in _WIN32 
    25 //#ifdef __SSE__ 
    26 #if 1 
     24#ifdef __SSE__ 
    2725 
    2826// System headers for SSE 
Note: See TracChangeset for help on using the changeset viewer.