animation_wave.key

[index]

4th February 2009   0:0am 0sec
/home/cleong20/Desktop/vsfx419/ribs/animation_wave.key


animation_setings2



Option "searchpath" "shader" "@:../shaders"
Option "searchpath" "texture" "../textures"
Option "searchpath" "archive" "../archives:Cutter_Help/templates/Rib:custom_templates/Rib"
  
Format 480 240 1
  
ShadingRate 1
Display "../frames/CLwater2.tiff" "tiff" "rgb"
  
Tween "from" 1 "to" 2 "frames" 100
Tween "output" "all"
#Tween "output" 1
  
KeyFrameBegin 1
    Projection "perspective" "fov" 30
    
    Translate  0 0 0.7
    Rotate -30 1 0 0
    Rotate -60 0 1 0
    Rotate 0   0 0 1
    Scale 1 1 -1
    
    #Texture conversion_______________________________________--
    #txmake -envlatl "../tiffs/lclenvref.tif" "../textures/lclenv_ref.tex"
    
    #Imager "background" "background" [1 1 1] # Background color
    WorldBegin
        TransformBegin
            LightSource "pointlight" 1 "intensity" 25 "from" [1 4 1]
        TransformEnd
    #................................................................    
        TransformBegin
            Translate 0 0.3 0.1
            Rotate  0 1 0 0
            Rotate  0 0 1 0
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "USER_DEFINED_NAME"
        TransformEnd
        
        TransformBegin
            Translate 0 0.4 0.1
            Rotate  0 1 0 0
            Rotate  1 0 1 1
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "USER2_DEFINED_NAME"
        TransformEnd
        
        
        TransformBegin
            Translate 0 0.1 0.1
            Rotate  0 1 0 0
            Rotate  0 0 1 0
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "primary" 
        TransformEnd
    #................................................................
        Surface "water" "envname" ["lclenv_ref.tex"]
                        "envspace" [ "primary"]
                        "cap_cutoff" 0.0001
                        "capcolor" [1.0 1.0 0.8] 
                        "ks" 0.1 "Kd" 0.5 "kenv" 0.6
        AttributeBegin
            Displacement "CLdisplace_test"
                        "Km" 0.1
                        "numwaves" 10
                        "numwaves2"100
                        "offset" 2
                        "offset2" 2
                        "height1" 0.05
                        "height2" 0.01
                        "noiseP1" 8
                        "noiseP2" 50
                        "noiseP3" 10
                        "noisePow1" 0.1
                        "noisePow2" 0.008
                        "noisePow3" 0.05
                        "noiseP4" 100
                        "noisePow4" 0.02
                        
                        "spacename" ["USER_DEFINED_NAME"]
                        "crtwave"   ["USER2_DEFINED_NAME"]
            Attribute "bound" "displacement" [0.1]
            Scale 3 1 3
            Polygon "P" [-0.5 0 -0.5  -0.5 0 0.5  0.5 0 0.5  0.5 0 -0.5]
                    "st" [0 0  0 1  1 1  1 0]
        AttributeEnd
    
    WorldEnd
KeyFrameEnd
  
KeyFrameBegin 2
    Projection "perspective" "fov" 30
    
    Translate  0 0 0.7
    Rotate -30 1 0 0
    Rotate -60 0 1 0
    Rotate 0   0 0 1
    Scale 1 1 -1
    
    #Texture conversion_______________________________________--
    #txmake -envlatl "../tiffs/lclenvref.tif" "../textures/lclenv_ref.tex"
    
    #Imager "background" "background" [1 1 1] # Background color
    WorldBegin
        TransformBegin
            LightSource "pointlight" 1 "intensity" 25 "from" [1 4 1]
        TransformEnd
    #................................................................    
        TransformBegin
            Translate 0 0.4 0.1
            Rotate  0 1 0 0
            Rotate  0 0 1 0
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "USER_DEFINED_NAME"
        TransformEnd
        
        TransformBegin
            Translate 0 0.5 0.1
            Rotate  0 1 0 0
            Rotate  1 0 1 1
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "USER2_DEFINED_NAME"
        TransformEnd
        
        
        TransformBegin
            Translate 0 0 50
            Rotate  50 1 0 0
            Rotate  0 0 1 0
            Rotate  0 0 0 1
            Scale   1 1 1
            CoordinateSystem "primary"
        TransformEnd
    #................................................................
        Surface "water" "envname" ["lclenv_ref.tex"]
                        "envspace" [ "primary"]
                        "cap_cutoff" 0.0001
                        "capcolor" [1.0 1.0 0.8] 
                        "ks" 0.1 "Kd" 0.5 "kenv" 0.5
        AttributeBegin
            Displacement "CLdisplace_test"
                        "Km" 0.1
                        "numwaves" 10
                        "numwaves2"100
                        "offset" 2.5
                        "offset2" 3
                        "height1" 0.05
                        "height2" 0.01
                        "noiseP1" 8
                        "noiseP2" 50
                        "noiseP3" 10
                        "noisePow1" 0.1
                        "noisePow2" 0.008
                        "noisePow3" 0.05
                        "noiseP4" 100
                        "noisePow4" 0.02
                        
                        "spacename" ["USER_DEFINED_NAME"]
                        "crtwave"   ["USER2_DEFINED_NAME"]
            Attribute "bound" "displacement" [0.1]
            Scale 3 1 3
            Polygon "P" [-0.5 0 -0.5  -0.5 0 0.5  0.5 0 0.5  0.5 0 -0.5]
                    "st" [0 0  0 1  1 1  1 0]
        AttributeEnd
    
    WorldEnd
KeyFrameEnd