Jump to content
Sign in to follow this  
kiryha

Scatter the same density on different sized meshes

Recommended Posts

How to set up the Scatter node so that it has the same density on different meshes? Currently, the density changes quite noticeable when switching "FULL_PROXY" node input:

scatterDensity.thumb.gif.d4466c8bb73c6caa920429af984ede90.gif

scatterDensity_001.hipnc

Share this post


Link to post
Share on other sites

use the density attrb instead in the scatter and put Cd or density

Edited by Sepu

Share this post


Link to post
Share on other sites

But then I will break the solution for the initial problem: keep the same density on different size meshes!

I tried to multiply the Density Scale parameter of the Scatter node by @density attribute, but it did not work...

Share this post


Link to post
Share on other sites

the add and if statement ... 

if(@density == 0) removepoint(0, @ptnum);

or you could save img and use in the density texture.

Edited by Sepu
  • Like 1

Share this post


Link to post
Share on other sites

Saving and loading texture would not give interactivity... And removing points does not process mid tones... Sorry for such picky requirements :)
I feel there should be a simple and elegant solution!

Share this post


Link to post
Share on other sites

It works... but not as good as with Texture placement. So the question is still opened...

scatterDensity_003.hipnc

Edited by kiryha

Share this post


Link to post
Share on other sites

I remember I start from using area but it gives even worth result if the mesh is not so uniform.

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
Sign in to follow this  

×