rtcOccluded1M.3embree3 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .TH "rtcOccluded1M" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcOccluded1M\ \-\ finds\ any\ hits\ for\ a\ stream\ of\ M\ single\ rays
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. void\ rtcOccluded1M(
  15. \ \ RTCScene\ scene,
  16. \ \ struct\ RTCIntersectContext*\ context,
  17. \ \ struct\ RTCRay*\ ray,
  18. \ \ unsigned\ int\ M,
  19. \ \ size_t\ byteStride
  20. );
  21. \f[]
  22. .fi
  23. .SS DESCRIPTION
  24. .PP
  25. The \f[C]rtcOccluded1M\f[] function checks whether there are any hits
  26. for a stream of \f[C]M\f[] single rays (\f[C]ray\f[] argument) with the
  27. scene (\f[C]scene\f[] argument).
  28. The \f[C]ray\f[] argument points to an array of rays with specified byte
  29. stride (\f[C]byteStride\f[] argument) between the rays.
  30. See Section [rtcOccluded1] for a description of how to set up and trace
  31. occlusion rays.
  32. .IP
  33. .nf
  34. \f[C]
  35. \f[]
  36. .fi
  37. .IP
  38. .nf
  39. \f[C]
  40. \f[]
  41. .fi
  42. .PP
  43. A ray in a ray stream is considered inactive if its \f[C]tnear\f[] value
  44. is larger than its \f[C]tfar\f[] value.
  45. .PP
  46. The stream size \f[C]M\f[] can be an arbitrary positive integer
  47. including 0.
  48. Each ray must be aligned to 16 bytes.
  49. .SS EXIT STATUS
  50. .PP
  51. For performance reasons this function does not do any error checks, thus
  52. will not set any error flags on failure.
  53. .SS SEE ALSO
  54. .PP
  55. [rtcIntersect1M]