Re: LANG: repeating textures

Cindy Reed ([email protected])
Wed, 6 Dec 1995 23:18:00 -0800


On Dec 6, 5:36pm, Jan Hardenbergh wrote:
> From: "Cindy Reed" <[email protected]> suggests using
Texture2Transform
> but that seems too easy. :-)
>-- End of excerpt from Jan Hardenbergh

Try it yourself! ;-)
--------------------------- cut here ------------------------
#VRML V1.0 ascii

DEF Tex_Wrap_Test Separator {
Material {
diffuseColor 1 1 1
}
Texture2Transform {
rotation 0 # for wierd angles
scaleFactor 5 5 # Scale U and V
center 0 0 # texture origin (0 0 = bottom left?)
}
Texture2 {
filename gmarble2.gif" # your favorite texture map
wrapT REPEAT # gotta have this (not CLAMP)
}
Cube {
width 2
height 2
depth 2
}
}
#EOF
--------------------------- cut here ------------------------

Have fun!

Cindy.

-- 
         _________________________________________
        |                                         |
    |\  | Cindy Reed          [email protected] |
  _/ .`-| 3Name3D / Yglesias,Wallock,Divekar,Inc. |    ,
  \ .4  |       CGI - MODELING - ANIMATION        |\__//
   `--'\|          http://www.ywd.com/            |`--'
       C|_________________________________________|

  • Next message: Len Wanger: "Re: Curved Light"
  • Previous message: Kenneth Simpson: "Re: Java? Ja no va."