You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: Gaffer 1.3.16.7-linux Third-party tools: Arnold Third-party modules: proprietary plugins
Description
At IE we have mesh light visualisations that were working in 1.2, but have since stopped in 1.3+. Not quite sure whether to put this as a bug or a feature, but for now it's a bug since it's a feature that existed but now doesn't.
The implementations involve adding a shader to the state passed into visualise. I have traced the bug to this commit and this PR.
During an internal and offline conversation with @danieldresser, he suggested that the issue is due to Gaffer doing two render passes and sharing one depth buffer, which was checked by adding DepthTestStateComponent(false) to the visualiser state (this fixed the problem, but only when the mesh light was not selected). This comment suggest that there is options to extend the API to to allow visualiser state to also be specified for ColorSpace::Scene.
At IE we would like the option to visualise how mesh lights look, especially when using camera textures.
These were broken by cfc3857, where we assumed that such visualisations should be rendered with the Display color space. This led to them being rendered after the main Scene color space, meaning that the depth test prevented the texture visualisation from being seen. We now use a heuristic that means such visualisations are rendered first in Scene color space instead.
In theory we could extend the Visualiser API to allow two states to be specified - one for Display space and one for Scene space. But that would require an ABI break, and we want this fix to go into 1.3. We also have so few uses for the visualisation state that it seems like overkill at this point.
FixesGafferHQ#6002.
Version: Gaffer 1.3.16.7-linux
Third-party tools: Arnold
Third-party modules: proprietary plugins
Description
At IE we have mesh light visualisations that were working in 1.2, but have since stopped in 1.3+. Not quite sure whether to put this as a bug or a feature, but for now it's a bug since it's a feature that existed but now doesn't.
The implementations involve adding a shader to the
state
passed intovisualise
. I have traced the bug to this commit and this PR.During an internal and offline conversation with @danieldresser, he suggested that the issue is due to Gaffer doing two render passes and sharing one depth buffer, which was checked by adding
DepthTestStateComponent(false)
to the visualiser state (this fixed the problem, but only when the mesh light was not selected). This comment suggest that there is options to extend the API to to allow visualiser state to also be specified forColorSpace::Scene
.At IE we would like the option to visualise how mesh lights look, especially when using camera textures.
Steps to reproduce
The text was updated successfully, but these errors were encountered: