Author Topic: Faster caustics + volumetric caustics playground!  (Read 2983 times)

2024-10-11, 18:06:57

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
The newest daily build of Corona features new improved caustics. They can be used inside volumes, be it global volume, Corona Volume Grids, Phoenix simulations, smoke, fog, murky water - you name it! They also generally render faster both on surfaces and in volumes. You can also control the intensity of surface caustics and volume caustics independently (in Render Setup > Performance).

Please note that this feature is still a work in progress, so treat the following examples as pre-production samples. We are working on further improvements!


Quick how to:
- Set up your objects with volumetric materials
- Cast some caustics onto them (directly with a Corona light, through a refractive object, reflected off a metallic surface,...)
- Make sure you have the Caustics Solver enabled in Render Setup > Performance
- Render!

Comparison 1 - https://corona-renderer.com/comparer/rrnDiG

Comparison 2 - https://corona-renderer.com/comparer/TEvjq2
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-10-12, 04:05:09
Reply #1

CharlyRT

  • Active Users
  • **
  • Posts: 125
    • View Profile
Finally, a Caustic Multiplier!!!!!!
I have been asking for this for years!!!!
Glad that its finally here
Carlos Rodriguez
RTstudio​
www.instagram.com/rtstudio.archviz/

2024-10-18, 01:07:22
Reply #2

marchik

  • Active Users
  • **
  • Posts: 282
    • View Profile
I'm happy as a clam, I've been waiting for this for several years. The only thing is that since the caustics in volumetrics need the volumetrics itself, it has now become treacherously noticeable how slowly volumetrics renders with the Inside Volume mode. Now this is a desired improvement. (and of course the ability to render caustics by region)

As for the caustics itself, everything works nice, I haven't encountered a single bug yet (once, however, it simply disappeared until I moved the camera a little). It has become much faster and cleaner, thanks to the devs!


« Last Edit: 2024-10-18, 01:18:17 by marchik »

2024-10-18, 09:13:12
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
it has now become treacherously noticeable how slowly volumetrics renders with the Inside Volume mode.
You used this mode in the "sphere" example, right? I can only recommend increasing the step size as much as possible and enabling "single bounce only". 

Quote
(and of course the ability to render caustics by region)
This should now work better than before. If you render a region, this should not result in glitches/splotches, but under the hood caustics are calculated for the whole image, so there won't be as much speed up as expected.

Throwing one more. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-10-18, 14:10:03
Reply #4

marchik

  • Active Users
  • **
  • Posts: 282
    • View Profile
it has now become treacherously noticeable how slowly volumetrics renders with the Inside Volume mode.
You used this mode in the "sphere" example, right? I can only recommend increasing the step size as much as possible and enabling "single bounce only". 

Quote
(and of course the ability to render caustics by region)
This should now work better than before. If you render a region, this should not result in glitches/splotches, but under the hood caustics are calculated for the whole image, so there won't be as much speed up as expected.

Throwing one more. :)

Yes, where the smoke above the surface is not uniform, which is usually the case in scenes closer to production. I even had to do this pic with a step size of 25 cm and render it in a very low resolution, I'm afraid to imagine what will happen in a real exterior scene, for example, like yours with the pool.

I recently had scenes with a hot jacuzzi, where I would like to get caustics from a light source at its bottom, passing through a layer of bubbling water and steam above it. Naturally, this will be the noisiest place in the whole scene and I would definitely use a render region after the rest of the scene is ready. But, according to my tests, rendering with a region still creates splotches for now, which then do not disappear later.

2024-10-18, 20:43:14
Reply #5

HannesN

  • Active Users
  • **
  • Posts: 6
    • View Profile
it has now become treacherously noticeable how slowly volumetrics renders with the Inside Volume mode.
You used this mode in the "sphere" example, right? I can only recommend increasing the step size as much as possible and enabling "single bounce only". 

Quote
(and of course the ability to render caustics by region)
This should now work better than before. If you render a region, this should not result in glitches/splotches, but under the hood caustics are calculated for the whole image, so there won't be as much speed up as expected.

Throwing one more. :)

This scene looks so awesome. Can you share it how you did this? I have never used caustsics till today - because it was not needed for my daily work.

Greetings Hannes

2024-10-21, 10:02:14
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
Here is my scene.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-10-22, 01:22:17
Reply #7

marchik

  • Active Users
  • **
  • Posts: 282
    • View Profile
A couple more comments:

Tested on a simple scene with a rectangular pool, water is a box with tessellation and a noise modifier on the upper polygon. Default Sun & Sky. Materials without displacement.

1) If I submerge the camera under water and turn OFF the "caustics in volumes" checkbox in the render setup, the caustics at the bottom of the pool are calculated incorrectly, turning from correct patterns into mush.

2)And I also noticed (I think I haven't noticed this before) that when the camera is half submerged and the Camera Physical Size option is turned on, this box casts a shadow and prevent caustics from appearing, which in my opinion isn't correct.

2024-10-22, 09:47:04
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
Hi Marchik, could you share this scene? (via PM/support portal/directly on the forum)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-10-23, 01:55:19
Reply #9

marchik

  • Active Users
  • **
  • Posts: 282
    • View Profile
Hi Marchik, could you share this scene? (via PM/support portal/directly on the forum)
Thanks for the response, maru, of course! I edited the scene in such a way that 2 problems became immediately visible.

2024-10-23, 13:49:46
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
Thanks a lot. They are both logged now.
caustics disappearing - (Report ID=CMAX-1349)
camera physical size casts shadow - (Report ID=CMAX-1350)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-11-07, 11:41:58
Reply #11

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13153
  • Marcin
    • View Profile
Both of the above issues are now fixed internally and the fix will be included in the next daily build. Meanwhile, here are some more shenanigans:
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us