How to Use Environment Tools

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Set the Water Surface)
m (Trainz Wiki)
Line 737: Line 737:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
[[Category:How-to guides]]

Revision as of 20:58, 20 July 2018

Contents


NotePad.PNG Notes:

The Environment Tools are used to set:-

  • the skybox - to configure the cloud cover
  • the weather - from rain to snow to clear. Weather can also be set from the Main Menu - Settings options and by using Session rules
  • the wind speed - which will affect the swaying motion of Speedtrees
  • the snowline - the altitude for assets that have a snow covered appearance option
  • the date - for assets that have different seasonal options
  • the lighting - the light levels and colours through a 24 hour period
  • the water colour and water surface effects (smooth, rough, etc)
  • the road traffic - enabled/disabled
  • the world origin (geographic coordinates and altitude)
PencilTips.PNG The Time of Day is set using Session rules such as WikiLink.PNG Startup Option Rule and WikiLink.PNG Time and Rate Rule


DotPoint.JPG The World Origin and Date settings are used to set the current season e.g. January = Summer in the Southern Hemisphere and Winter in the Northern Hemisphere

The Environment Tool

EnvironmentLaunch.PNG Open the Environment Tools Editor from the Surveyor Main Menu as shown on the left.

This will open the Environment Properties Window as shown below.

EnvironmentControls.PNG


Lighting

The Lighting Tools control the ambient, sun and water colours. This tool tab is opened by default whenever the Environmental Editor is opened.

Light and Time

EnvironmentLighting.PNG The dial shown in the window is a 24 hour clock that is used to set the lighting conditions at any time of the day and night.
EnvironmentCycle.PNG

Steps.PNG Steps:
  • Click the Diurnal Cycle button to set the clock running through the full 24 hour cycle in just 30 seconds
  • Click it again to stop the cycle

The scene shown in Surveyor will display the lighting conditions that correspond to the time on the clock as the hand sweeps around.

DotPoint.JPG You can select a specific time by dragging the clock pointer arm to the corresponding position on the dial.
EnvironmentSetDial.PNG

Setting the Lighting Conditions

The ring around the dial contains a number of green dots. Each dot is a lighting control point. It sets the specific Red Green and Blue colour values for the light at that particular time.

EnvironmentSelectPoint.PNG

Steps.PNG Steps:
  • Select, by clicking, one of the green points around the ring
  • The clock dial will immediately point to the selected dot and time

The control point will be highlighted and the RGB Wheels will display the Red Green and Blue values that have been set at that point

EnvironmentShowRGB.PNG


DotPoint.JPG Each colour value can be altered by dragging its needle point to a new position around the dial. Each new position will change the balance between the 3 colours and will alter the lighting displayed in the scene at that particular time.


NotePad.PNG Notes:

Each control point stores the RGB values for three different types of lighting in the scene.

  • The Ambient Colour which is the directional lighting and mostly affects the hue of buildings and other scenery objects
  • The Sun Colour which affects the colour of the sunlight and mostly affects the hue of the terrain
  • The Water Colour which affects the colours reflected by water surfaces

The 3 boxes below the colour wheels and next to the Sky box show the colour effects created for each type of lighting at the selected time.

EnvironmentAmbientColour.PNG

Steps.PNG Steps:
  • Click on the top box of the three. This is the Ambient Colour
  • The dials will show the RGB values for the Ambient Colour at the selected time
  • The Ambient color preview box will show the colour produced by the RGB settings

EnvironmentSunColour.PNG

Steps.PNG Steps:
  • Click on the middle box of the three. This is the Sun Colour
  • The dials will show the RGB values for the Sun Colour at the selected time
  • The Sun color preview box will show the colour produced by the RGB settings

EnvironmentWaterColour.PNG

Steps.PNG Steps:
  • Click on the bottom box of the three. This is the Water Colour
  • The dials will show the RGB values for the Water Colour at the selected time
  • The Water color preview box will show the colour produced by the RGB settings


NotePad.PNG Notes:
Getting the "right colours" can be more of an art than a science. To set the exact colour you want means mixing the correct quantities of Red, Green and Blue. Each of these colours has 256 different values from 0 to 255 and, when combined, that produces over 16 million different possible colours - but many monitors and most eyeballs will not be able to tell the differences between many of those colours.


PencilTips.PNG Setting all three colours to the same values will produce monotones from Black to White with 254 different shades of gray between those two tones. Note that in the examples below, the "tyre" around each wheel shows the exact quantity of colour that is being added.
R = 0; G = 0; B = 0 R = 128; G = 128; B = 128 R = 255; G = 255; B = 255
EnvironmentAmbientColour01.PNG EnvironmentAmbientColour02.PNG EnvironmentAmbientColour03.PNG
Black 50% Gray White
All other colours are made by mixing different quantities of the three colours.


Resetting the Lighting Conditions

DotPoint.JPG All the lighting colour settings can be reset back to the TANE default colours.


EnvironmentReset.PNG

Steps.PNG Steps:
  • Click the Color Reset button
  • Click the Tick icon to confirm the reset
  • Click the Cross icon to cancel the reset


Adding a New Control Point

New control points can be added to the clock dial.

EnvironmentAddPoint01.PNG

EnvironmentAddPoint02.PNG

Steps.PNG Steps:
  1. Click the Add button (the + symbol)
  2. Click on the ring at the place where the new control point is to be located


NotePad.PNG Notes:

