Itoo Software Forum

Author Topic: Problem with scattering grouped objects  (Read 4415 times)

poligar

  • Newbie
  • *
  • Posts: 5
Problem with scattering grouped objects
« on: April 21, 2019, 07:56:12 PM »
Hi!

 I have a tree that needs to be separated by branches and leaves  , 2 meshes.
so Im scattering grouped tree , pivot at same place for both pieces (I saw docs about group scattering) all is ok , but problem start after I check collisions to avoid intersections

If I got it right it sees two objects in group so it treats that as collision and branches
disappear , or maybe that is a bug?

in short grouped tree don't work with collisions , any ideas?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Problem with scattering grouped objects
« Reply #1 on: April 22, 2019, 08:35:23 AM »
Hi,

Objects which are handled as an unique entity (as a tree), must be attached in a single mesh.

Groups are supported, but only to scatter groups of objects, preserving their composition, for example clumps of plants like flowers or grass.
Once scattered, elements of a group are handled as individual items (for the boundary checking, collisions and all other features).

Carlos Quintero
iToo Software

poligar

  • Newbie
  • *
  • Posts: 5
Re: Problem with scattering grouped objects
« Reply #2 on: April 22, 2019, 10:56:46 AM »
Hi,

Objects which are handled as an unique entity (as a tree), must be attached in a single mesh.

Groups are supported, but only to scatter groups of objects, preserving their composition, for example clumps of plants like flowers or grass.
Once scattered, elements of a group are handled as individual items (for the boundary checking, collisions and all other features).

so no chance to do what I need right ? I just thought to use cryptomatte and separate branch from leaves. you need to do something with cryptomatte support of tree
from your side

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Problem with scattering grouped objects
« Reply #3 on: April 22, 2019, 11:35:35 AM »
No, sorry. It cannot be changed.

If you want to use Object ID to separate branch from leaves, i would suggest to use Material ID instead.
Carlos Quintero
iToo Software

poligar

  • Newbie
  • *
  • Posts: 5
Re: Problem with scattering grouped objects
« Reply #4 on: April 22, 2019, 05:29:50 PM »
No, sorry. It cannot be changed.

If you want to use Object ID to separate branch from leaves, i would suggest to use Material ID instead.

well too bad , but ok I will do something to avoid that issues
thank you for your support !

one more thing I would like to ask is that:

how to offset tree from spline border but by its bottom (branch)
as I understand it , it sees only bounding box no matter how slim it is at bottom
I just want bottom of the tree to be 100cm offseted from border line
now I have some trees very close to border
any chance to do that ?

PS

I tried fallow curves by density and scale (I tried density curve) no luck

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Problem with scattering grouped objects
« Reply #5 on: April 23, 2019, 08:51:28 AM »
Quote
how to offset tree from spline border but by its bottom (branch)

You need to modify two parameters: set Areas->Boundary Checking to Size, and adjust Geometry->Collision Radius (which is used both for Distribution->Collisions, and for the Boundary Checking).

Carlos Quintero
iToo Software