Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    Model Railroading / Railway Modelling with POV-Ray -
Italiano Italiano
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial

  Model Railroading
  Railway Modelling
  with POV-Ray
    Index of Content

  - Rail Track System
    for POV-Ray
    Basic Track Elements
   > Straight & Curved
    - Switches
    - Wye + 3Ways
    - Level Junctions

    - Simplified Using by
      RT_System_00.inc
      - Rail Tracks Elements
        with RT_System_00.inc

    - Track Layout with
      Model Scaled Tracks
      - H0 Scale Tracks
      - N Scale Tracks
      - Z Scale Tracks

    - Track Layout with
      scaled Tracks
      - Track Placement
      - Tracks Up & Down

    - Track Layout Examples
      - Simple cyclic
      - Simple eight

    - Download of the
      Rail Track System


                                                     

Rail Track System for POV-Ray
Staight Tracks and Curve Tracks

Straight Tracks
//---------------------- straight track in x+
#include "RT_System/RT_Track_Straight_00.inc"
//--------------------------------------------
object{RT_Track_Straight_00(
           15.00,// Track_Length,  // meter
           1.5, // Ties_Per_Meter // ~1.5,
         ) //---------------------------------
        rotate<0,0,0>
        translate<0.00,0.00,0.00>
      } //------------------------------------ 
The ties / sleepers are distibuted equidistant!


RT_Track_Straight_00
RT_Track_Straight_00

Curve Tracks

//-------------------- right curve track in x+
object{ RT_Track_Curve_00(

#include "RT_System/RT_Truck_Curve_00.inc"
//---------------------------------
           30.00, // Rail_Radius,   // meter
           30,    // Bow_Angle,     // degrees
           1.5,   // Ties_Per_Meter // ~1.5,
         ) //---------------------------------
        rotate<0,0,0>
        translate<0.00,0.00,0.00>
      } //------------------------------------ 
The ties / sleepers are distibuted equidistant!
Rotating: with   #include "transforms.inc" we can use

Rotate_Around_Trans( <0,Angle,0>, <0,-Rail_Radius,0> )
Attention:
      The maximal angle of this curve track is 90° !!!!


RT_Track_Curve_00
RT_Track_Curve_00
RT_Track_Curve_00
For left curves: ' scale<1,1,-1> '
top

© Friedrich A. Lohmüller, 2011
www.f-lohmueller.de