Materials Fail to Save

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
User avatar
Bendbox
Licensed Customer
Posts: 478
Joined: Wed Aug 21, 2013 1:38 pm

Hi Paul,

I'm on version 1.20.1.29 and when I Right click on an Octane material and attempt to save it, I get an error message window that pops up and says, "Failed to Save File". Is this a bug, or am I going about this the wrong way?
Win10x64 / AMD Ryzen 9 5900X / 64g RAM / 2 x RTX 3090
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi

This is a Rhino bug, fixed in SR8.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
eric_clough
Licensed Customer
Posts: 124
Joined: Tue Aug 31, 2010 11:28 pm

Hi Paul ...

When I export a Rhino file (with materials assigned) as an .obj file and open it with Octane SA 1.20 only a couple of materials show up.

They are all there in the Octane plug-in for Rhino so I wonder what's happening in the translation.

It probably does not matter as I will probably not be using the stand alone version ... the plug-in is working very well and seems to be the easiest way for me to get a quick and good rendering.

cheers,
eric
Win 8.1,16GB,i7,GeForce GTX760(4GB),(GeForce 334.89 driver, GeForce GT640(4GB) Dual 27" monitors
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi Eric - only the material actually used on geometry being rendered in the Octane scene will be exported - so you might have 20 materials in Rhino, but 5 of them are assigned to geometry, so those 5 will get exported to Octane Standalone.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
eric_clough
Licensed Customer
Posts: 124
Joined: Tue Aug 31, 2010 11:28 pm

Hi Paul ..

But if those materials are assigned to layers that the objects are drawn with does this not assign the material to the geometry of the model?

Or is there something I am missing ... do I have to go through an extra step to be sure I have the material attached?

cheers,
eric
Win 8.1,16GB,i7,GeForce GTX760(4GB),(GeForce 334.89 driver, GeForce GT640(4GB) Dual 27" monitors
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

But if those materials are assigned to layers that the objects are drawn with does this not assign the material to the geometry of the model?

Or is there something I am missing ... do I have to go through an extra step to be sure I have the material attached?
Hi Eric - if you have geometry belonging to a layer, but with the material assigned by "Object", then that object's material will be used (and loaded into Standalone). If the geometry has it's material assigned by "Layer", then that layer's material will be used (and loaded into Standalone). So only materials which are used in the Octane render will be exported to OCS.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
eric_clough
Licensed Customer
Posts: 124
Joined: Tue Aug 31, 2010 11:28 pm

I think I understand this, Paul.

But it does not seem to work that way.

I have a file in which there are about 10 layers with materials assigned that are actually used in the model ... though the file must contain nearly 100 materials attached to appropriate layers.

If I render this with Octane for Rhino then all the expected materials show up in the rendering. On the other hand if I export all the parts of the drawing (model) to an .obj file and open this with Stand Alone only one or two of the materials show up as expected.

As I said earlier, this does not really matter to me ... I started learning a little Octane with the stand alone version but am now almost exclusively using the Rhino plug in. But I was curious about this seeming problem.

cheers,
eric
Win 8.1,16GB,i7,GeForce GTX760(4GB),(GeForce 334.89 driver, GeForce GT640(4GB) Dual 27" monitors
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Eric - to export, you rightclick the Octane Settings tab and select "Export to OCS". That will sav an OCS file with all the material defs and each mesh in an OBJ which will all be automatically linked when you load the OCS in standalone.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
eric_clough
Licensed Customer
Posts: 124
Joined: Tue Aug 31, 2010 11:28 pm

Thanks Paul ...

I will try that today.

eric
Win 8.1,16GB,i7,GeForce GTX760(4GB),(GeForce 334.89 driver, GeForce GT640(4GB) Dual 27" monitors
Post Reply

Return to “Rhinoceros 3D”