Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: 15845646656@163.com on 2022-12-04, 15:46:36

Title: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-04, 15:46:36
I have a problem when rendering the glass material. The refraction of the glass material seems to be incorrect, and there will be some uncontrollable bending and light and shadow in the refraction. Why do you ask for help
Title: Re: Ask for help with reflection problem of glass material
Post by: burnin on 2022-12-04, 19:16:56
Hello & Welcome!

Care to make it easier to help you and provide a scene with a reference image? 
Since issue can be anything from bad geo, lighting, materials...
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-05, 03:11:09
Hello & Welcome!

Care to make it easier to help you and provide a scene with a reference image? 
Since issue can be anything from bad geo, lighting, materials...

Thanks for your help
Title: Re: Ask for help with reflection problem of glass material
Post by: burnin on 2022-12-05, 11:35:39
What about your visual reference? What should it look like?
Title: Re: Ask for help with reflection problem of glass material
Post by: romullus on 2022-12-05, 19:03:47
Check if bottom of the glass doesn't touch ground plane. It should float slightly above the ground, otherwise there's a risk to run in z-fighting, which leads to visual artifacts similar to that in your attached picture.
Title: Re: Ask for help with reflection problem of glass material
Post by: Beanzvision on 2022-12-06, 14:36:37
Hi, I reproduced your model on the right and can't say I see any issues here either. When you say seems to be incorrect, can you share with us how it's meant to be?

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=38615.0;attach=175652;image)
Title: Re: Ask for help with reflection problem of glass material
Post by: maru on 2022-12-06, 15:00:06
Perhaps the object is just too low-poly? Maybe subdividing it more would help?
Title: Re: Ask for help with reflection problem of glass material
Post by: tuami on 2022-12-09, 10:44:04
I have a similar problem when bevel when using bevel deformer. Relection is distorted
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-09, 10:57:00
What about your visual reference? What should it look like?

Something like this very nice refraction
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-09, 10:58:48
Check if bottom of the glass doesn't touch ground plane. It should float slightly above the ground, otherwise there's a risk to run in z-fighting, which leads to visual artifacts similar to that in your attached picture.

Thanks, I'm also wondering if it's because of the environment
Title: Re: Ask for help with reflection problem of glass material
Post by: Nejc Kilar on 2022-12-09, 11:01:51
I have a similar problem when bevel when using bevel deformer. Relection is distorted

Don't forget to hit that "Phong Break Rounding" button (second to last at the bottom) on your bevel deformer otherwise the flat surfaces are going to get smoothed as well and your materials / objects (refractive or not) won't look as they should. They'll look weirdly bendy.

As a tip, I set that "Phong Break Rounding" toggle to on and just save it as a default Bevel preset so I don't have to bother with it every time I create a new bevel deformer.

The "Phong Break Rounding" thing, when set to off, is great for organic surfaces but really not cool for non-organic stuff.
Title: Re: Ask for help with reflection problem of glass material
Post by: tuami on 2022-12-09, 11:07:50
I have a similar problem when bevel when using bevel deformer. Relection is distorted

Don't forget to hit that "Phong Break Rounding" button (second to last at the bottom) on your bevel deformer otherwise the flat surfaces are going to get smoothed as well and your materials / objects (refractive or not) won't look as they should. They'll look weirdly bendy.

As a tip, I set that "Phong Break Rounding" toggle to on and just save it as a default Bevel preset so I don't have to bother with it every time I create a new bevel deformer.

The "Phong Break Rounding" thing, when set to off, is great for organic surfaces but really not cool for non-organic stuff.


Thanks that worked!
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-09, 11:16:47
Hi, I reproduced your model on the right and can't say I see any issues here either. When you say seems to be incorrect, can you share with us how it's meant to be?

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=38615.0;attach=175652;image)

I think the refraction in places like this is a bit sharp and not smooth. I don’t know if it’s my environment or the model.
Title: Re: Ask for help with reflection problem of glass material
Post by: burnin on 2022-12-12, 14:11:54
to represent image realistically, you must take into account all phenomena that occurs IRL
no glass is perfect - it's imperfections and medium/vol. properties that characterize half of it , other half being the environment (could use better one, more dynamic to get a play w/ caustics)

here's a bit leveled up to get you going further... you can also add roughness/dirt, turn on dispersion, change env...
Title: Re: Ask for help with reflection problem of glass material
Post by: JPeters on 2022-12-14, 14:53:30
And if all else (modifiers) fail, just poly-modelling it usually fixes all the errors, but it takes a bit more time :)
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-15, 03:23:57
to represent image realistically, you must take into account all phenomena that occurs IRL
no glass is perfect - it's imperfections and medium/vol. properties that characterize half of it , other half being the environment (could use better one, more dynamic to get a play w/ caustics)

here's a bit leveled up to get you going further... you can also add roughness/dirt, turn on dispersion, change env...

Thanks for the help
Title: Re: Ask for help with reflection problem of glass material
Post by: 15845646656@163.com on 2022-12-15, 03:24:18
And if all else (modifiers) fail, just poly-modelling it usually fixes all the errors, but it takes a bit more time :)

Thanks for the help