Jump to content

Ambient Occlusion SOP and/or ray casting in VEX


GeordieM

Recommended Posts

Hi all, I'm writing tools to extract data from a mesh and I need to calculate AO per point.  I know how to calc the AO but I can't see any built in VEX functions that allow ray casting in the SOP context.  FastShadow() would be perfect but won't work in SOP VEX.  I've written my own ray/triangle hit test in vex which works but probably not the fastest way to do.

 

Also are there any built in SOPs that can create per point AO that I might have missed?

 

TNKS!

 

G

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...