render error Insufficient Memory for Shadow Buffer for Light

Hey,

new problem now!

I’m trying to render out cast shadows onto geometry from the particles. I followed the steps in this tutorial :
thinkboxsoftware.com/krak-sh … -geometry/

I saved out a render with attentuation maps saved and with all the lights I need set to krakatoa shadows ( with subgroup shadow maps )

and get this error when rendering with scanline and geo and matte/shadow shader

“render error Insufficient Memory for Shadow Buffer for Light”

I believe this is an error message that is actually caused by MISSING data in the Krakatoa Shadow Generator. For example a light has the Krakatoa Shadows Generator set up, but the file it points at is missing.
Can you make sure all lights have correct shadow generators (via the Shadows Explorer), and that all files referenced actually exist for all frames you are rendering?

EDIT: I tested in v2.0.2 and in v2.1.0 Beta and both are showing me correct error messages when a frame has no shadow file. I seem to remember seeing that error in older versions, but cannot reproduce it now. What version are you running exactly?

we are using 1.6.1.44739

Ill run some more tests and make sure the shadow files are being written and used correctly.

Ok I doubled check the attenuation maps are being written and loaded with the correct path and the error has now gone. BUT, I’m not getting any shadows when I switch to scanline.

I’m just using a plane to receive shadows, 1 omni, and a teapot ( prt volume ) for shadow casting. everything in the shadow explorer looks ok too. I’m not sure what I’m missing here.
kraktoa_shadow_test.max (364 KB)

Is the plane set up as a Matte Object in the Krakatoa rendering? It will only receive shadows if it is a matte.

I will certainly try that. I followed this tutorial and I don’t see that anywhere. I see sentence about adding matte object if you want geo to CAST shadows on your particles, but nothing about creating matte objects for objects receiving shadows.

thinkboxsoftware.com/krak-sh … -geometry/

I just added the plane as a matte object and still no shadows :stuck_out_tongue: Is there something I am forgetting?

  1. change the light shadow type to krakatoa shadows and set raytraced shadows as sub group
  2. turn on save attentuation maps and open explorer and make sure the lights have everything setup and correct paths
  3. added scene geo to matte objects selection set and turn on matte objects
  4. render image/export att maps
  5. switch to scanline , force 2 sided on and check lights to ensure they’re using the correct paths for attenuation maps.
  6. change render output path and render geo with scanline

still no particle shadows on geo

did I miss something?

You are right, the matte objects affect the shadows ON particles, not the receiving of shadows from Attenuation Maps.

I did the following in 1.6.1:

*Assigned Krakatoa as the renderer.
*Created a Plane.
*Created a Teapot.
*Converted the Teapot to PRT Volume.
*Created a Target Spot illuminating the Teapot.
*Set the Shadows to Krakatoa Shadows with Shadow Maps as sub-shadow type, left everything at defaults.
*Set the Render Output path to save as “TestKrakatoa.exr”
*Enabled the “Save Attenuation Maps” option
*Rendered a frame
TestKrakatoa.png

*Switched to Scanline Renderer
*Changed the Output to “TestScanline.exr”
*Rendered.
TestScanline.png

Below is the simple alpha composite using Video Post and the Max file (2012) that I used.
TestScanlineKrakatoa.png
ShadowTest.zip (33.7 KB)