Difference between revisions of "Reference Talk:UV Mapping"

From POV-Wiki
Jump to navigation Jump to search
(Initial copy of section to be changed.)
 
m (Adding lemon object to list supported for uv mapping.)
Line 8: Line 8:
 
   <li><strong>lathe, sor</strong> : modified spherical mapping... the u coordinate (0..1) wraps around the y axis, while the v coordinate is linked to the object's control points (also ranging 0..1). Surface of Revolution also has special disc mapping on the end caps if the object is not 'open'.</li>
 
   <li><strong>lathe, sor</strong> : modified spherical mapping... the u coordinate (0..1) wraps around the y axis, while the v coordinate is linked to the object's control points (also ranging 0..1). Surface of Revolution also has special disc mapping on the end caps if the object is not 'open'.</li>
 
   <li><strong>mesh, mesh2</strong> : UV coordinates are defined for each vertex and interpolated between.</li>
 
   <li><strong>mesh, mesh2</strong> : UV coordinates are defined for each vertex and interpolated between.</li>
 +
  <li><strong>lemon</strong> : cylindrical mapping wrapped around the axis from the base point to the cap point.</li>
 
   <li><strong>ovus</strong> : spherical mapping centered near the center of mass of the ovus (moving from one sphere to another as the ratio of radius progresses).</li>
 
   <li><strong>ovus</strong> : spherical mapping centered near the center of mass of the ovus (moving from one sphere to another as the ratio of radius progresses).</li>
 
   <li><strong>parametric</strong> : In this case the map is not taken from a fixed set of coordinates but the map is taken from the area defined by the boundaries of the uv-space, in which the parametric surface has to be calculated.</li>
 
   <li><strong>parametric</strong> : In this case the map is not taken from a fixed set of coordinates but the map is taken from the area defined by the boundaries of the uv-space, in which the parametric surface has to be calculated.</li>

Revision as of 16:41, 23 September 2016

  • Additional uv mapping supported objects.

Supported Objects

Surface mapping is currently defined for the following objects:

  • bicubic_patch : UV coordinates are based on the patch's parametric coordinates. They stretch with the control points. The default range is (0..1) and can be changed.
  • box : the image is wrapped around the box, as shown below.
  • lathe, sor : modified spherical mapping... the u coordinate (0..1) wraps around the y axis, while the v coordinate is linked to the object's control points (also ranging 0..1). Surface of Revolution also has special disc mapping on the end caps if the object is not 'open'.
  • mesh, mesh2 : UV coordinates are defined for each vertex and interpolated between.
  • lemon : cylindrical mapping wrapped around the axis from the base point to the cap point.
  • ovus : spherical mapping centered near the center of mass of the ovus (moving from one sphere to another as the ratio of radius progresses).
  • parametric : In this case the map is not taken from a fixed set of coordinates but the map is taken from the area defined by the boundaries of the uv-space, in which the parametric surface has to be calculated.
  • sphere : boring spherical mapping.
  • torus : The map is taken from the area <0,0><1,1> where the u-coordinate is wrapped around the major radius and the the v-coordinate is wrapped around the minor radius.