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
Level Junctions / Diamond Crossings

Track Level Junction
//------------------------------------------------//
#declare Crossing_Angle = 15;
#declare Rail_Length_Main = 24.00;
#declare Rail_Length_Cross = 24.00;
//------------------------------------------------//
#include "RT_System/RT_Track_Level_Junction_00.inc"
//------------------------------------------------//
object{ RT_Track_Level_Junction_00(
           Crossing_Angle,     // degrees
           Rail_Length_Main,   // in x+/-, meter
           Rail_Length_Cross,  // in z+/-, meter
           1.5, // Ties_Per_Meter_  // ~1.5
         ) //-------------------------------------//
         scale<1,1,1> rotate<0,0,0>
        translate<Rail_Length_Main/2,0.00,0.00>
      } //-----------------------------------//


RT_Track_Level_Junction_00
RT_Track_Level_Junction_00

Track Level Junction - reverse direction
//------------------------------------------------//
#declare Crossing_Angle = -15;
#declare Rail_Length_Main = 24.00;
#declare Rail_Length_Cross = 24.00;
//------------------------------------------------//
#include "RT_System/RT_Track_Level_Junction_00.inc"
//------------------------------------------------//
object{ RT_Track_Level_Junction_00(
           Crossing_Angle,     // degrees
           Rail_Length_Main,   // in x+/-, meter
           Rail_Length_Cross,  // in z+/-, meter
           1.5, // Ties_Per_Meter_  // ~1.5
         ) //-------------------------------------//
         scale<1,1,1> rotate<0,0,0>
        translate<Rail_Length_Main/2,0.00,0.00>
      } //-----------------------------------//


RT_Track_Level_Junction_00
RT_Track_Level_Junction_00
upper: Crossing_Angle = 15;
lower: Crossing_Angle = -15;

Track Level Junction for Switches Type A and B
//------------------------------------------------//
#declare Crossing_Angle = 15;
#declare Rail_Length_Main = 24.00;
#declare Rail_Length_Cross = 24.00;
//------------------------------------------------//
#include "RT_System/RT_Track_Level_Junction_00.inc"
//------------------------------------------------//
object{ RT_Track_Level_Junction_00(
           Crossing_Angle,     // degrees
           Rail_Length_Main,   // in x+/-, meter
           Rail_Length_Cross,  // in z+/-, meter
           1.5, // Ties_Per_Meter_  // ~1.5
         ) //-------------------------------------//
         scale<1,1,1> rotate<0,0,0>
        translate<Rail_Length_Main/2,0.00,0.00>
//------------------------------------------------//
#declare Crossing_Angle = 15;
#declare Rail_Length_Main = 24.00;
#declare End_Distance =
  Rail_Length_Main*tan(radians(Crossing_Angle));
#declare Rail_Length_Cross =
 sqrt(pow(Rail_Length_Main,2)+pow(End_Distance,2));
//------------------------------------------------//
//#include "RT_System/RT_Track_Level_Junction_00.inc"
//------------------------------------------------//
object{ RT_Track_Level_Junction_00(
           Crossing_Angle,     // degrees
           Rail_Length_Main,   // in x+/-, meter
           Rail_Length_Cross,  // in z+/-, meter
           1.5, // Ties_Per_Meter_  // ~1.5
         ) //-------------------------------------//
         scale<1,1,1> rotate<0,0,0>
        translate<Rail_Length_Main/2,0.00,0.00>
      } //-----------------------------------//


RT_Track_Level_Junction_00
RT_Track_Level_Junction_00
upper: for switches type B.
lower: for switches type A.
Switch Type A
Switch Type A + Level_Junction
Switch Type B + Level_Junction
Switch Type B + Level_Junction

top

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