Page 1 of 1

"Export selection" doesn't work [SOLVED]

Posted: Wed Nov 16, 2016 4:24 am
by calus
File / export selection / "octaneRender scene" or "octaneRender animated scene" behave the exact same way as File / export all /

The whole scene is exported despite the fact that I choose to export only selection.

Re: "Export selection" doesn't work

Posted: Tue Feb 14, 2017 12:21 pm
by calus
So this issue is still not solved in OctaneRender® for Maya® 3.05.3 - 9.38,
and that's a shame because having to export all the scene instead of selection is really a workflow breaker when we have to update often only some part of a Standalone scene.
Lot of time lost and lot more of possible errors because of that.

In the meantime I have a good workaround for this issue :
I create a temporary Maya render Layer based on my selection, export the ORBX, delete the render layer.
But still I have to add a camera to the render layer to make the export work while I don't want a camera or a render target in my ORBX, I already have that in my Standalone scene... :(
If it's not a SDK limitation we should not be forced to export a render target...

Also if I can do this by hand why the plugin can't do automatically the same thing under-the-hood ?
create a temporary render layer based on selection > export to ORBX > remove the temporary Maya render layer

Re: "Export selection" doesn't work

Posted: Thu Mar 02, 2017 11:42 pm
by cakeller98
A. Win 7
B. Quadro M5000M
C. System RAM 32GB
D. Nvidia driver version 376.33
E. OctaneRender Standalone version, 3.05
F. OctaneRender for Maya 3.05.3-9.41 (same problem in 9.3?)
G. Autodesk Maya 2017 Update 3

create a poly-sphere
assign a blinn shader to it
adjust some parameters so that it has some transparency and should translate to some type of transparent octane shader
adjust ior to 1.5 or anything not 0 or 1.0.
click button to convert maya shaders to octane.
test in octane for maya that everything looks as expected.
select sphere, and click file->export selected [] (click the options box) then select any of the octane export modes and then click save.

Code: Select all

//EXPORT SELECTED FAILS ON (animated scene and alembic)

file -force -options "alembicWrap=1;" -typ "OctaneRender animated scene" -pr -es "C:/Users/Christopher/Desktop/asdf_animscene.orbx";
// Error: line 0: Could not save file "C:/Users/Christopher/Desktop/asdf_animscene.orbx". // 

file -force -options "" -typ "OctaneRender alembic" -pr -es "C:/Users/Christopher/Desktop/asdf_alembic.abc";
// Error: line 0: Could not save file "C:/Users/Christopher/Desktop/asdf_alembic.abc". // 

//EXPORT ALL FAILS ON (animated scene and alembic)

file -force -options "alembicWrap=1;" -type "OctaneRender animated scene" -pr -ea "C:/Users/Christopher/Desktop/exportall_anim_scene.orbx";
// Error: line 0: Could not save file "C:/Users/Christopher/Desktop/exportall_anim_scene.orbx". // 

file -force -options "" -type "OctaneRender alembic" -pr -ea "C:/Users/Christopher/Desktop/exportall_alembic.abc";
// Error: line 0: Could not save file "C:/Users/Christopher/Desktop/exportall_alembic.abc". // 


//EXPORT ALL and SELECTED SUCCEEDS but exports the whole scene including render targets and etc.

//export selected
file -force -options "" -typ "OctaneRender scene" -pr -es "C:/Users/Christopher/Desktop/asdf_static_scene.orbx";
// Result: C:/Users/Christopher/Desktop/asdf_static_scene.orbx // 

//export all
file -force -options "" -type "OctaneRender scene" -pr -ea "C:/Users/Christopher/Desktop/exportall_scene.orbx";
// Result: C:/Users/Christopher/Desktop/exportall_scene.orbx // 

Re: "Export selection" doesn't work [solved]

Posted: Wed Mar 08, 2017 10:13 pm
by calus
Solved in OctaneRender® for Maya® 3.06 (test 3) - 10.1

Export selection have been implemented :)