Can I hook an octane Scatter Node and somehow plug in into a mesh and then import a csv file and plug it into the scatter node.... all within Maya???
Thanks
Forgive if this has been answered before... I have trouble finding things within the forum.
Peter
Adding an Octane Scatter Node to Geo
Moderator: JimStar
- p3taoctane
- Posts: 1418
- Joined: Mon Jan 25, 2010 12:53 am
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Hi Pete,p3taoctane wrote:Can I hook an octane Scatter Node and somehow plug in into a mesh and then import a csv file and plug it into the scatter node.... all within Maya???
Thanks
Forgive if this has been answered before... I have trouble finding things within the forum.
Peter
You mean this option is by default just change global to scatter.
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- p3taoctane
- Posts: 1418
- Joined: Mon Jan 25, 2010 12:53 am
Thanks man
I am wondering where you plug in the csv file to this scatter node though?
Thanks
Peter
I am wondering where you plug in the csv file to this scatter node though?
Thanks
Peter
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
- p3taoctane
- Posts: 1418
- Joined: Mon Jan 25, 2010 12:53 am
Any ideas if this is doable?
JimStar??
JimStar??
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
Hi Peter,
I don't think there is any way you can use a csv file to distribute instances in the maya plugin. You need to scatter or place the instances using maya's tools and then the plugin most probably creates the scatter node that the engine needs during scene translation.
The geo type scatter is just a proxy type like movable or reshapable proxy but has the advantage of only sending the geo to the card on the first frame so you don't need to re-load non animated instances per frame when rendering an animation.
I also don't understand why questions like this keep going un answered by Otoy. It's their job to provide support of this nature and it has been sadly lacking with the Maya plugin lately.
T.
I don't think there is any way you can use a csv file to distribute instances in the maya plugin. You need to scatter or place the instances using maya's tools and then the plugin most probably creates the scatter node that the engine needs during scene translation.
The geo type scatter is just a proxy type like movable or reshapable proxy but has the advantage of only sending the geo to the card on the first frame so you don't need to re-load non animated instances per frame when rendering an animation.
I also don't understand why questions like this keep going un answered by Otoy. It's their job to provide support of this nature and it has been sadly lacking with the Maya plugin lately.
T.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
- p3taoctane
- Posts: 1418
- Joined: Mon Jan 25, 2010 12:53 am
Thanks T
Appreciate how much you help out users. I am assuming Jim Star is buried with 3.0 stuff but lately he has been a little MIA.
Peter
Appreciate how much you help out users. I am assuming Jim Star is buried with 3.0 stuff but lately he has been a little MIA.
Peter
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
I also need to use an existing csv file inside Maya urgently.
Is there any way now to make this happen ???
Is there any way now to make this happen ???
You can do something like this
{
//here write the correct path
string $filename = "c:/file.cvs";
int $fileId = `fopen $filename "r"`;
while (!`feof $fileId`)
{
string $nextLine = `fgetline $fileId`;
// tokenize the line - we should get 12 floats
string $tokens[];
tokenize $nextLine " " $tokens;
float $a = $tokens[0];
float $b = $tokens[1];
float $c = $tokens[2];
float $d = $tokens[3];
float $e = $tokens[4];
float $f = $tokens[5];
float $g = $tokens[6];
float $h = $tokens[7];
float $i = $tokens[8];
float $j = $tokens[9];
float $k = $tokens[10];
float $l = $tokens[11];
// here add the command wich will use the 12 float of the octane matrix
}
fclose $fileId;
}
{
//here write the correct path
string $filename = "c:/file.cvs";
int $fileId = `fopen $filename "r"`;
while (!`feof $fileId`)
{
string $nextLine = `fgetline $fileId`;
// tokenize the line - we should get 12 floats
string $tokens[];
tokenize $nextLine " " $tokens;
float $a = $tokens[0];
float $b = $tokens[1];
float $c = $tokens[2];
float $d = $tokens[3];
float $e = $tokens[4];
float $f = $tokens[5];
float $g = $tokens[6];
float $h = $tokens[7];
float $i = $tokens[8];
float $j = $tokens[9];
float $k = $tokens[10];
float $l = $tokens[11];
// here add the command wich will use the 12 float of the octane matrix
}
fclose $fileId;
}
Pascal ANDRE