Object ID access in materials

Discussion related to the Engine functionality, implementations and API.
User avatar
Dez!
Posts: 112
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: 2252
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: 2252
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: 2252
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
Donor
Posts: 483
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?
160.8 | 42.8 (10.7) Gfp / Windows 10 Pro, intel i7 4770K@3.5, 32 GB | AMD R9 290x+R9 390x, 4 GB
17.3 | 19.0 ( 4.7) Gfp / macOS X 13.6, iMac 27'', 2010, intel i7 870@2.93, 24 GB | ATI Radeon HD 5750, 1 GB
#luxcorerender | Gfp = SFFT Gflops

User avatar
B.Y.O.B.
Developer
Posts: 2252
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