Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Bug Reporting => Topic started by: j.nosh on 2024-11-14, 17:08:57

Title: scatter/areas/includes/density is not working
Post by: j.nosh on 2024-11-14, 17:08:57
hey,

i'm having troubles with the scatter tool.
whereas the scale slider works as expected the density parameter does not change anything.

as i understand it is supposed to reduce the number of scattered instances between the near and far distance. (just like the scale parameter does this with the scaling)

this feature would be really helpful since i want to reduce number of scattered leaves according to the distance form the spline.

thanks ;)
jay
Title: Re: scatter/areas/includes/density is not working
Post by: maru on 2025-01-31, 10:59:00
This seems to be working fine in V12 Update 1 Hotfix 1. When adjusting density, make sure that your size is set to non-zero.
Title: Re: scatter/areas/includes/density is not working
Post by: j.nosh on 2025-01-31, 11:34:33
Hey Maru,

thanks for your reply.

Unfortunately I was not able to verify this.

In the falloff area 0-1m only the scale value is taking effect. density does not seem to do anything here.

Just to be clear. I need the number of Instances per square unit (density) to decrease along the falloff.

Check the screenshots and my file if you like.

Do you have a simple scene to send over in which this works?

thx jay




Title: Re: scatter/areas/includes/density is not working
Post by: maru on 2025-02-04, 16:28:30
In your screenshots you are changing scale, not density. It seems to be working fine in your scene (see video).
Title: Re: scatter/areas/includes/density is not working
Post by: j.nosh on 2025-02-05, 09:42:39
Hey Maru.

Thanks for posting the video.
Sorry, haven't posted the screenshot where changed density.

But in your video it's still not working as expected.
The leaves/scattered obj always get scaled. Thats not what i need. It should only reduce the number of obj but not scale them.

Jay
Title: Re: scatter/areas/includes/density is not working
Post by: maru on 2025-02-05, 10:20:32
That's odd. I will check with the devs if it's expected. Perhaps you could use Corona Distance shader as Surface Scattering > Distribution? It seems that you would need to use capped geometry rather than splines though.
Title: Re: scatter/areas/includes/density is not working
Post by: romullus on 2025-02-05, 10:21:48
The leaves/scattered obj always get scaled. Thats not what i need. It should only reduce the number of obj but not scale them.

I raised that same issue the moment the spline include/exclude were introduced. The team acknowledge it and said they would like to address it some time in the future... i'm still waiting that moment.
Title: Re: scatter/areas/includes/density is not working
Post by: maru on 2025-02-05, 14:48:05
This is now re-reported as (Report ID=SCATTER-198).
Title: Re: scatter/areas/includes/density is not working
Post by: j.nosh on 2025-02-05, 14:53:55
That's odd. I will check with the devs if it's expected. Perhaps you could use Corona Distance shader as Surface Scattering > Distribution? It seems that you would need to use capped geometry rather than splines though.

Jep, thats it. Ok thanks for the hint. I will try with the distance shader.
Would be really cool if it worked just inside the scatter thou ;)

Thx
Jay