Quantcast
Channel: Embree: Photo-Realistic Ray Tracing Kernels
Viewing all articles
Browse latest Browse all 21

rtcIntersectNM & RTCRayHitN

$
0
0

Hi community,

i'm trying to intersect geometry with the rtcIntersectNM method. 

signature: void rtcIntersectNM( RTCScene scene, struct RTCIntersectContext* context, struct RTCRayHitN* rayhit, unsigned int N, unsigned int M, size_t byteStride );

I don't unterstand how to create the RTCRayHitN*.

I've an array of RTCRayHit, a normal cast to (RTCRayHitN*) don't work.

Can anybody help me?


Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>