Material assignment to individual surfaces

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

Moderator: face_off

User avatar
v-cube
Licensed Customer
Posts: 487
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

Hi Paul,

We very often have to split walls and other structures in quite painstakingly manners in order to be able to assign a different material to parts of them.
A very common example would be a wall, where we have a material for the outside like bricks and one for the inside like plaster.

It would be huge if there could be a way to assign the materials to the individual surfaces.

As you can see from the attached picture, Rhino supports this (you have to press ctrl + shift to select a surface...) however Octane just renders one color.
2023-05-30 16_27_47-Rhino-Octane-Material test-01.jpg

I attached the 3dm file for you to test.
Rhino-Octane-Material test-01.zip
(66.3 KiB) Downloaded 302 times
Please, please!

Andreas
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
face_off
Octane Plugin Developer
Posts: 15681
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Yes - this would be great. I cannot see an obvious way to get the per-face material in the SDK, so I have asked this question in the McNeel forums. I will respond here when I know more.

Thanks

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
User avatar
v-cube
Licensed Customer
Posts: 487
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

so I have asked this question in the McNeel forums. I will respond here when I know more
Can you give me the link? I might be able to support the request a little bit...

Maybe others might chime in as well...
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
face_off
Octane Plugin Developer
Posts: 15681
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

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
User avatar
v-cube
Licensed Customer
Posts: 487
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

Hi Paul,

Did you actually get the information that you needed from the Rhino Devs?
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
face_off
Octane Plugin Developer
Posts: 15681
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Did you actually get the information that you needed from the Rhino Devs?
Unfortunately not. Reading between the lines, it might be that this is only possible using the new Rhino change queue API (which the Octane plugin uses to identify which mesh object to reload, but doesn't actually use that API to access the vertices, polygons and materials). But I am guessing at this stage.

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
User avatar
v-cube
Licensed Customer
Posts: 487
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

So what can be done?

I really would like to be able to use this feature !

It is a everyday PITA to have to divide every wall , roof, ceiling etc. just to be able to assign correct materials.
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
face_off
Octane Plugin Developer
Posts: 15681
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I have pinged the Rhino devs again in the McNeel forum. My guess on this is that it will need a rewrite of the plugin geometry loader, as I think McNeel have packed the pre-face materials into a different part of the Rhino SDK to what the Octane plugin is using. This might be a substantial amount of work. But let's see what the McNeel devs come back with.

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
User avatar
v-cube
Licensed Customer
Posts: 487
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

Thank you Paul,

I really appreciate you being persistent here,
this will definitely add to the ease of use and time safing capabilities of Octane4Rhino!

In case it is easier to implement for the upcoming R8 version of Rhino that could be an option as well...
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
face_off
Octane Plugin Developer
Posts: 15681
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi Andreas

Are you able to try this test version please?

https://render.otoy.com/customerdownloa ... _test1.rhi

Thanks

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
Post Reply

Return to “Rhinoceros 3D”