Enabling Caustics with XPU
3750 12 2- tbay312
- Member
- 65 posts
- Joined: 8月 2015
- Offline
Hello SideFX,
I am currently putting together a variety of render tests for Karma XPU + Redshift, and I'm having some troubles with caustics.
Here is what the progressive render shows me in viewport:
Here's what I've done to try enabling it:
Karma Render Settings --> Geo and Shading --> Enable Caustics ON
Diffuse Limits = 3
Reflection Limit = 4
Refraction Limit = 8
Render Geometry Settings LOP --> Karma --> Enable Caustics, Evaluate BSDF On Fake Caustics ON for refractive objects
On the lights I have 2 area lights ---> Karma --> Contributes to Caustics ON
On the materials... Karma Material Properties --> Shading --> Enable Caustics ON
Also, I went to the Karma Render Settings --> Advanced --> Buckets and Caching --> Image Mode = Bucket with 0 progressive passes. However, in viewport, it does not feature bucket rendering. I also ensured that the viewport is listening to the Karma render settings node properly.
After rendering to disk, caustics still do not appear.
Here is a render similar to what I would expect:
My PC + Software specs are mentioned in the image above as well.
Thanks for any and all help!
- Tyler
I am currently putting together a variety of render tests for Karma XPU + Redshift, and I'm having some troubles with caustics.
Here is what the progressive render shows me in viewport:
Here's what I've done to try enabling it:
Karma Render Settings --> Geo and Shading --> Enable Caustics ON
Diffuse Limits = 3
Reflection Limit = 4
Refraction Limit = 8
Render Geometry Settings LOP --> Karma --> Enable Caustics, Evaluate BSDF On Fake Caustics ON for refractive objects
On the lights I have 2 area lights ---> Karma --> Contributes to Caustics ON
On the materials... Karma Material Properties --> Shading --> Enable Caustics ON
Also, I went to the Karma Render Settings --> Advanced --> Buckets and Caching --> Image Mode = Bucket with 0 progressive passes. However, in viewport, it does not feature bucket rendering. I also ensured that the viewport is listening to the Karma render settings node properly.
After rendering to disk, caustics still do not appear.
Here is a render similar to what I would expect:
My PC + Software specs are mentioned in the image above as well.
Thanks for any and all help!
- Tyler
- jsmack
- Member
- 8041 posts
- Joined: 9月 2011
- Offline
tbay312
Karma Render Settings --> Geo and Shading --> Enable Caustics ON
Diffuse Limits = 3
Reflection Limit = 4
Refraction Limit = 8
Render Geometry Settings LOP --> Karma --> Enable Caustics, Evaluate BSDF On Fake Caustics ON for refractive objects
On the lights I have 2 area lights ---> Karma --> Contributes to Caustics ON
On the materials... Karma Material Properties --> Shading --> Enable Caustics ON
Also, I went to the Karma Render Settings --> Advanced --> Buckets and Caching --> Image Mode = Bucket with 0 progressive passes. However, in viewport, it does not feature bucket rendering. I also ensured that the viewport is listening to the Karma render settings node properly.
After rendering to disk, caustics still do not appear.
What is the color limit set to? The default is 10, which will prevent all but the broadest light sources from generating caustics. Try removing the limit by setting it to something arbitrarily high like 1e9 to see if shows up then.
- tbay312
- Member
- 65 posts
- Joined: 8月 2015
- Offline
Hey jsmack,
Thanks for the reply. That definitely seemed to help a bit. I just set it to a high color limit like 99999999 and it looks like something is starting to show up:
But, it's still not close to the RS comparison yet. I'll keep on messing around with some settings and if I can't figure it out, then I'll just run with this and move onto the next test.
Thanks for the reply. That definitely seemed to help a bit. I just set it to a high color limit like 99999999 and it looks like something is starting to show up:
But, it's still not close to the RS comparison yet. I'll keep on messing around with some settings and if I can't figure it out, then I'll just run with this and move onto the next test.
- tamte
- Member
- 8786 posts
- Joined: 7月 2007
- Offline
tbay312from your screenshot it looks like you are using biased photon based caustics in RS, which you can do in Mantra but not Karma
But, it's still not close to the RS comparison yet. I'll keep on messing around with some settings and if I can't figure it out, then I'll just run with this and move onto the next test.
for path traced caustics you likely need either path guiding or some bidirectional technique like VCM probably using a dedicated caustic sampler
Karma supports path guiding in CPU, so maybe you can try that first and see if you start seeing something and if so you can switch back to GPU, increase your sampling to infinity and wait for them to show up eventually
if you want to have real fun though, load your scene in Omniverse, turn on iRay's Caustic Sampler and watch your detailed caustics appear almost real time, it feels like magic
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- tbay312
- Member
- 65 posts
- Joined: 8月 2015
- Offline
The iRay Caustic Sampler sounds like a dream! haha Thanks for the info Tamte.
This whole project is a massive render test comparison between Redshift and Karma that's designed to help artists understand the various pros/cons. So, if I can't figure something out within 5 hours, (after digging through the documentation + other videos), then it's too complicated for the average artist to use, and I'll just go with the render as is.
On one hand, I want to make sure that the tests / capabilities are shown properly. On the other hand, the average artist doesn't have time in production to fiddle around with something that's technically possible but also difficult to figure out. They got deadlines breathing down their necks without time to fiddle around with it. So, in that spirit, I decided to move on with a different test.
Thanks for the help!
- Tyler
This whole project is a massive render test comparison between Redshift and Karma that's designed to help artists understand the various pros/cons. So, if I can't figure something out within 5 hours, (after digging through the documentation + other videos), then it's too complicated for the average artist to use, and I'll just go with the render as is.
On one hand, I want to make sure that the tests / capabilities are shown properly. On the other hand, the average artist doesn't have time in production to fiddle around with something that's technically possible but also difficult to figure out. They got deadlines breathing down their necks without time to fiddle around with it. So, in that spirit, I decided to move on with a different test.
Thanks for the help!
- Tyler
- tamte
- Member
- 8786 posts
- Joined: 7月 2007
- Offline
tbay312In that case try CPU with Photon Guiding as in my experience that's the only way to get semi decent caustics out of Karma in your type of scene
On the other hand, the average artist doesn't have time in production to fiddle around with something that's technically possible but also difficult to figure out
XPU caustics are pure brute force so that may be more suitable for relatively easy caustics like under small water droplets, anything more complex will most likely not find enough light paths to actually resolve to a decent quality for denoisers
Edited by tamte - 2024年2月16日 16:12:56
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jsmack
- Member
- 8041 posts
- Joined: 9月 2011
- Offline
- Siavash Tehrani
- Member
- 729 posts
- Joined: 7月 2005
- Offline
tamtetbay312
if you want to have real fun though, load your scene in Omniverse, turn on iRay's Caustic Sampler and watch your detailed caustics appear almost real time, it feels like magic
That sounds lovely. Can we get that SideFX?
Meanwhile the caustics at home. 10,000 samples with XPU and optix denoiser. I'll have to try CPU with path guiding.
Btw Tyler, if you are doing any sort of comparisons with refractive surfaces, one thing to watch out for is the Enable Internal Reflections setting in H20: https://www.sidefx.com/forum/topic/93357/ [www.sidefx.com]
Edited by Siavash Tehrani - 2024年2月16日 19:27:38
- MR SMITH
- Member
- 32 posts
- Joined: 8月 2011
- Offline
- Komp
- Member
- 1 posts
- Joined: 12月 2020
- Offline
Hi Tyler,
I´m very interested to see results for your "render tests for Karma XPU + Redshift".
I used the last days to check Karma caustics too, and can say that you´re opinion is complete correct.
Basically it is very easy to activate true caustics...check it in the render settings.
But then, internal reflections are off by default, which is also a must for caustics Off!
And then, I see nothing than noise.
Searched for hours to find the correct parameters for noise free secondary diffuse and refraction rays...
Nothing helps. Not higher diffuse samples, not light samples, not settings the color limit to infinity.
Nearby no difference in the noise amount.
Path trace samples to 15000 was the only way to see a better/lower noise result, but looks like it needs 50000 or so.
Absolute not usable in this moment.
Cheers
I´m very interested to see results for your "render tests for Karma XPU + Redshift".
I used the last days to check Karma caustics too, and can say that you´re opinion is complete correct.
Basically it is very easy to activate true caustics...check it in the render settings.
But then, internal reflections are off by default, which is also a must for caustics Off!
And then, I see nothing than noise.
Searched for hours to find the correct parameters for noise free secondary diffuse and refraction rays...
Nothing helps. Not higher diffuse samples, not light samples, not settings the color limit to infinity.
Nearby no difference in the noise amount.
Path trace samples to 15000 was the only way to see a better/lower noise result, but looks like it needs 50000 or so.
Absolute not usable in this moment.
Cheers
- atitimar
- Member
- 5 posts
- Joined: 1月 2019
- Offline
Hello,
I tried the karma xpu caustics settings.
Reflective caustics work quite well.
Refractive caustics can be made to work with extreme parameters.
I think they can be used for still images.
It probably flashes in animation, I haven't tried it.
I have the color limit = 10.
Not sure if this is the solution.
But it can help.
Greeting
I tried the karma xpu caustics settings.
Reflective caustics work quite well.
Refractive caustics can be made to work with extreme parameters.
I think they can be used for still images.
It probably flashes in animation, I haven't tried it.
I have the color limit = 10.
Not sure if this is the solution.
But it can help.
Greeting
Edited by atitimar - 2024年3月27日 20:04:38
- cushwa
- Member
- 12 posts
- Joined: 11月 2018
- Offline
Have there been any improvements to Karma XPU refractive caustics in H20.5? I have a client who won't even think about rendering in Karma until the refractive caustics are top notch! We are doing all cosmetics and glass. Refractive caustics are super important in that particular market.
Edited by cushwa - 2024年7月12日 10:52:27
- Latimerias
- Member
- 28 posts
- Joined: 8月 2020
- Offline
-
- Quick Links