
Info for using 'convert_material_list.exe' to generate a formatted POV scene file with a material array

view_samples.inc           - formats and displays each material on object samples using mat_array[][]
view_samples_vertical.inc  - formats the samples in a vertical thumbnail - a larger current sample view 
convert_material_list.exe  - converts a material list to a formatted .pov scene of arrayed materials
default_materials.inc      - misc. materials - non image mapped
samples_default.pov        - formatted material array of 'default_materials.inc'
woods.pov                  - formatted material array of 'woods.inc' + 'materials_wood.inc' 
materials_wood.inc         - creates wood materials from wood textures defined in woods.inc
woods.txt                  - material list of wood names from woods.inc (example of a material text list)


To create a new POV material array :
1.  Create a list of materials from a know library - save as a .txt file
2.  Run convert_material_list.exe and navigate to the text file and convert.
3.  Open the new POV file - root name will be the same as the list name
4.  Edit the #include path and point to the library of materials     (note 1)
5.  Change the current_sample to center the viewer on that material  (note 2); 

The default material array count is 1000. Change 'mat_count' to fit the material count (note 3)
The viewer builds samples of the entire array (could change this to include only visible samples)
Edit view_samples.inc to change lighting, camera, sample objects, sky, and overall formatting.         


To do: 
-  Add a value to change material scale on samples. Materials are un-scaled and applied to sample objects one unit in size. Sample objects are then sized to fit the viewport.  
-  Add option for other sample object types - cylinder, torus, etc. 
-  Add option for additional lighting and reflection schemes.



- include the material library that matches the array names
  (note 1)  #include "materials_wood.inc"

- change current sample to preview
  (note 2) #declare current_sample = 21 ;

- change array count to match material count in list - optional
  {note 3) #declare mat_count = 1000;        


