Option "searchpath" "shader" "@:../shaders"
Option "searchpath" "texture" "../textures"
Option "searchpath" "archive" "../archives:Cutter_Help/templates/Rib:custom_templates/Rib"
  
Display "untitled" "it" "rgb"
Format 680 680 1
Projection "perspective" "fov" 20
ShadingRate 1
DepthOfField 10 2 200
Shutter 0 1
#LightSource "distantlight" 1 "intensity" 1.5 "from" [0 0 0] "to" [0 0 1]
  
Translate  0 -20 200
Rotate 0 1 0 0
Rotate 0   0 1 0
Scale 1 1 -1
  
#Imager "background" "background" [1 1 1] # Background color
WorldBegin
    TransformBegin
        LightSource "pointlight" 1 "intensity" 25 "from" [1 4 1]
    TransformEnd
    TransformBegin
        LightSource "shadowdistant" 4
            "intensity" 1.0
            "lightcolor" [0.0 0.658 1.0]
            "from" [1 4 1]
            "to" [0.0 0.0 1.0]
            "shadowname" ["raytrace"]
            "samples" 16.0
            "width" 1.0
    TransformEnd
    TransformBegin
        LightSource "shadowdistant" 4
            "intensity" 2.0
            "lightcolor" [1.0 0.450 0.0]
            "from" [1 -4 1]
            "to" [0.0 0.0 1.0]
    TransformEnd
    TransformBegin
        LightSource "ambientlight" 2
            "intensity" .2
            "lightcolor" [1 1 1]
    TransformEnd
    # Activate the next line to raytrace all objects
    Attribute "visibility" "trace" [1]
  
    # Hit mode can be "primitive" or "shader"
    Attribute "shade" "string transmissionhitmode" ["primitive"]
    # Transmission can be [0] or [1]
     Attribute "visibility" "int transmission" [1]
#    Surface "plastic"
  
    Atmosphere "fog"
            "distance" 2150.0
            "background" [0.0 0.0 0.0]
    
    AttributeBegin
        MotionBegin[0 1]
            Rotate 0 0 1 0
            Rotate .4 0 1 0
        MotionEnd
        Rotate 11 1 0 1
        Translate 10 0 40
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate 40 60 -200
        Rotate 121 1 0 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate -40 25 -150
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate 0 25 -750
        Rotate 45 1 0 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate -70 100 -1200
        Rotate 45 1 1 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate -120 -100 -1600
        Rotate 45 1 1 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate -200 300 -2000
        Rotate 92 1 1 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate 200 -200 -2000
        Rotate 92 1 1 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    AttributeBegin
        Translate -70 -50 -250
        Rotate 50 1 1 1
        ReadArchive "sphere.rib"
    AttributeEnd
    
    
WorldEnd