Jump to content

Displacement and point cloud


thinkinmonkey

Recommended Posts

Hello everyone,

I'm trying to solve this problem: I use a previously baked point cloud file to paint a grid in render time, but the grid is displaced by an antialiasing noise.

The issue is some points will be displaced by the noise, of course, so they will be far enough to be no more influenced by the point cloud.

What I want is to have all those points influenced by the point cloud, then they can be displaced, or in other way, is it possible to know the position of a point before is displaced, passing this point to the pointCloudOpen, then let Mantra to displace it?

Thanks in advance.

P.S. In the zip file you'll find the scene and the geo/point cloud file. The scene is quite simple, a grid with a modified clay shader and another grid with some scattered points cached as point cloud. Those points have an attribute, distance, that is a simple black/white color based on their distance to the centre <0,0,0>. I use this point cloud to (color)mix the clay shader with a simple red. Then I use an antialiasing noise to displace the grid, but the point cloud doesn't work as expected because the displacement.

pointCloudDisplacement.zip

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...