[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source ray.c

Ton Roosendaal ton at blender.org
Thu Dec 11 17:28:05 CET 2003


ton (Ton Roosendaal) 2003/12/11 17:28:05 CET

  Modified files:
    blender/source/blender/render/intern/source ray.c 
  
  Log:
  - fix for error in octree traverse code, as appeared in sample provided
    by Ztonzy. Error happened when:
    - ray intersects in first node of traversal
    - next ray should intersect in same first node as well
    - no other nodes were accessed inbetween
    It's a bit hard to explain! But the reason is in the optimize code
    in top of ocread() function, where binary XOR magic speeds up. Here
    some static variables needed a reset.
  
  Revision  Changes    Path
  1.3       +16 -11    blender/source/blender/render/intern/source/ray.c



More information about the Bf-blender-cvs mailing list