   RTCIntersectContext context;
   rtcInitIntersectContext(&context);
   rtcOccluded4(valid,scene,&context,&ray);
+  COMMENT FIXME: ray is occluded when ray.tfar < 0.0f
 }
 }@@
 

// rtcore_ray.h

@@{
RTCRay ID ray;
=>
varying RTCRay ray;
@@{
ray.orgx
=>
ray.org_x
}@@
@@{
ray.orgy
=>
ray.org_y
}@@
@@{
ray.orgz
=>
ray.org_z
}@@
@@{
ray.dirx
=>
ray.dir_x
}@@
@@{
ray.diry
=>
ray.dir_y
}@@
@@{
ray.dirz
=>
ray.dir_z
}@@
@@{
ray.Ngx
=>
ray.Ng_x
}@@
@@{
ray.Ngy
=>
ray.Ng_y
}@@
@@{
ray.Ngz
=>
ray.Ng_z
}@@
}@@


  RTCIntersectContext context;
  rtcInitIntersectContext(&context);
  rtcOccluded16(valid,scene,&context,&ray);
  COMMENT FIXME: ray is occluded when ray.tfar < 0.0f
}
}@@

