Do Maya lights' shadow options have any affect?

Discussion and Support of Krakatoa Volumetric Particle Renderer for Autodesk Maya on Linux, OSX and Microsoft Windows
litote
Posts: 17
Joined: Sun Aug 20, 2017 3:52 am

Do Maya lights' shadow options have any affect?

Postby litote » Wed Nov 22, 2017 4:21 am

Hello,

Do the Shadows parameter options on Maya lights have any affect on rendering in Krakatoa, e.g. the Use Depth Map Shadows and Use Ray Trace Shadows options?

Thanks

User avatar
Conrad Wiebe
Posts: 778
Joined: Wed Aug 15, 2007 12:24 pm
Location: Thinkbox Software

Re: Do Maya lights' shadow options have any affect?

Postby Conrad Wiebe » Wed Nov 22, 2017 1:06 pm

The "Use Depth Map Shadows" and "Use Ray Trace Shadows" settings are both treated the same in Krakatoa.
Conrad Wiebe
Software Development Manager
Thinkbox Software

User avatar
Bobo
Posts: 6144
Joined: Tue Nov 15, 2005 10:26 am
Location: Vancouver, Canada
Contact:

Re: Do Maya lights' shadow options have any affect?

Postby Bobo » Wed Nov 22, 2017 1:43 pm

That being said, the Shadow Map Size used by Krakatoa for its Attenuation maps is taken from the Light's settings.
So you should set the lights to Use Depth Map Shadows to access and use the Resolution attribute.

  • If a light is set to Use Depth Map Shadows, then the Resolution attribute will be used by Krakatoa to determine the quality of the Krakatoa shadows.
  • If a light is set to use Raytraced Shadows, a default resolution of 512 will be used for the Attenuation map.
  • If neither Shadow option is checked, a default resolution of 512 will be used for the Attenuation map.

This is true for all Krakatoa implementations, incl. Maya, 3ds Max, and Cinema4D.
Borislav "Bobo" Petrov
Product Specialist
Thinkbox Software Inc.

litote
Posts: 17
Joined: Sun Aug 20, 2017 3:52 am

Re: Do Maya lights' shadow options have any affect?

Postby litote » Thu Nov 23, 2017 4:01 am

Can a Maya light cast a shadow of a piece of geometry on to the particles behind it? I am not sure how the shadow map of a light affects the render in any way.

User avatar
Bobo
Posts: 6144
Joined: Tue Nov 15, 2005 10:26 am
Location: Vancouver, Canada
Contact:

Re: Do Maya lights' shadow options have any affect?

Postby Bobo » Thu Nov 23, 2017 11:29 am

litote wrote:Can a Maya light cast a shadow of a piece of geometry on to the particles behind it? I am not sure how the shadow map of a light affects the render in any way.


Yes.

For a geometry object to cast shadows onto particles, it must be tagged as a Krakatoa Matte Object (a.k.a. Holdout, or Occlusion object) via the Matte Objects panel of the Krakatoa Render dialog
In addition, the "Use Matte Objects" option must be checked in the same panel, and the Light in question MUST be set to "Use Depth Map Shadows".

Select the objects you want to tag, and press the button "Tag Selected Objects As Matte". A new attribute will be added and set to true. After that, these objects will occlude both lights and camera "rays", thus casting shadows from lights onto particles, and occluding particles behind them from the camera's point of view (however the occluded particles can be rendered into a background layer when the Occluded Particles pass is enabled under "Render Output And Passes", so they are not totally lost.)

Using the RGBA and the Occluded Particles pass, you can use compositing to incorporate a rendering of the geometry object into the Krakatoa rendering: https://docs.thinkboxsoftware.com/produ ... matte.html

If a light is set to Raytraced shadows, or no shadows at all, it will NOT cast shadows from geometry onto particles, and will cast shadows from particles onto particles using the default 512 attenuation map resolution.

If the "Use Matte Objects" option is not checked, no occlusion or shadows from geometry will be produced in the scene. However, shadow casting from particles onto particles will still be computed, as it is an integral part of the volumetric rendering of Krakatoa and cannot be turned off (except by switching to fully additive shading).
Borislav "Bobo" Petrov
Product Specialist
Thinkbox Software Inc.


Return to “Thinkbox Software - Krakatoa for Maya”

Who is online

Users browsing this forum: No registered users and 2 guests