Ambient occlusion on my Groom?

   334   1   1
User Avatar
Member
2 posts
Joined: 4月 2024
Offline
Hi all,

Is there a quick and easy way to get an ambient occlusion pass for a groom? I see there’s the Labs "physical_ambient_occlusion" node, but it just turns my groom black, while my mesh (at the same scale) gets a nice occlusion pass. I suspect occlusion on groom curves isn’t supported yet, or maybe I need to set one of the parameters differently? Do you know if there’s a workaround?

Ultimately, I’d like to add the occlusion pass into a vector attribute (for RGB packing).

Thanks!

EDIT: I was able to get some AO on my groom by setting "Ray Offset" to .1 with the Labs physical_ambient_occlusion node. Must be something with how the occlusion is calculated on high detailed objects? Per SideFx doc.
Edited by RogerRidley - 2024年11月14日 14:25:22

Attachments:
RayOffset.png (6.5 KB)

User Avatar
Member
1075 posts
Joined: 4月 2017
Offline
I'm guessing the labs ambient occlusion requires some raytrace operations to detect polygon hits. Curves are infinitely thin so, raytrace operations wont work properly.

I don't know any alternative for curves, sorry.

-Olivier
  • Quick Links