GPU rendering: object fade issue

Started by RRIS, January 15, 2021, 04:13:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RRIS

I'm not sure if this is a known issue, but I'm trying to render an animation with several objects fading in and out from 0 to 100% opacity. The problem is that in GPU mode, the invisible objects are partially still visible as some kind reflection or light.. it's really weird. In CPU mode there is no problem, but I'm not looking forward to rendering this animation over the course of a day when it should be done in a few hours tops.
I've tried changing the object shaders, but that doesn't do anything to solve it.

RRIS

I think I have pinpointed the issue. It has to do with environment illumination. If you light your scene with object lights, everything's fine. If you have light coming from an environment, you get the ghosting.
I've attached a ksp with a fading cube to show the issue. Switch between environments (one is black) to show the problem. It's visible at the end of the animation timeline when the top cube is fully transparent.

RRIS

Follow-up:

The issue with the fade is only visible when I use the Animation Wizard to create the fade.
If I use a Color Fade node in the material editor and link it to the Opacity of the shader, then everything works as expected and the object just disappears correctly.
Thought it might be useful to know for those who have the same issue.

RRIS

#3
At the off-chance that anybody finds this interesting or is also dealing with this issue.. I'm no longer seeing the issue if I enable GI + caustics in GPU mode. Only GI though and the fade doesn't work properly anymore.

designgestalt

hello RRIS,
I found this very helpful!
Thanks for posting this !

cheers
designgestalt

ifeldown

I am having the same issue in KS9, not using GPU mode but when trying to use the animation wizard (I do have GI and caustics on).  Essentially the faded out material stays (I am rendering a diamond) and causes the visble one to be distorted (totally black instead of clear).

Mrcl

Thanks RRIS
I had the same issue.
That was very helpful to me.




melzel13

Thank you for posting. I am having the same issue and I am working on a mac. Is there any way to resolve this?

Kuba Grabarczyk

I am having the same issue. Using Keyshot 10.2 Pro when using fade animation and the GPU mode some parts are flickering showing up and hiding themselves even though it should be faded out. I do not use animation wizzard, just righ clicking on the object name and choosing animation>fade, My GPU is RTX 2070,

Interesting: it works perfectly fine with CPU
Interesting 2: it WORKED perfectly fine when I set up all the fading animations, the issue appears when I close Keyshot and run it again (it means I lost the only chance to render it when I closed the keyshot)

Can anyone from Keyshot support team try to help here? It seems to be major issue and so far nobody cared about it...

wayneheim

I'm having the same terrible issue with 10.2. Fade from 0-100 and at about 98% it jumps to 100% and you get a flicker.  Also having issue with objects that are hidden (fade from 0%-0%) are showing up when something overlaps them that has transparency to them as well. Now things seem to improve when I go into gpu mode but rendering in gpu is too slow.

Note, anyone doing animation rendering, if you render the scene in background, KS will only send the resources to your card on the first frame vs every frame. Problem is that when rendering using gpu, my KS only uses at max 35% of any of my 3 gpu's but in live view it uses 100% of all. So it is faster for me to render animation via cpu (dual xeon).