SiScatter

Plugins linking to this thread: (hide)

SiScatter 2.0Author: Julien Carmagnac
A scattering plugin from Julien Carmagnac, author of »Instance On Curve«. SiScatter offers a high level of control over the scatter placement:

This scatter tool distributes particles based on the »emTool _ Equal Distribution on Surface« Compound from Eric Mootz (thank you Eric !). I tweak this compound to work together with »Delete Particles Near to Boundaries Edges«, »remove closest geometry« and »remove inside filter« compounds.

This tool build an ICE Tree and create a custom property under the point cloud object to tweak all ICE parameters. So you can edit entirely your scattering without open your ICE Tree. List of avalaible modifiers: color by gradient color by shape id color by texture map filter by boundary edge filter by closest geo filter by fractal filter by random
[..]

Continue reading in the si-community thread. Video demo here.

local backup: siScatter.xsiaddon

User avatar
mc_axe
Posts: 397
Joined: 12 Mar 2013, 18:44

Re: SiScatter

Post by mc_axe » 11 Mar 2014, 17:17

Hey Julca that was very fast fix, it works fine on SI 2013!

Test :

Image



Image

eistan
Posts: 17
Joined: 08 Oct 2012, 06:19
Skype: kovblood

Re: SiScatter

Post by eistan » 14 Mar 2014, 07:03

hi, i have this one =( on Si 2013 64bit
' ERROR : 21000-EDIT-AddICECompoundNode - Traceback (most recent call last):
' File "<Script Block 2>", line 84, in siScatter_equalize_Execute
' siScatter.generic.createSiScatter(str("equalize"))
' File "C:\Users\Eistan\Autodesk\Softimage_2013\Addons\siScatter\Application\Plugins\..\..\Data\Scripts\siScatter\generic.py", line 40, in createSiScatter
' myIceNode = xsi.AddICECompoundNode(scatterCompoundName, str(myICERoot.FullName))
' File "<COMObject <unknown>>", line 2, in AddICECompoundNode
' COM Error: Unspecified failure - [line 83 in C:\Users\Eistan\Autodesk\Softimage_2013\Addons\siScatter\Application\Plugins\siScatter.py]
siScatter_equalize
UPD: sorry, its ok! just restart XSI after instal addon =)

User avatar
FXDude
Posts: 923
Joined: 19 Jun 2012, 21:59

Re: SiScatter

Post by FXDude » 14 Mar 2014, 08:18

@McAxe ; Lol! Also very cool :)

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 14 Mar 2014, 10:17

@McAxe,
Fun test \:D/ !

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 19 Mar 2014, 13:09

Hi julca,
Can you just explain the number and density ? It seems everytime I move one the other moves as well so I don't understand. I would like to use a very specific number, is that possible ?
Thanks please excuse my simple question. Awesome tool by the way !

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 19 Mar 2014, 13:44

Of course,
The number and density parameters does the same thing but in two differents ways :
  • - If you adjust the density (= number by xsi unit), then the number parameter are adjusted to reflect exactly the density according to your emitter area.
    A grid emitter (1*1) with a density of 1 = 1 particle
    A grid emitter (2*2) with a density of 1 = 4 particles
    A grid emitter (2*2) with a density of 2 = 8 particles
    etc.
    So if you change your emitter object, you keep your ratio of particles and so, the aspect of your scattering.
  • - If you want a specific number (without considering all filters parameters),
    just edit the number parameter (and the density will be adjust to reflect this number).
Hope that's clear.
If you have any other questions I'm available to answer it.

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 19 Mar 2014, 14:17

So the true number is just the number parameter and the density useful when wanting to maintain a density despite actual number and emitter ? Wow, very cool !
Thanks

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 27 Mar 2014, 20:00

Hi julca, one more question ... How can you control the specific number of instances within the various shapes ? E.G. If you have 10 shapes, how can you have say 12 of shape 1, 3 of shape 2, 9 of shape 3 etc ?

Thanks
Cheeseburger

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 28 Mar 2014, 15:55

Hi, you can use the shape's weight to do that.
Set your number parameter equal to the sum of each shape's weight number.

Like in the screenshot below, you have 10 total particles and the sum of each shape's weight (3+2+5) give you 10.
siScatter_number.jpg
But you need to update manually the number parameter at each shape's weight modification.
I hope that help you.
You do not have the required permissions to view the files attached to this post.

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 28 Mar 2014, 16:20

Hi julca, I have tried that but I'm not getting the same results. I have 38 different shapes(people on cards) and when I load them up I get this ... See image.
Am i doing something wrong ?
Thanks
Cheeseburger
You do not have the required permissions to view the files attached to this post.

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 28 Mar 2014, 16:29

If you set the number parameter at 38, you're should be ok.

But, my last suggestion works without apply the filters (closest, inside, etc.).
The number parameter is the number of particles before apply any filters.

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 28 Mar 2014, 16:33

I tried setting the number to 38 and that image shows the results in the shapes page. It's strange. It could be something I'm doing but it's a pretty simple setup that I'm using. I'll try again just to double check

Cheers

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 28 Mar 2014, 16:40

Hi julca,
Yeah, turned off any other settings, put in 38 and I'm still getting strange readings ... arrrgh Help. Your plugin or addon is so fantastic, it's just this one little snag for me ... any other suggestions

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 28 Mar 2014, 17:33

Oups, you're right !

I select shape ID by random and here the weight just influence the probability.
Let me take the time to find a workaround/update.

User avatar
cheeseburger
Posts: 106
Joined: 20 Oct 2011, 10:56

Re: SiScatter

Post by cheeseburger » 28 Mar 2014, 17:34

Thanks julca ! Really appreciate it

julca
Posts: 141
Joined: 07 Sep 2012, 14:24

Re: SiScatter

Post by julca » 29 Mar 2014, 11:02

Hi cheeseburger,

I've updated the link of first post (version 1.2):
- Add a new emission parameter "Exact Shape Weight Sum" that drive the number of particles with the sum of all shapes's weight.
It also strictly set the number of shapes accordingly their weight.
- Correct update of shape info (number and percentage for each) when "Fractal Shape Selection" are enabled/disabled.

Now you can use shape's weight as the exact number of shape.
Like below, I have 6 shapes, the first one with a weight of 3 and the 5 others with a weight of 1.
The total of 8 (3+1+1+1+1+1) is automatically updated.
siScatter_exactShapeWeightSum.jpg
Thanks for your feedback.
Cheers.
You do not have the required permissions to view the files attached to this post.