Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / raytrace objectId and raySampler?
  RSS 2.0 ATOM  

raytrace objectId and raySampler?
Rate this thread
 
8307
 
Permlink of this thread   Subscribe to this thread
avatar
  • Total Posts: 30
  • Joined: 03 December 2007 09:18 PM

I would like to use this function

MStatus MRenderUtil:: raytraceFirstGeometryIntersections ( const MFloatVectorArray & rayOrigins, const MFloatVectorArray & rayDirections, const long objectId, const long raySampler, MFloatVectorArray & resultIntersections, MIntArray & resultIntersected )

from my MPxCommand that I have written.

Where do I get values for objectId and raySampler? The documentation says to make an input to my node with those names, but I am not in a node!!

Thanks,

Dave



Replies: 0
avatar

can i not do this at all??
bump



Replies: 0




   
  Settings Choose Theme color: