VEX: raytrace-diced point position

   2802   0   1
User Avatar
Member
176 posts
Joined: May 2006
Offline
I'm using micropolygonal renderer with shading quality=2 and ray shading quality=0 (to avoid micropolygons in raytrace) I like the results exept i have to set very high bias values.
They can be avoided easily if I only knew the corresponding point position (P) on my geometry copy diced for raytrace.
I've tried sample_geometry and it does work if I have two copies of geometry at SOP level, sampling one another using parametric distribution. Is there any way to sample it themself? Or maybe some undocumented rayP global variable?
  • Quick Links