Page 1 of 2

Material assignment to individual surfaces

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


Please, please!

Andreas

Re: Material assignment to individual surfaces

PostPosted: Fri Jun 02, 2023 12:09 am
by face_off
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

Re: Material assignment to individual surfaces

PostPosted: Fri Jun 02, 2023 8:27 am
by v-cube
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...

Re: Material assignment to individual surfaces

PostPosted: Sun Jun 04, 2023 7:04 am
by face_off

Re: Material assignment to individual surfaces

PostPosted: Wed Jun 14, 2023 11:41 am
by v-cube
Hi Paul,

Did you actually get the information that you needed from the Rhino Devs?

Re: Material assignment to individual surfaces

PostPosted: Wed Jun 14, 2023 12:28 pm
by face_off
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

Re: Material assignment to individual surfaces

PostPosted: Wed Jun 14, 2023 12:46 pm
by v-cube
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.

Re: Material assignment to individual surfaces

PostPosted: Thu Jun 15, 2023 10:58 am
by face_off
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

Re: Material assignment to individual surfaces

PostPosted: Thu Jun 15, 2023 11:57 am
by v-cube
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...

Re: Material assignment to individual surfaces

PostPosted: Mon Jun 19, 2023 1:02 am
by face_off