Jump to content
j00ey

Point Cloud lookups with displaced geometry

Recommended Posts

Has something changed with the new H16 mat way of doing displacement that would cause problems with point cloud lookups?

I have a shader [a modified classic shader] in which I'm looking up a point cloud to get some wetness and colour attributes and it works fine without displacement. As soon as I switch that part on though, all the wetness etc vanishes. I'm sure when I've done this before it just worked but I'm clearly missing something.

I'm transforming global P from current to object space to do the pc lookup, I don't recall having to do any compensation there for the fact that the geo is displaced.

Does anyone have any pointers..?

Share this post


Link to post
Share on other sites

I figured this out, i guess I must have figured it out last time and just forgotten...

I made a scene file in case it's useful to anyone. The pc file needs to go in a 'cache' subdirectory of wherever you download the scene to, ie $HIP/cache/butterfly_pts.pc

butterfly_pts.pc

displacement_pcLookup.hip

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×