Particles and Scatter node

Forums: Particles and Scatter node
Carrara (Integrated Plugin developed by Sighman)

Re: Particles and Scatter node

Postby Sighman » Mon Dec 19, 2016 4:32 pm

Sighman Mon Dec 19, 2016 4:32 pm
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)
Sighman
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

Re: Particles and Scatter node

Postby tschwenke » Mon Dec 19, 2016 4:39 pm

tschwenke Mon Dec 19, 2016 4:39 pm
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 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany

Re: Particles and Scatter node

Postby tschwenke » Mon Dec 19, 2016 6:11 pm

tschwenke Mon Dec 19, 2016 6:11 pm
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 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany

Re: Particles and Scatter node

Postby tschwenke » Mon Dec 19, 2016 6:18 pm

tschwenke Mon Dec 19, 2016 6:18 pm
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
animation-mode.jpg
Scatter animation mode
http://www.thomas-schwenke.me
Houdini 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany

Re: Particles and Scatter node

Postby protovu » Mon Dec 19, 2016 6:32 pm

protovu Mon Dec 19, 2016 6:32 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..............
protovu
Licensed Customer
Licensed Customer
 
Posts: 476
Joined: Thu Sep 11, 2014 7:30 pm

Re: Particles and Scatter node

Postby tschwenke » Mon Dec 19, 2016 9:17 pm

tschwenke Mon Dec 19, 2016 9:17 pm
Well, I think, we just wait for another update :)
http://www.thomas-schwenke.me
Houdini 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany

Re: Particles and Scatter node

Postby Sighman » Tue Dec 20, 2016 1:22 am

Sighman Tue Dec 20, 2016 1:22 am
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)
Sighman
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

Re: Particles and Scatter node

Postby tschwenke » Tue Dec 20, 2016 7:39 am

tschwenke Tue Dec 20, 2016 7:39 am
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 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany

Re: Particles and Scatter node

Postby Sighman » Tue Dec 20, 2016 8:08 am

Sighman Tue Dec 20, 2016 8:08 am
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)
Sighman
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 1112
Joined: Thu Jan 19, 2012 9:11 am
Location: Calgary, AB

Re: Particles and Scatter node

Postby tschwenke » Tue Dec 20, 2016 9:00 am

tschwenke Tue Dec 20, 2016 9:00 am
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 18.5 || Win10 || i7 + 1 x RTX3080
User avatar
tschwenke
Licensed Customer
Licensed Customer
 
Posts: 331
Joined: Sat Sep 20, 2014 9:35 pm
Location: Germany
PreviousNext

Return to Carrara


Who is online

Users browsing this forum: No registered users and 6 guests

Fri Apr 19, 2024 3:17 pm [ UTC ]