Author Topic: scatter/areas/includes/density is not working  (Read 1319 times)

2024-11-14, 17:08:57

j.nosh

  • Active Users
  • **
  • Posts: 32
    • View Profile
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

2025-01-31, 10:59:00
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13275
  • Marcin
    • View Profile
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.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-01-31, 11:34:33
Reply #2

j.nosh

  • Active Users
  • **
  • Posts: 32
    • View Profile
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





2025-02-04, 16:28:30
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13275
  • Marcin
    • View Profile
In your screenshots you are changing scale, not density. It seems to be working fine in your scene (see video).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-02-05, 09:42:39
Reply #4

j.nosh

  • Active Users
  • **
  • Posts: 32
    • View Profile
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

2025-02-05, 10:20:32
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13275
  • Marcin
    • View Profile
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.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-02-05, 10:21:48
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9106
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-02-05, 14:48:05
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13275
  • Marcin
    • View Profile
This is now re-reported as (Report ID=SCATTER-198).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-02-05, 14:53:55
Reply #8

j.nosh

  • Active Users
  • **
  • Posts: 32
    • View Profile
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