rayinfo() equivalent in VEX?

   2334   2   0
User Avatar
Member
74 posts
Joined: Dec. 2009
Offline
Trying to port 3delight's architectural shader to VEX to be used in Mantra.

Bump into rayinfo(). What is the equivalent of this function in VEX? rayimport()? If so, what are the labels?

Thanks,
Kelvin
https://www.linkedin.com/in/kelvincai/ [www.linkedin.com]
User Avatar
Member
320 posts
Joined: Aug. 2007
Offline
See getraylevel() and getrayweight().

Those should help.

-Alan
www.alan-warren.com
User Avatar
Member
74 posts
Joined: Dec. 2009
Offline
Really helpful. Thank you. Getting some glossy refraction and reflection going. However, really testing out the raytrace speed of mantra. The gather loop is just slow without optimization.
https://www.linkedin.com/in/kelvincai/ [www.linkedin.com]
  • Quick Links