Particles and Scatter node

Carrara (Integrated Plugin developed by Sighman)
Sighman
Octane Plugin Developer
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

tschwenke wrote:Hi Simon,

Great, thanks alot :)

However, I am not able to make it work. I create a sphere or a mesh object, click the scatter button in the Effects tab and load in a CSV file. Then, I see nothing... :(

I tried it with this file: https://www.dropbox.com/s/fuvn1m10zg8qq ... cle-56.csv

Best wishes,
Thomas
You are likely dealing with scaling issues. Try reducing the scale of the instance you are scattering.
tschwenke wrote:It crashes in the case of a surface replicator in the scene...
You cannot use a replicator with an instance you have scattered unless it is a sphere with octane native primitive enabled. It should never crash anyway so I'll look into it asap.
Win8/64, I7-4770K (3.5Ghz) 24GB, GTX-980ti (6GB) / GTX-TITAN (6GB)
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Hi,

No, I mean replicators in general. Just add an replicator to your scene. You don't have to replicate anything. Octane Render will crash.

Could you open the CSV? Did it work for you?

Best wishes,
Thomas
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Hi again,

I just tried it with two very simple CSV files.

First file

Code: Select all

1 0 0 1 0 1 0 2 0 0 1 -0.000000000002
1 0 0 1 0 1 0 2 0 0 1 -0.000000000003
1 0 0 1 0 1 0 2 0 0 1 -0.000000000004
Second file

Code: Select all

1 0 0 1 0 1 0 2 0 0 1 -2
1 0 0 1 0 1 0 2 0 0 1 -3
1 0 0 1 0 1 0 2 0 0 1 -4
In OR Standalone, these two files produce different outputs - something I would expect from it, as the z values are different. However, in Carrara, these two files will produce the SAME output. Both renders look exactly the same!? Is this correct?

Animation mode does not seem to work right now. Just saying... OR Viewer does not update the window.

Best wishes,
Thomas
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Me again,

just saw that animation mode works, but not as expected. See image. Last file is "particle-2.csv," but that's not the file, which is selected...

Best wishes,
Thomas
Attachments
Scatter animation mode
Scatter animation mode
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
protovu
Licensed Customer
Posts: 476
Joined: Thu Sep 11, 2014 7:30 pm

Hi Guys,
I am really grateful for your continued efforts on this.
Excluding the fact that I know zero about what is involved with this effort - and I have my hands full with year end deadlines, is there some small way I can help?
Maybe test a file?
Unfortunately, I would need instructions on what to do and what to expect. I know nothing of code or scripts. For me its all magic.
But, someday I would like to use this function, and its not nice to just swoop in like a sea gull at a picnic, make off with a sandwich..............
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Well, I think, we just wait for another update :)
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
Sighman
Octane Plugin Developer
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

tschwenke wrote:Hi,

No, I mean replicators in general. Just add an replicator to your scene. You don't have to replicate anything. Octane Render will crash.

Could you open the CSV? Did it work for you?

Best wishes,
Thomas
I still need to investigate the crashes but I was able to load the CSV. It just comes in really big so you have to zoom out the camera a long way before you can find it. For a sphere, try setting the primitive size to 1 inch (0.08 ft). Note that the render does not restart if you change the primitive size so use the rebuild scene button on the ORVP.
Win8/64, I7-4770K (3.5Ghz) 24GB, GTX-980ti (6GB) / GTX-TITAN (6GB)
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Hi Simon,

I tried it once again. I am not able to make it work. The only CSV file that works for me is the file with 3 transformations in there.

But I think, you are on the right way :)

Perhaps, it would be easier to create a scatter file on existing geometry. We could e.g. use Phantom scatter and create instances on a terrain. Then, we could see if the instances are on their correct locations... Just an idea :idea:

Best wishes,
Thomas
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
Sighman
Octane Plugin Developer
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

viewtopic.php?f=79&t=56881

I hope the new scaling sliders will help you find your particles...

I have not fixed the last animation frame issue. I suggest you add a dummy frame as the last slot to compensate for now.
Win8/64, I7-4770K (3.5Ghz) 24GB, GTX-980ti (6GB) / GTX-TITAN (6GB)
User avatar
tschwenke
Licensed Customer
Posts: 338
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
Contact:

Hi Simon,

Uh, that was some work. Now, I think, I figured it out :)

Try out the following CSV:

Code: Select all

1 0 0 0 0 1 0 0 0 0 1 12
1 0 0 0 0 1 0 0 0 0 1 13
1 0 0 0 0 1 0 0 0 0 1 1.4
1 0 0 0 0 1 0 0 0 0 1 1.5
You will see that there is a straight line of particles because your code reads the file as:
12
13
14
15

But z values of the CSV file are:
12
13
1.4 (!!!)
1.5 (!!!)

So, your code deletes the points and thinks the number "1.5" is the number "15."

That way the CSV files I gave to you are big as hell. Up to this day, I couldn't find them in the OR Viewer :)

So, could this be a problem why I cannot find my particles inside the OR Viewer?

Best wishes,
Thomas
http://www.thomas-schwenke.me
Houdini 20.5 || Win11 || i7 + RTX3080
Post Reply

Return to “Carrara”