Page 2 of 2

Re: Maya to Octane’s scatter node

Posted: Fri Nov 30, 2012 8:19 pm
by matic
Hi tchoa first, thank you very for this script ;)

Here is my problem :

I create a basic scene with 3 object instance (Helix, Torus and Pyramid all are 0,0,0 axis), and make particles instances with them in to a basic sphere. The I select the Instancer1 node and run the 3 .csv file with your mel.
Image

I recreate a basic scene in octane but my instances aren't visible :shock:
Image

I select one of them to verify that I'm not crazy, and no here is the helix.
Image

I rotate my view to try to find the instances and here they are but very very little.
Image

I make a placement node for each of them and scale 100 to confirm.
Image

So my question is did i do all right ??

Re: Maya to Octane’s scatter node

Posted: Sat Dec 01, 2012 12:59 am
by tchoa
Hmm... may be it's a good idea to send me your scene to check where's your scale issue.
F

Re: Maya to Octane’s scatter node

Posted: Sat Dec 01, 2012 2:18 am
by matic

Re: Maya to Octane’s scatter node

Posted: Mon Dec 03, 2012 11:24 am
by matic
More news tchoa ?

Re: Maya to Octane’s scatter node

Posted: Mon Dec 03, 2012 11:35 am
by tchoa
Was not working this w-e... I'll try to have look today.
F

Re: Maya to Octane’s scatter node

Posted: Mon Dec 03, 2012 11:38 am
by matic
OK thanks ;)

Re: Maya to Octane’s scatter node

Posted: Mon Dec 03, 2012 8:59 pm
by tchoa
I just had a look at your files.
It is a scale issue as we thought.
I'm working with 1 unit = 1 meter in maya (anyway preferences unit = centimeters)
I saw your octane's import preferences are set to centimeters.
As the csv files for scattering are exported without unit reference you have to correct somewhere the scale difference...
In the attached file, I've set the obj import options of the scattered things to meters and plugged the geometry group and plugged in transform with a scale of 0.01.
It works but may be there's another way.
F

Re: Maya to Octane’s scatter node

Posted: Tue Dec 04, 2012 6:48 pm
by matic
Ok I understand.

I create another scene in meter and make octane in meter to.

To every thing work fine I'v create my obj instance > a placement node with scale 100 > my scatter node > and a placement node with scale 0.01 and that's good.

Is this a script problem or a software combination ?

Re: Maya to Octane’s scatter node

Posted: Wed Dec 05, 2012 1:00 am
by tchoa
To every thing work fine I'v create my obj instance > a placement node with scale 100 > my scatter node > and a placement node with scale 0.01 and that's good.
That's a workaround.
I've done some minor changes as seen on my blog.
Added the speed improvement of Clinton. Thanks to him for his time on the script!
Added also a scale factor to rescale regarding the octane’s object import scale.
Same url... Maya to Octane’s scatter node
F