Object ID access in materials

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dez!
Posts: 368
Joined: Sun Apr 08, 2018 1:09 am
Location: Ekaterinburg
Contact:

Re: Object ID access in materials

Post by Dez! »

Inline compositing in Blender is a very powerful tool.
It is very useful to have such a tool for identifying objects for him.
it will make the results even more amazing!
Linux Plasma | Ryzen 5, 32Gb, SSD M2, GT 590 RX | BenQ 27 | Wacom One | Microsoft Ergo | Tie Guan Yin tea
http://dezigner.tilda.ws/
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. »

I have ported the three ObjectID textures to OpenCL, but they keep crashing on Intel OpenCL CPU device, and on AMD GPU they create heavy color artifacts that look like NaNs to me.
Debugging...
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. »

Found and fixed the crash.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. »

This feature is merged and will be available in the next release.
https://wiki.luxcorerender.org/LuxCoreR ... features_2
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Object ID access in materials

Post by FarbigeWelt »

In 2017, luxcore days, I‘ve played around with python snippets to get this image:
Ring to ring them all.
Ring to ring them all.
What do you think, B.Y.O.P., is something similar possible with the new feature?
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. »

Yes.
Post Reply