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

mesh2

top previous next

// new more compact mesh FINITE (no CSG) shape
mesh2 {
  vertex_vectors {
    number_of_vertices,
    <vertex1><vertex2>...
  }
  normal_vectors {
    number_of_normals,
    <normal1><normal2>...
  }
  uv_vectors {
    number_of_uv_vectors,
    <uv_vect1><uv_vect2>...
  }
  texture_list {
    number_of_textures,
    texture { Texture1 },
    texture { Texture2 }...
  }
  face_indices {
    number_of_faces,
    <index_a, index_b, index_c> [,texture_index [, texture_index, texture_index]],
    <index_d, index_e, index_f> [,texture_index [, texture_index, texture_index]],
    ...
  }
  normal_indices {
    number_of_faces,
    <index_a, index_b, index_c>,
    <index_d, index_e, index_f>,
    ...
  }
  uv_indices {
    number_of_faces,
    <index_a, index_b, index_c>,
    <index_d, index_e, index_f>,
    ...
  }
  [object modifiers]
}