Sphere thickness with shell modifier

Hi
I wanted to know how can I achieve the same ressult as V-Ray in a sphere where I have applied a shell modifer to simulate inner thickness.
As you can see in the example Corona has a very thin inner amount and Vray has a thicker result, I have tried changing the max ray depth in both engines but I still get the same ressult.
If I increase the inner amount, I need to change the volumetric scattering distance but still theres no thickness.




Hmm, not sure what effect you are trying to achieve, but from your examples the V-ray looks physically incorrect, especially the thicker one. I think by default V-ray material is set to ignore total internal reflection, or something like that. At least that was in the old days, i don’t use V-ray, so my knowledge here is pretty limited. Corona material is set to be physically accurate from the start.

Hi, Thanks for answering

I think you mean the “reflect on back side” option, it doesnt matter if I turn off/on, I got basically the same ressult, this is something from refraction, in the past I have received confusing explanations from Corona developers about how refraction is working, at least when I want to do some cuastics experiments, and every explanation doesnt “explain” why i cannot do what I want.

I have already ask in V-Ray forum about this, it will be interesting for me to know both sides and read why these example has 2 different ressults, which is correct and how to reproduce the same ressults in both.

Hi,

What happens if you convert VRay material, which is of your liking, to Corona? Do you get similar/exact results - it is expected that VRay to Corona should look very similar, if not the same. Some limitations do apply, though, for volumetric scattering.

Hi Aram.
Thanks for answering, I have also tried converting and still got the same ressult in both engines, I even used V-Ray material in Corona since its the only one compatible AFAIK, but still the same ressult.

maybe number of rays, bounces plays a role

Can you please send the scene over, I will have a look.

Sure, hope theres something odd that I should change.
The file is on Max 2023 im using a HDR to light the scene, I have tried using 3ds Max physical camera and Corona camera, reset settings, still everything the same, I have this scene since Corona 8 with the same ressults.
Studio Materiales PBR Corona_Glass.7z (4.19 MB)

I have checked the scene.

Not sure what kind of setup you had initially, but if you setup the material exactly the same (e.g. Corona has single glossiness/roughness, VRayMtl should be set the same value for reflection and refraction), and scene lighting setup and override is the same, you should get very similar results:

http://corona-renderer.com/comparer/7UpSMY

You can check the scenes attached. I tried to match them as close as possible. Found out that e.g. an HDRI in environment slot is not quite the same as dome light with the same HDRI (dome light being invisible and affect reflections disabled). Overrides were a bit tricky to match too.
glass-scenes.7z (181 KB)

Woah, thanks Aram.
I never tried that configuration on V-ray because its not really necessary to use environment overrides when using vray dome, what I only wanted is to turn off hdr background visibility, setting it as invisible, but in Corona since you control everything in the environment I needed to activate reflections and refractions as the file to get similar effect as Vray. Is it something wrong with the config I used? Is this setting of vraydome affecting the … “physicality” of the material? I will ask in Vray forum about this.

Im intrige in which aproach is pyhisically correct and on the other hand, getting back to the original question, how can I set Corona to get the same ressult as V-Ray where you can see the thick from Shell modifier in the glass? is it possible?

I believe both are physically correct, considering the non-physical stuff done (overrides, invisible light etc.). But I would not bother about it. I would not say any of the setups is the correct way either, just use the one you see fit, toggle the parameters accordingly.

I am not sure what you mean, or what case you are referring to, by “how can I set Corona to get the same result as V-Ray, when you can see the thick from shell modifier in the glass”. I have demonstrated that almost exactly same glass render results can be achieved in both renderers, so that case should be the same. It is just a matter of setup, I think.

If you have the exact scene in VRay which you want to render the same in Corona, you can send it over and I will have a look when I have time. I believe you have sent only Corona scene.

Hi Aram.
Sorry, I tought it was clear which example I was referring to, in the original post I attached 4 images, 2 different shell thickness (1 cm and 3 cm) from Vray and Corona.
Im ataching again the ressult from 1cm thickness for both engines. The setup in V-Ray is very simple, I only turned on “invisible” in dome ligth and everything else is mostly the default setting, the material is exactly the same as Corona. The scene has 2 different kind of glass but the one that I focus is the clear tinted glass.

As you would see the ressult from V-Ray has a darker thickness than Corona and the reflections seems to be more noticeable. When increasing the shell inner amount in V-Ray the effect is even thicker but in Corona theres no thickness at all it only increases the absortion color and I need to increase the Vol Scattering distance. Hope all this makes sense.

Im attaching the same File but from V-Ray, I think its comming from Max 2026.



Studio Materiales PBR Vray_Glass.max (904 KB)

The thing is you are not doing direct comparison - VRay DomeLight cannot be rendered in Corona, it works differently than a simple environment map with default setup.

This is why it is important to bring the scene to as close setup in both Corona and VRay as possible (I am keeping the materials the same for both, VRayMtl, just changing scene lighting setup).
To do this, use max Bitmap as environment map for both renderers. To have white background (where the darkening is more visible), you need to add background in VRay VFB post. For this to work “correctly”, somewhat similar to Corona direct visibility override, change reflection and refraction affect channels in VRayMtl to Color only.

Now save the scene, and simply render it in Corona. Add White direct visibility override, disable ACES OT. You should get very similar results (no distinct darkening around edges):
http://corona-renderer.com/comparer/nDVogo

In short, VRayDomeLight lighting setup is the difference, it is simply not supported in Corona, for which there is a very clear error message in Corona log.

Thanks for the explanation Aram
I know Corona doesnt support Vraydome, I was wondering about having exactly the same ressult knowing the different aproaches for each engine.
I now understand that it requires an specific workaround for this case and its not quite comparable for the ressult I wanted.

It is definitely possible to get it similar to VRay - or, in general, a specific look.
If you want black edges, you can try setting specific material environment override through some falloff, or dark reflection environment override and brighter refraction environment override, to make things more contrasty. I think this is what actually happens in VRay with dome light, while black environment is present.

Here is an example for you. Make sure the map used in initial scene is accessible (in the same directory) by this scene.
glass-env-override.max (1.25 MB)