Page 2 of 6

Re: SiScatter

Posted: 11 Mar 2014, 17:17
by mc_axe
Hey Julca that was very fast fix, it works fine on SI 2013!

Test :

Image



Image

Re: SiScatter

Posted: 14 Mar 2014, 07:03
by eistan
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 =)

Re: SiScatter

Posted: 14 Mar 2014, 08:18
by FXDude
@McAxe ; Lol! Also very cool :)

Re: SiScatter

Posted: 14 Mar 2014, 10:17
by julca
@McAxe,
Fun test \:D/ !

Re: SiScatter

Posted: 19 Mar 2014, 13:09
by cheeseburger
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 !

Re: SiScatter

Posted: 19 Mar 2014, 13:44
by julca
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.

Re: SiScatter

Posted: 19 Mar 2014, 14:17
by cheeseburger
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

Re: SiScatter

Posted: 27 Mar 2014, 20:00
by cheeseburger
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

Re: SiScatter

Posted: 28 Mar 2014, 15:55
by julca
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.

Re: SiScatter

Posted: 28 Mar 2014, 16:20
by cheeseburger
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

Re: SiScatter

Posted: 28 Mar 2014, 16:29
by julca
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.

Re: SiScatter

Posted: 28 Mar 2014, 16:33
by cheeseburger
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

Re: SiScatter

Posted: 28 Mar 2014, 16:40
by cheeseburger
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

Re: SiScatter

Posted: 28 Mar 2014, 17:33
by julca
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.

Re: SiScatter

Posted: 28 Mar 2014, 17:34
by cheeseburger
Thanks julca ! Really appreciate it

Re: SiScatter

Posted: 29 Mar 2014, 11:02
by julca
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.