Object ID access in materials

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

Re: Object ID access in materials

Post by Dez! » Sat Oct 13, 2018 3:50 am

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 Gnome | Dell Inspiron 7000 | Wacom
http://dezigner.tilda.ws/

User avatar
B.Y.O.B.
Developer
Posts: 1718
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. » Sat Oct 13, 2018 7:40 pm

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...
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1718
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. » Mon Oct 15, 2018 12:34 am

Found and fixed the crash.
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1718
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. » Wed Oct 17, 2018 10:53 am

This feature is merged and will be available in the next release.
https://wiki.luxcorerender.org/LuxCoreR ... features_2
Support LuxCoreRender project with salts and bounties

User avatar
FarbigeWelt
Posts: 298
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Object ID access in materials

Post by FarbigeWelt » Wed Oct 17, 2018 11:08 am

In 2017, luxcore days, I‘ve played around with python snippets to get this image:
1CE8FC5D-2957-4BD1-974A-B437D668267F.jpeg
Ring to ring them all.
What do you think, B.Y.O.P., is something similar possible with the new feature?
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
B.Y.O.B.
Developer
Posts: 1718
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Object ID access in materials

Post by B.Y.O.B. » Wed Oct 17, 2018 11:29 am

Yes.
Support LuxCoreRender project with salts and bounties

Post Reply