How to Render with Flat Colors, like a Material ID?

This topic has been viewed 2798 times and has 2 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
HdFeX47
Posts: 7
Joined: Tue Jan 19, 2021 8:42 pm
Country: Brazil

How to Render with Flat Colors, like a Material ID?

Post by HdFeX47 »

Is there a way to render materials or objects just in flat colors, like in Sketchup (image below), so i can use the magic wand selection in a image editor software?
The reason i want to do this is to make post-processing easier in complex scenes.
Thx!

Image
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to Render with Flat Colors, like a Material ID?

Post by Puybaret »

You could try this:
- select all in your home
- export the selection to OBJ format
- edit the MTL file where you'll change the number following [font=courier new]illum[/font] by [font=courier new]0[/font] to get lines [font=courier new]illum 0[/font]
- import the exported OBJ file as a piece of furniture in a new Sweet Home 3D project
- go to the point of view you want and create a photo
Emmanuel Puybaret, Sweet Home 3D creator
HdFeX47
Posts: 7
Joined: Tue Jan 19, 2021 8:42 pm
Country: Brazil

Re: How to Render with Flat Colors, like a Material ID?

Post by HdFeX47 »

You could try this:
- select all in your home
- export the selection to OBJ format
- edit the MTL file where you'll change the number following [font=courier new]illum[/font] by [font=courier new]0[/font] to get lines [font=courier new]illum 0[/font]
- import the exported OBJ file as a piece of furniture in a new Sweet Home 3D project
- go to the point of view you want and create a photo
Thank you. I also had to also change the materials to just flat colors to make it exactly like the image, if any one tries to do the same. Also, to not lose your project by changing all the materials, just save as a new one and do those steps. After that, the masks works like a charm.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest