Material ID's and Linework

So, in my typical workflow I need specifically 3 channels to do post production work.

  1. Alpha Channel (provided upon render export) :thumbsup:
  2. Material ID
  3. Line-work Overlay

The most important channel is the Material ID channel, because i allows me to quickly select a color in post production to adjust or edit a material/texture after the render. This can be done in one of two ways; The first is in SketchUp, and is done by setting the view port render too only show colors, not textures, and turn off line-work and shadows. This gives be a pretty decent faux-Material ID pass to work on when compositing images. The other way to do this is in V-Ray, by rendering out the Material ID channel. Either way this is very useful in post production. I see it as being as simple as automatically generating random contrasting colors for each type of material and just having the option to export it out when you render.

The next most important channel or element that I use is a line-work pass (usually out of SketchUp). Essentially I export a simple black line over white background. This allows me to composite the two in post production using a multiply layer, and then control the visibility of the line-work or remove it completely. Currently I cant do this in Enscape because I don’t know of a way to override all materials so that I can export out only line-work. It would be amazing if Enscape had a simple Line-work material override that could be exported, similar to the foam option, but with no background and pure white. This is a similar request to the post here: Displaying line work in SketchUp+Enscape but I don’t know of a way to export only the line-work.

Thanks guys!

I requested this on Trello a few times, and I’m still waiting to see a card on there to vote this up. I’m sure this would be a popular idea.

Material id’s, Linework and ideally also some traditional render elements like reflection, shadow, ambient occlusion, z depth, etc. If you look at Pixelflakes for example: there renders are often super simple and could definitely be done with Enscape. But if you look at what they accomplish with extensive post+proper use render elements… really powerful.

Hi @Pieter_2 @tedvitale.cg I’ve added this onto our Trello Development Agenda and your upvotes are already noted internally.

Thanks for your feedback!

Great! I hope this is going to get a lot of votes. Are there any passes that are easier to implement than others? Getting a material id would be a great start. If there’s enough interest other lighting passes might be interesting as well. The one we use the most when we do vray work is: ambient occlusion, reflection, refraction, lighting.

This is great news! Thanks @Jonathan_Knoefel !

Ambient occlusion please!

Material IDs and Depth layers export will be included in the next version.

Great news Thomas!!!

Preview 2.1.2.564 contains layers for Material ID and depth

Guys, you are the best! @Thomas_Willberger @Simon_Weinberger very happy to have ID export.

@Simon_Weinberger Installed and tested - the material ID is an object ID (Rhino). Did I something wrong? An object ID isn’t so useful. I hope a code change isn’t a big deal. Great to see this first implementation of this function.

@Simon_Weinberger Additional to my last feedback … could it be possible to manual set the range of the z-depth please? The automatic isn’t so useful always.

Looks right to me - which objects did you expect to have different materials on them?

Regarding the depth: It’s currently scaled so that in encompasses all geometry within your current camera - not taking occlusions into account, so in your case a lot of the scene is not seen due to the wall. We may change that to a manual adjustment, thanks.

For example the couch should be in one id color since it is one material only. Maybe it’s caused by a Rhino material issue behind the UI (some times there exist independent materials), than it could be good to set all objects with the same material name at the same id color. Same for the plant.

Attached the couch and the plant model.


matid.zip (2.36 MB)

@Micha In Rhino there are often multiple materials with the same name/values, but different ID. Because it’s error-prone to merge them into a single material (and split them again if one of them is changed), this is not yet implemented. So Enscape sees multiple materials.

I afraid that it is something like this. If I copy and paste an object, than I get a “dependent” material. I asked at the Rhino forum now how I can merge materials to this state.

Thank you.

Awesome update. Will be testing it today!

Tested in Revit and it’s working great.