Material assignment to individual surfaces

Forums: Material assignment to individual surfaces
Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Material assignment to individual surfaces

Postby v-cube » Tue May 30, 2023 2:38 pm

v-cube Tue May 30, 2023 2:38 pm
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 93 times


Please, please!

Andreas
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: Material assignment to individual surfaces

Postby face_off » Fri Jun 02, 2023 12:09 am

face_off Fri Jun 02, 2023 12:09 am
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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Material assignment to individual surfaces

Postby v-cube » Fri Jun 02, 2023 8:27 am

v-cube Fri Jun 02, 2023 8:27 am
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
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: Material assignment to individual surfaces

Postby face_off » Sun Jun 04, 2023 7:04 am

face_off Sun Jun 04, 2023 7:04 am
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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Material assignment to individual surfaces

Postby v-cube » Wed Jun 14, 2023 11:41 am

v-cube Wed Jun 14, 2023 11:41 am
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
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: Material assignment to individual surfaces

Postby face_off » Wed Jun 14, 2023 12:28 pm

face_off Wed Jun 14, 2023 12:28 pm
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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Material assignment to individual surfaces

Postby v-cube » Wed Jun 14, 2023 12:46 pm

v-cube Wed Jun 14, 2023 12:46 pm
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
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: Material assignment to individual surfaces

Postby face_off » Thu Jun 15, 2023 10:58 am

face_off Thu Jun 15, 2023 10:58 am
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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Material assignment to individual surfaces

Postby v-cube » Thu Jun 15, 2023 11:57 am

v-cube Thu Jun 15, 2023 11:57 am
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
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: Material assignment to individual surfaces

Postby face_off » Mon Jun 19, 2023 1:02 am

face_off Mon Jun 19, 2023 1:02 am
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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia
Next

Return to Rhinoceros 3D


Who is online

Users browsing this forum: No registered users and 3 guests

Thu Mar 28, 2024 8:48 pm [ UTC ]