Glass ad caustic issue
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Glass ad caustic issue
I have a problem with the glass, when i use RoughGlass caustic is much better than Clear Glass and with thin glasses, i can not get good results. is the same when two glasses are inside each other.
Can anyone put me in the right direction here?Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Glass ad caustic issue
Have you enabled light tracing (aka hybrid rendering) ? Otherwise rough glass caustics are a lot easier to render for plain path tracer than sharp glass one.
Try to use a point light: at that point caustics can not be rendered at all without light tracing.
Try to use a point light: at that point caustics can not be rendered at all without light tracing.
Re: Glass ad caustic issue
Here is my scene, i do not know why the vine render in the blank after it goes behind the glass. can you take a look at the scene, please?
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Glass ad caustic issue
You need to enable hybrid path/light tracing with the following .cfg properties:
Code: Select all
# For CPU rendering
path.hybridbackforward.enable = 1
path.hybridbackforward.partition = 0.8
path.hybridbackforward.glossinessthreshold = 0.05
# Or for CPU+GPU rendering
path.hybridbackforward.enable = 1
path.hybridbackforward.partition = 0.0
path.hybridbackforward.glossinessthreshold = 0.05
Notice how the rough glass caustic is noisy because it is still done trough normal path tracing (it has U/V roughness is 0.1). If you set
Code: Select all
path.hybridbackforward.glossinessthreshold = 0.11
Hybrid Back/Forward path tracing (aka BiDir without MIS) is described here: viewtopic.php?f=5&t=1187
Re: Glass ad caustic issue
Great thank you i get the caustic result, what about the black color with vine when it is inside of the glass.
Also, there is a strange color in the middle of the glass.
Also, there is a strange color in the middle of the glass.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Glass ad caustic issue
It is an SDS, something not even plain BiDir can render. You need to use shadow transparency for the glass or caustic cache:
- viewtopic.php?f=5&t=1474 (check the orange juice glass rendering)
- viewtopic.php?f=5&t=2927 (but it can be used with path tracing too)
Re: Glass ad caustic issue
Thank you i did not see that option in the wiki so i missed it, is this a common parameter and can be added to all materials?Dade wrote: ↑Sun Apr 18, 2021 2:08 pmIt is an SDS, something not even plain BiDir can render. You need to use shadow transparency for the glass or caustic cache:
- viewtopic.php?f=5&t=1474 (check the orange juice glass rendering)
- viewtopic.php?f=5&t=2927 (but it can be used with path tracing too)
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Glass ad caustic issue
Re: Glass ad caustic issue
It is much much better and almost most part working but still, I'm not able to get rid of the black parts. Vine inside the glass and button of the glass.
For Material, add:
of course, i tried to tweak the parameters with no luck.
the only option that works a bit was transparency but made the vine a bit unrealistic.
that's my parameters with PATHOCL
Code: Select all
path.hybridbackforward.enable = 1
path.hybridbackforward.partition = 0.0
path.hybridbackforward.glossinessthreshold = 0.05
Code: Select all
scene.materials.glass-right.transparency.shadow = 0.85 0.85 0.85
the only option that works a bit was transparency but made the vine a bit unrealistic.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Glass ad caustic issue
Try to rise the glasses if the bottom is touching the aground plane, it can be a problem.
I assume you have already raised the path max. depth too.
I assume you have already raised the path max. depth too.