POV-Ray Insert Menu
mady by Christoph Hormann
http://www.imagico.de/

uv_mapping

top previous next

// sample for uv_mapping with a bicubic patch
// uv_mapping can also be used for:
// - mesh, mesh2
// - lathe
// - sor
// - sphere
// - box
bicubic_patch {
  type 0
  flatness 0.01
  u_steps 4
  v_steps 4
  <002><100><200><30-2>,
  <01  0><110><210><31,  0>,
  <020><120><220><32,  0>,
  <032><130><230><33-2>

  uv_mapping

  texture {
    pigment {
      checker
      color Red
      color Blue
      scale 0.1
    }
    finish { specular 0.5 }
  }
}