Page 2 of 3
Re: material id
Posted: Thu Sep 13, 2018 1:16 am
by pepe
Started without AA but find out that on small areas if the color image have AA selecting with tolerance [of about 15] in PP gives a better results.
I use this in vray and max and now in vray and blender.
Re: material id
Posted: Thu Sep 13, 2018 8:41 am
by B.Y.O.B.
Dade wrote: ↑Wed Sep 12, 2018 11:36 pm
But the edge between two different materials will be a mix of the 2 flat colors (i.e. the anti-aliased edge). How can you work on that set of pixels ? The Photoshop/gimp pick tool will not handle correctly the edge
In my archviz internship we used the "Object Color AOV" in V-Ray in all projects, which is like anti-aliased Material ID.
The Photoshop color picker works surprisingly well with anti-aliased color masks, it produces very good selections without hard edges.
Re: material id
Posted: Thu Sep 13, 2018 8:44 am
by marcatore
Re: material id
Posted: Thu Sep 13, 2018 12:22 pm
by pepe
...so for now, material id can be used somehow for this purpose, but for id -1 I can’t get the random value.
Re: material id
Posted: Thu Sep 13, 2018 2:19 pm
by B.Y.O.B.
Thanks for the report. It was a bug in the addon, I fixed it:
https://github.com/LuxCoreRender/BlendL ... issues/211
Commit:
https://github.com/LuxCoreRender/BlendL ... 35b531789a
The fix will be availabe in v2.0.1 and v2.1alpha4, whichever is released first.
Re: material id
Posted: Thu Sep 13, 2018 10:32 pm
by pepe
Thank You and all team for this nice engine.
Re: material id
Posted: Mon Sep 17, 2018 11:20 am
by Dade
I added the support for new MATERIAL_ID_COLOR AOV:
The material ID is transformed in a color trough the usual process (like for MATERIAL_ID AOV saved in a .png: the 3 bytes of the int value are read as #RRGGBB).
Re: material id
Posted: Tue Sep 18, 2018 4:18 am
by pepe
...a big thank you.
Re: material id
Posted: Tue Sep 18, 2018 5:56 am
by Dez!
Wait!
I correctly understand that in alpha 4 there will be a new material indentifier working better than in Cycles?
Re: material id
Posted: Tue Sep 18, 2018 9:39 am
by B.Y.O.B.
Dade wrote: ↑Mon Sep 17, 2018 11:20 am
I added the support for new MATERIAL_ID_COLOR AOV
Great, I'll add the support to the Blender addon.