jsmack
Dec. 3, 2019 12:46:40
In mantra there was vm_rendervisibility which let you compose the visibility bit mask using a human readable string with simple syntax. There was also a dropdown with common choices.
There is a ‘visibility mask’ primvar on the rendergeometrysettings node for Karma, but it's an integer that takes a raw bitmask. Until there's some better UI for this, is there a table or some tool/python that can be used to convert mantra visibility string to a karma bitmask?
mark
Dec. 6, 2019 13:47:09
Right now, the visibility mask is set using the USD purpose render tags.
https://graphics.pixar.com/usd/docs/api/class_usd_geom_imageable.html#a6071458f7f849cb36a1b467795f2c1aa [
graphics.pixar.com]
We realize this is limiting, and will likely expand on this in the future.
tamte
Dec. 6, 2019 14:44:22
would be great to have something as powerful as LPE for defining visibility
ben toogood
Dec. 6, 2019 15:43:55
This has been on my list of queries for Solaris so thanks for the hints, but I'm not sure the link to the USD purpose tags has helped me get my head around it.
We're looking to (for example) make an object invisible to primary (camera) rays i.e. phantom. I've had no luck using the Visibility Mask on the Render Geometry Settings node - the int bitmask value is set on the relevant paths but I've not been able to find a value for that attribute that has any effect.
Setting ‘Is Matte’ works fine for hold outs, but it would seem very natural to have a simple ray visibility control on that Render Geometry Settings node too.
Do you (Mark) have an example of how to approach this (phantom) with purpose tags?
cheers
jsmack
Dec. 9, 2019 12:32:22
The purpose tags cannot set per raystyle visibility. This feature is just not implemented yet.
Noboru_Garcia
April 5, 2020 21:04:44
I really like what you have done with the light linker. I wish visibility could be set with a similar tool specifically a visibility linker.
Andy_23
Sept. 20, 2021 02:04:33
Thank you, this thread helped me alot.