Shadow Ray Tracer (Whole Track menu)

Opens up the Shadow Ray Tracer dialog, a tool to create track shading.


Shadow Ray Tracer dialog

Sun

Raytrace sun and shadows

If enabled, will generate sun (light) and shadow values for the specified slices using the values below.

Sun Theta

Horizontal angle of the sun, measured in revolutions (1 revolution is equivalent to 360 degrees). Usually should match the sun's angleTheta value of the Tr(N)(W).ini.

Assuming your track points north from its start/finish line, you can use this cheat sheet to guide yourself:

Sun Rho

Vertical angle of the sun, measured in revolutions (1 revolution is equivalent to 360 degrees). Usually should match the sun's angleRho value of the Tr(N)(W).ini.

A value of 1.0 would put the sun is at it's highest point in the sky, while a value of 0.5 would put it right onto the horizon line.

Sun/shadow colors

The colors that will be used for lighting (sun) and shadows, as RGB255 units. Keep on mind they will be mixed with the AmbientRed/Green/Blue values of theTr(N)(W).ini.

Lights

Ray Trace Lights

If enabled, it will perform light raytracing on the adjacent track geometry using the light sources and their glow settings. Light radius can be adjusted with the Light distance multiplier field.

Start/end blocks

Specify the range of blocks in which the ray tracer will be applied.

Ignore transparent vertices (alpha below 255)

If enabled, it will ignore points with alpha value lower than 255.

Check middle between points (black & blue polygons)

If enabled, it will check for shared points between polygon objects and track polygons to apply the ray tracer to.

Copy shadow to very close points

If enabled, it apply the same kind of lighting/shadow to points that are very close to each other.

Create new shadows for

Toggle on/off shadowing for the following elements:

Extra & global object types

Toggle on/off shadowing for the following extra/global object types:

  1. Simple (global only)
  2. Simple (HS only)
  3. Animated objects
  4. Collision
  5. Unknown
  6. Complex (global only)

Object types that can cast shadows

Toggle on/off shadow casting from the following extra/global object types:

  1. Simple (global only)
  2. Simple (HS only)
  3. Animated objects
  4. Collision
  5. Unknown
  6. Complex (global only)