Adv__Ray_traced : Shadow

Adv__Ray_traced - superclass: Shadow; super-superclass:MAXWrapper - classID: #(965083161, 1037325786)

Advanced_Ray_traced - superclass: Shadow; super-superclass:MAXWrapper - classID: #(965083161, 1037325786)

 

This shadow generator class implements an advanced raytraced shadow generator which is better suited for rendering complex scenes.

3ds Max Constructors:

Adv__Ray_traced ...

StdShadowGen ...

Autodesk VIZ Constructors:

Advanced_Ray_traced ...

StdShadowGen ...

Note:

For script compatibility between Autodesk VIZ and 3ds Max, you should use the common constructor StdShadowGen.

Properties

<Adv__Ray_Traced>.shadow_Mode Integer default: 2 -- integer

Selects the type of raytracing for generating shadows:

0 - Simple

1 - Antialias 1-Pass

2 - Antialias 2-Pass

<Adv__Ray_Traced>.twoSidedShadows Boolean default: false -- boolean; Two_sided_Shadows

When on, backfaces are not ignored when calculating shadows. Objects seen from the inside are not lit by lights from the outside. This costs a bit more render time. When off, backfaces are ignored. Rendering is quicker, but outside lights illuminate object interiors.

<Adv__Ray_Traced>.pass1 Integer default: 1 -- animatable; integer; Shadow_Integrity

The number of rays cast from an illuminated surface.

<Adv__Ray_Traced>.pass2 Integer default: 2 -- animatable; integer; Shadow_Quality

The number of secondary rays cast from an illuminated surface

<Adv__Ray_Traced>.blur Float default: 1.25 -- animatable; float

The radius, in pixels, to blur the antialiased edge.

<Adv__Ray_Traced>.ray_bias Float default: 0.25 -- animatable; world units; Shadow_Bias

The minimum distance from the point being shaded that an object must be to cast a shadow. This prevents blurred shadows from affecting surfaces they shouldn't.

<Adv__Ray_Traced>.jitter_amt Float default: 0.0 -- animatable; float; Jitter_Amount

Adds randomness to the ray positions.

<Adv__Ray_Traced>.shadow_Transparent Boolean default: false -- animatable; boolean; Transparent_Shadows

When checked, transparent surfaces will cast a colored shadow. Otherwise, all shadows are black and calculate faster.

<Adv__Ray_traced>.aa_threshold Color default: (color 25.5 25.5 25.5) -- RGB color; Antialiasing_Threshold

The maximum color difference allowed between transparent object samples before antialiasing is triggered. Increasing the value of this color will make the shadow less sensitive to aliasing artifacts and improve speed, decreasing the value will increase the sensitivity, improving quality.

<Adv__Ray_Traced>.suppress_mat_aa Boolean default: true -- animatable; boolean; Suppress_Supersampling

When checked, only Pass 1 is used during 2-Pass Antialiasing when shading a supersampled material.

<Adv__Ray_Traced>.suppress_reflt_aa Boolean default: true -- animatable; boolean; Suppress_Reflection_Antialiasing

When checked, only Pass 1 is used during 2-Pass Antialiasing when shading reflections or refractions.

<Adv__Ray_Traced>.skip_coplanar Boolean default: true -- animatable; boolean

Prevents adjacent faces from shadowing each other. This is of particular concern at the terminator on curved surfaces such as spheres.

<Adv__Ray_Traced>.coplanar_threshold Float default: 0.9 -- animatable; float

The angle between adjacent faces. Range is from 0.0 (perpendicular) to 1.0 (parallel).

<Adv__Ray_Traced>.noAreaShadows BooleanClass default: false -- boolean; No_Area_Shadows 

When set to true, Area Shadows will be disabled.

See also

ShadowMap : Shadow

RaytraceShadow : Shadow

Area_Shadows : Shadow

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods