Hello
Do you have a mesh node in your ocs that's called 'j' ?
In single frame rendering the script is starting octane with the -m flag followed by the desired mesh node to render.
The script you have is the one I modified. It doesn't take care of a renderTarget when you click "Render".
Here is my last modified one that's doing it.
I should say again that's a modified script that could be improved and be much more clean cause I added /modified quickly the bazuka's last one (I guess).
The export checkBox is here to 'force' obj export before running octane but you may use the 'Export OBJ/MTL Only' button to export selected items regarding the name of the Project Name.
I've also added (since I can't remember) smoothing and triangulate checkBoxes to export meshes with their smoothMeshPreview and/or triangulated.
F
Beta 2.2 RC1: Maya exporter plugin (unofficial)
Moderator: JimStar
- Attachments
-
- maya2octane.zip
- (8.17 KiB) Downloaded 330 times
Win XP x64 | Q6600 2.40GHz | 8Go | GTX470 1.28Go // Win 7 x64 | I7 Q740 1.73Ghz | 6Go | GTX460m 1.5Go
thank you Tchoa,tchoa wrote:Hello
Do you have a mesh node in your ocs that's called 'j' ?
In single frame rendering the script is starting octane with the -m flag followed by the desired mesh node to render.
The script you have is the one I modified. It doesn't take care of a renderTarget when you click "Render".
Here is my last modified one that's doing it.
I should say again that's a modified script that could be improved and be much more clean cause I added /modified quickly the bazuka's last one (I guess).
The export checkBox is here to 'force' obj export before running octane but you may use the 'Export OBJ/MTL Only' button to export selected items regarding the name of the Project Name.
I've also added (since I can't remember) smoothing and triangulate checkBoxes to export meshes with their smoothMeshPreview and/or triangulated.
F
about "J" that was a test , make sure the setting. bcoz when the maya2octane script launched Octane. in Octane appeared "No mesh node" or "can't found XX obj"
I'll try the new script from you soon . thanks again

Win 7 x64 | MAYA 2016 | OctaneRender 2.3 | GTX 980TI * 3 | CORE I5 2500 | 16 GB RAM .
Hi FooZeFooZe wrote:I'm not used to using this exporter script but should the project path have two slashes at the end? "\\"
Also do you need to tick the "Export" box just under the project name?
Thanks
Chris.
about the two slahes is default , i didn't change it .

Win 7 x64 | MAYA 2016 | OctaneRender 2.3 | GTX 980TI * 3 | CORE I5 2500 | 16 GB RAM .
HI TCHOA, the new script is working perfectly now, thank youtchoa wrote:Hello
Do you have a mesh node in your ocs that's called 'j' ?
In single frame rendering the script is starting octane with the -m flag followed by the desired mesh node to render.
The script you have is the one I modified. It doesn't take care of a renderTarget when you click "Render".
Here is my last modified one that's doing it.
I should say again that's a modified script that could be improved and be much more clean cause I added /modified quickly the bazuka's last one (I guess).
The export checkBox is here to 'force' obj export before running octane but you may use the 'Export OBJ/MTL Only' button to export selected items regarding the name of the Project Name.
I've also added (since I can't remember) smoothing and triangulate checkBoxes to export meshes with their smoothMeshPreview and/or triangulated.
F

Win 7 x64 | MAYA 2016 | OctaneRender 2.3 | GTX 980TI * 3 | CORE I5 2500 | 16 GB RAM .
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Sorry to bring back this thread, but I really need someone's help here.
So, it has been a while since the last time I used this script to export animations, and now I have to use it (my current company doesn't want to purchase the Maya Plugin, so I must use this script).
I have a character with an animation, and I'm trying to render out the animation, however it seems that the script only export the character in the first frame position! it keeps rendering frame by frame, but the character doesn't change it's pose. In Maya I see the frame positioning correctly, and the character does assume the correct pose for each frame, but when I do Render Animation, every frame looks the same... Please note that if I do just Render from the script, it works fine, at any position frame. It looks like the script does not overwrite the obj each frame, but it keeps just the first exported one.
Can someone help me? I don't know what to do and I really to sort this out...
So, it has been a while since the last time I used this script to export animations, and now I have to use it (my current company doesn't want to purchase the Maya Plugin, so I must use this script).
I have a character with an animation, and I'm trying to render out the animation, however it seems that the script only export the character in the first frame position! it keeps rendering frame by frame, but the character doesn't change it's pose. In Maya I see the frame positioning correctly, and the character does assume the correct pose for each frame, but when I do Render Animation, every frame looks the same... Please note that if I do just Render from the script, it works fine, at any position frame. It looks like the script does not overwrite the obj each frame, but it keeps just the first exported one.
Can someone help me? I don't know what to do and I really to sort this out...

- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
No, it's not checked.
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
IT's worth mentioning that the script does export the camera movements and settings correctly.
It's the obj that is not updated every frame as it should.
It's the obj that is not updated every frame as it should.
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
I think I figured out what the problem is (still I don't know how to solve it though).
Let's say my obj is called hero.obj. When I hit Render (Render frame), the script exports a new version of the hero.obj and renders out correctly.
When I hit Render Animation, the script creates a new file called hero_anim.obj, but IT DOESN'T READ from that, instead it reads from the previously created hero.obj, which obviously doesn't change.
Now, how can I fix this problem?
I'm not an expert in scripting, so I have no Idea how to fix the script...
Let's say my obj is called hero.obj. When I hit Render (Render frame), the script exports a new version of the hero.obj and renders out correctly.
When I hit Render Animation, the script creates a new file called hero_anim.obj, but IT DOESN'T READ from that, instead it reads from the previously created hero.obj, which obviously doesn't change.
Now, how can I fix this problem?
I'm not an expert in scripting, so I have no Idea how to fix the script...
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Ok, I found an hack to solve the problem.
I open my ocs scene (where the model loaded is hero.obj), change that with hero_anim.obj, and save the ocs.
In this way it works, but it's a workaround.
So there is a communication problem between the Octane and the script. Somehow the script does not tell Octane to read from the _anim.obj
I don't know if it's an Octane bug, or a script bug, but at least now we know where the problem is.
You are welcome.
I open my ocs scene (where the model loaded is hero.obj), change that with hero_anim.obj, and save the ocs.
In this way it works, but it's a workaround.
So there is a communication problem between the Octane and the script. Somehow the script does not tell Octane to read from the _anim.obj
I don't know if it's an Octane bug, or a script bug, but at least now we know where the problem is.
You are welcome.