During the running of a Session the lighting will "morph" or "transform" at a steady rate from the set of colour values at one control point to the set of colour values at the next control point. Click the Diurnal Cycle button for a demonstration of this.

  • If the control points are far apart then the transition will be slow and gradual
  • If the control points are close together then the transition will be faster
  • If there are many control points grouped closely together then the transition will be faster and more dramatic

The places where you would need fast and dramatic transitions would be at dawn (around 06:00) and dusk (around 18:00)


Deleting a Control point

Existing control points can be deleted.

EnvironmentDeletePoint.PNG

Steps.PNG Steps:
  1. Click the Delete button
  2. Click on the control point to be deleted


The Skybox

The skybox sets the sky colours in three different regions of the sky at the selected time of day, as shown in the extreme example below.

EnvironmentSkyColours.PNG

Steps.PNG Steps:
  1. Select a control point for a specific time of day
  2. Click in a region of the Skybox (top, middle, bottom) - a while line or bar will appear across the selected region
  3. Set the RGB color wheels for the selected region
  4. Repeat for the other two regions and for other times of the day/night as needed


In the areas between the three regions the colours will be blended to create a smooth transition.


Fog Control

This is a simple slide control that will adjust the level of "fog" in a scene at the selected time of day.

EnvironmentFogNone.PNG
No fog

EnvironmentFogThick.PNG

Thick fog

Steps.PNG Steps:
  1. Select a control point for a specific time of day
  2. Move the slider to the required position
  3. Repeat for other times of the day/night as needed


Location

The Location Tools control the geographic and date (season) data for the session.

EnvironmentLocation.PNG

The top section is a standard calendar selection tool that allows you to set the month and the day of the month. The only effect this has in TANE is to set, with the geographic coordinates, the season of the year.

DotPoint.JPG If you are creating a session that is based on a different season of the year, then set a date that would be appropriate for that season in your (or the simulated) hemisphere.


The middle section is the World Origin Tool and sets the geographic location, including the altitude, of the route using a World Origin marker that is only visible in Surveyor.

DotPoint.JPG Setting the World Origin does NOT set regional features such as which side of the road the cars drive on. Use the Route Editor - Region setting for that


EnvironmentOriginAdd.PNG

Steps.PNG Steps:
  1. Move the Surveyor view to the location where you want the marker to be placed
  2. Click on the Add world origin button
  3. Click the selected location in the layout to place the marker

Clicking a second time will simply move the marker


EnvironmentWorldOrigin.PNG
The World Origin marker
Once it has been placed, the marker can be moved by dragging or clicking with the mouse. After adding the marker it should be edited to add geographic data.


EnvironmentOriginGo.PNG Click the Go to world origin icon to move the Surveyor screen so that it is centred on the World Origin marker.
EnvironmentOriginEdit.PNG Click the Edit world origin icon to set or edit the World Origin data. See Editing the World Origin below.


Editing the World Origin

EnvironmentOriginEditData.PNG Enter the geographic data for the world origin.
  • Latitude and Longitude in dergree and minutes (with seconds added as the decimal fraction of the minutes - 10'30" would be entered as 10.50)
  • Hemispheres - North/South and East/West
  • Altitude in metres


The Reset button sets all values to their defaults as shown on the left.

Click the Tick icon to accept the entered data.
Click the Cross icon to cancel the data entry.


Traffic Control

DotPoint.JPG This tool simply turns the road traffic ON and OFF
NotePad.PNG Notes:

This road traffic tool:-

  • only works on roads that have been designed to use road traffic (not all roads support traffic)
  • does not set the road traffic characteristics - number and types of vehicles, which side of the road is used. These features are set in the Route Editor - Region setting


EnvironmentTrafficOn.PNG

EnvironmentTrafficOff.PNG

Steps.PNG Steps:
  • Click the car icon to enable and disable traffic


Weather and Water

To set the water colour, refer to the PageLink.PNG Setting the Lighting Conditions section above.

EnvironmentEnvironment.PNG

Set the Sky

DotPoint.JPG This sets the basic sky and cloud characteristics
EnvironmentSkyType.PNG

Steps.PNG Steps:
  • Click the Sky Title to select from a drop down list of sky types, or
  • Scroll through the list by using the Scroll icons

The box below the sky title will give a preview of the selected sky.

Set the Weather

DotPoint.JPG This sets some very basic weather conditions



Steps.PNG Steps:

EnvironmentWeatherType.PNG

Move the slider to set the weather between Rain and Snow

NotePad.PNG Notes:
There are Session rules that can give you better control of the weather than this setting. Check the Trainz Wiki Session Rules list at WikiLink.PNG Weather Rules

Wind Strength

DotPoint.JPG This setting only effects SpeedTrees

Steps.PNG Steps:

EnvironmentWindType.PNG
Move the slider to set the wind strength between zero (left) and maximum (right)



Set the Water Surface

DotPoint.JPG This sets the water surface effects
EnvironmentWaterType.PNG

Steps.PNG Steps:
  • Click the Water Surface to select from a drop down list of surface effects, or
  • Scroll through the list by using the Scroll icons


Set the Snow Altitude

DotPoint.JPG This sets the altitude at which objects with snow effects will display those effects. It has no effect on objects created without this feature

Steps.PNG Steps:

EnvironmentSnowAltitude.PNG

Enter the altitude, in metres, at which snow can appear.





Trainz Wiki

TrainzWiki.png

More Tutorials and Guides to Using Trainz

Personal tools