Beschreibungen und Beispiele zum Raytracer POV-Ray von Friedrich A. Lohmüller
Modelleisenbahn u. Eisenbahn-Modelle mit POV-Ray
English English English
Italiano Italiano
Français français

Home
- POV-Ray Tutorial

- Modelleisenbahn u.
  Eisenbahn-Modelle
  mit POV-Ray
    Inhaltsverzeichnis

  - Mein Rail Track System
    für POV-Ray
    Gleis Elemente
    - Geraden & Kurven
    - Weichen
    - Y- u. 3Wege-Weichen
    - Kreuzungen

    - Vereinfachte Anwendung
      mit RT_System_00.inc
     > Gleis Elemente
        mit RT_System_00.inc

    - An Modell-Maßstäbe
      angepaßte Gleiselemente
      - H0 Scale Gleise
      - N Scale Gleise
      - Z Scale Gleise

    - Gleisplan-Design mit
      skalierten Gleisen
      - Verlegen von Gleisen
      - Gleise rauf u. runter

    - Gleisplan-Design Beispiele
      - Einfach zyklisch
      - Einfacher Achter

    - Download
      Rail Track System


                                                         
testall
Die Gleiselemente
mit 'RT_System_00.inc':

Die folgenden Objekte
aktiviert, die Zeile:

Anmerkung: Dies muß nur einmal eingefügt werden!

#include "RT_System/RT_System_00.inc"
RT_Track_Straight_0
RT_Track_Straight_0
object{ RT_Track_Straight_0( 0, // Simulation_Type,
                             22.5,// Track_Length, meter
                             1.5, // Ties_Per_Meter
                           ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 
RT_Track_Curve_0
RT_Track_Curve_0
object{ RT_Track_Curve_0( 0, // Simulation_Type,
                          85.00 // Curve_Radius, meter
                          15, // Curve_Angle, degrees
                          1.5, // Ties_Per_Meter
                        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 
Für eine Kurve nach links verwende man 'scale<1,1,-1>'.
RT_Track_Switch_Y_0
RT_Track_Switch_Y_0

object{RT_Track_Switch_Y_0(
            0, // Simulation_Type,
            0, // Direction: 0=right, 1=curve
            85.00, // Switch_Radius, meter
            15,  // Switch_Angle, degrees
            1.5, // Ties_Per_Meter
          ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 

Weichen und Kreuzungen
von Typ A
:
Zur Positionbestimmung in Gleisplänen nützlich:
#declare Switch_Length = 22.50 ;
#declare Switch_Angle  = 15 ;
#declare Switch_Radius =
  Switch_Length/(sin(radians(Switch_Angle)));
#declare Rail_Distance =
  2*Switch_Radius*(1-cos(radians(Switch_Angle)));

RT_Track_Switch_A_0
RT_Track_Switch_A_0

object{ RT_Track_Switch_A_0(
          0, // Simulation_Type,
          0, // Direction: 0 = straight, 1 = right
          22.50, // Switch_Length, meter
          15,  // Switch_Angle, degrees
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 
Für eine Weiche nach links verwende man 'scale<1,1,-1>'.

RT_Track_Switch_3Ways_A_0
RT_Track_Switch_3Ways_A_0

object{ RT_Track_Switch_3Ways_A_0(
          0, // Simulation_Type,
          0, // Direction: 0=straight, 1=right, 2=left
          22.50, // Switch_Length, meter
          15,  // Switch_Angle, degrees
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 

RT_Track_Switch_B_0
RT_Track_Level_Junction_0
for switch type A

#declare Crossing_Angle = 15;
#declare Main_Length = 22.50 ;
#declare End_Distance =
   Main_Length*tan(radians(Crossing_Angle));
#declare Cross_Length =
   sqrt(pow(Main_Length,2)+pow(End_Distance,2));
//----------------------------------
object{ RT_Track_Level_Junction_0(
          0, // Simulation_Type,
          0, // Direction: 0 = straight, 1 = right
          Crossing_Angle, // degrees
          Main_Length, // meter
          Cross_Length, // meter
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 
Kreuzung nach der anderen Seite mittels '-Crossing_Angle'.




Weichen und Kreuzungen
von Typ B
:

Zur Positionbestimmung in Gleisplänen nützlich:
#declare Switch_Length = 22.50 ;
#declare Switch_Angle  = 15 ;
#declare Switch_Radius =
   Switch_Length/( 2*tand(Switch_Angle/2));
#declare Rail_Distance =
   2*Switch_Radius*(1-cosd(Switch_Angle));
#declare L1 = Switch_Length;
#declare Bow_Len = Switch_Radius * sind( Switch_Angle);
#declare Len_Diff =  L1-Bow_Len;
#declare L2= L1 - 2* Len_Diff;

RT_Track_Switch_B_0
RT_Track_Switch_B_0

object{ RT_Track_Switch_B_0(
          0, // Simulation_Type,
          0, // Direction: 0=straight, 1=right, 2=left
          22.50, // Switch_Length, meter
          15,  // Switch_Angle, degrees
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 
Für eine Weiche nach links verwende man 'scale<1,1,-1>'.

RT_Track_Switch_3Ways_B_0
RT_Track_Switch_3Ways_B_0

object{ RT_Track_Switch_3Ways_B_0(
          0, // Simulation_Type,
          0, // Direction: 0=straight, 1=right, 2=left
          22.50, // Switch_Length, meter
          15,  // Switch_Angle, degrees
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 

RT_Track_Switch_B_0
RT_Track_Level_Junction_0

object{ RT_Track_Switch_B_0(
          0, // Simulation_Type,
          15, // Crossing_Angle, degrees
          85.00, // Main_Length, meter
          85.00, // Cross_Length, meter
          1.5, // Ties_Per_Meter
        ) //-------------------------
  scale<1,1,1> rotate<0,0,0>
  translate<0.00,0.00,0.00>
} //--------------------------------------------------// 



top

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