Light linker questions (unstable behavior with Redshift)

   Views 535   Replies 3   Subscribers 2
User Avatar
Member
85 posts
Joined: Aug. 2017
Offline
Hey, just a loose question. We use exclusively Redshift + Solaris, and Light Linker is always a problem for us. It often just breaks. Some rules work in the viewport but stop applying in the final render etc.

Firstly, I wanted to ask if Light Linker lop is known to cause trouble in Karma as well, or is it considered rock-solid?

Secondly, I was wondering if it's possible to control light linking with Python?
User Avatar
Member
225 posts
Joined: Jan. 2015
Offline
I had problems with both. Using light linker as last resort now.
User Avatar
Staff
4227 posts
Joined: Sept. 2007
Offline
The light linker should be fairly functional (at it's core, it's just setting up collections), though please log any bugs you discover.

Yes you can control light linking with Python; this unit test from the USD repo should help get you going: https://github.com/PixarAnimationStudios/OpenUSD/blob/v24.08/pxr/usd/usdLux/testenv/testUsdLuxLinkingAPI.py [github.com]

If you find some use case where light linker works with Karma, but not RedShift, it's likely a bug for the RedShift team to look into. Otherwise, please log a bug for us. Thanks!
I'm o.d.d.
User Avatar
Member
85 posts
Joined: Aug. 2017
Offline
@goldleaf Thank you very much for providing the script I always try to narrow things down, test them in a vacuum with a minimal reproducible example. If light linking won't work when using raw Python code as well, then clearly Light Linker as a tool is innocent. That being said, sometimes it seems like the linker is not working, but then it turns out that something else was at fault.
  • Quick Links