home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / tiles.hlp < prev    next >
Encoding:
Text File  |  1994-07-06  |  1.7 KB  |  50 lines

  1.     This first special texture is the 'tiles' texture.  It works just like
  2.  the 'checker' pigment pattern except it colors the blocks with entire tex-
  3.  tures rather than solid colors.  The syntax is:
  4.        texture{
  5.           tiles {
  6.              texture {... put in a texture here ...}
  7.           }
  8.           tile2
  9.              texture {... this is the second tile texture}
  10.           }
  11.           // Optionally put translate, rotate or scale here
  12.        }
  13.  
  14.     For example:
  15.        texture{
  16.           tiles {
  17.              texture { Jade }
  18.           }
  19.           tile2
  20.              texture { Red_Marble }
  21.           }
  22.        }
  23.  
  24.     The textures used in each tile may be any type of texture including more
  25.  tiles or regular textures made from pigment, normal and finish statements.
  26.  
  27.     NOTE: No other pigment, normal or finish statements may be added to the
  28.  texture.  This is illegal:
  29.        texture {
  30.           tiles {
  31.              texture { T1 }
  32.           }
  33.           tile2
  34.              texture { T2 }
  35.           }
  36.           finish { phong 1.0 }
  37.        }
  38.  
  39.     The finish must be individually added to each texture.
  40.  
  41.     NOTE: Earlier versions of POV-Ray used only the pigment parts of the tex-
  42.  tures in the tiles.  Normals and finish were ignored.  Also layered textures
  43.  were not supported.  In order to correct these problems the above restric-
  44.  tions on syntax were necessary.  This means some POV-Ray 1.0 scenes using
  45.  tiles many need minor modifications that cannot be done automatically with
  46.  the version compatibility mode.
  47.  
  48.     The textures within a tiles texture may be layered but tiles textures do
  49.  not work as part of a layered texture.
  50.