Pills.rib

[index]

10th February 2009   10:57pm 48sec
/home/cleong20/Desktop/vsfx419/ribs/Pills.rib


pt_Extchannels+textures



FrameBegin 1
  
Display "untitled" "it" "rgb"
DisplayChannel "float _area"
DisplayChannel "color _radiosity"
DisplayChannel "color Cs"
  
  
Format 427 240 1
Projection "perspective" "fov" 20
ShadingInterpolation "smooth"
  
  
Translate  -0.04 -0.05 1
Rotate -20 1 0 0
Rotate -10   0 1 0
Scale 1 1 -1
  
#Imager "background" "background" [1 1 1] # Background color
WorldBegin
    
    Attribute "cull" "hidden" 0   # don't cull hidden surfaces
    Attribute "cull" "backfacing" 0   # don't cull backfacing surfaces
    Attribute "dice" "rasterorient" 0   # view-independent dicing
  
    LightSource "cosinelight_rts" 1 "from" [0 1 1] "intensity" 5
   
    Surface "bake_radiosity" "bakefile" "pill_radio.ptc"
            "displaychannels" "_area,_radiosity,Cs" 
            "Kd" 0.8 "texturename" "/home/cleong20/Desktop/vsfx419/textures/lclenv_ref.tex"
  
           
    Attribute "visibility" "transmission" "opaque" #  cast shadows
    
    AttributeBegin 
    Color [ 0 1 0 ]
    Translate 0.2 0.1 0
    Scale 0.1 0.1 0.1
    Sphere 1 -1 1 360
    AttributeEnd
  
    AttributeBegin
    
        Color [ 1  0 0 ]
        Translate 0.1 0.05 0
        Rotate 90 0 0 1
        Scale 0.05 0.05 0.05
        ReadArchive "Pills.rib" 
    AttributeEnd
    
  
    
    AttributeBegin
        Color [1 1 0]
        Scale 1.6 1.6 1.6
        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
FrameEnd