UvMapping2
==========

Keywords:

== Summary ==
This scene demonstrates some newer options available for u-v mapping for materials maps that are designed to make the process easier. These new features are:

== Details ==
This section explains any technical details of the simulation.

== Important Files ==
This section highlights key files important to the simulation.
  
== Setup ==
This section includes any step-by-step instructions for running and
visualizing the simulation.

== Results ==

1) "cartesian origin" - rather than use the normal image origin (top left of an image) as uv (0,0), you can use the caresian origin (bottom left) of the image. This is useful since most 3rd party uv packages use the cartesian coordinate system and this feature allows you to bring maps in directly without flipping the image.

2) "mixing" - normally, when you include a digital count value in the map that is not included in the material map look up table, DIRSIG will report an error in fail since there isn't a mapping from the DC value to a material in the material list. However, this approach makes it very difficult to edit and manipulate material maps since you can only let the image editor use a few pixel values. This new feature allows for values not in the map LUT to be interpreted as a mixture of the two nearest materials (a weighted mixture based on the different distances to each material). Aside from making things easier to edit, it is also now possible to generate smoothly varying material maps, rather than being purely on or off a material.

3) "uvprojector" - used for uv mapping rather than tile mapping (note that if you attempt to tile a uv mapped object (i.e. one with texture coordinates), the uv mapping will override the tiled mapping. This may change in the future to force tile mapping regardless of texture coordinates.

Two maps are provided "vw_mat.pgm" and "vw_mat_blur.pgm". The first is a binary image (values are 0 and 255), while the second softens the edges in the map, using the mixing option. Both maps are 2048x2048 and cover the entire 3D model of the van. A screenshot of this mesh loaded into a commercial uv editor is shown in "unwrapped.png".


 
* Note: the VW van model was downloaded from an online repository of "free" models. However, 3D models do not, in general, have embedded authorship or licensing information so this is not a guarantee of its public availability.  
