home *** CD-ROM | disk | FTP | other *** search
/ Hot Stuff 2 / hot_stuff_2.zip / hot_stuff_2 / PROGRAMS / POVRAY / UPDATES.ZIP / BUGS.TXT next >
Text File  |  1992-08-17  |  2KB  |  86 lines

  1. Bug reports for POV-Ray 1.0
  2. ---------------------------
  3.  
  4. This file contains reported bugs and workarounds at this point.
  5.  
  6.  
  7.  
  8.  
  9.  
  10. BUG #1: Material map orientation vector is not properly initialized.
  11. --------------------------------------------------------------------
  12.  
  13. Example:
  14.    material_map{gif "povmap.gif"} // doesn't work.
  15.  
  16.    material_map{<1 -1 0> gif "povmap.gif"} //works
  17.  
  18. Work-around:
  19.    Always add "<1 -1 0>" to material_map statements.
  20.  
  21. Program fix:
  22.    In PARSE.C line 1559...
  23.  
  24.     Make_Vector (&Texture->Texture_Gradient, 1.0, -1.0, 0.0);
  25.  
  26.  change to...
  27.  
  28.     Make_Vector (&Texture->Material_Image->Image_Gradient, 1.0, -1.0, 0.0);
  29.  
  30.  
  31.  
  32.  
  33. BUG #2: Material map map type setting trashes memory.
  34. -----------------------------------------------------
  35.  
  36. Example:
  37.    material_map{ 1 <1 -1 0> gif "povmap.gif"} // doesn't work.
  38.  
  39.    material_map{<1 -1 0> gif "povmap.gif" map_type 1} //works
  40.  
  41. Work-around:
  42.    Never use old style map type with material_map.  Always use
  43.    the "map_type #" instead.
  44.  
  45. Program fix:
  46.    In PARSE.C line 1570...
  47.  
  48.     (Texture->Image->Map_Type) = (int) Parse_Float ();
  49.  
  50.  change to...
  51.  
  52.     (Texture->Material_Image->Map_Type) = (int) Parse_Float ()
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. BUG #3: Float identifier doesn't work in old style map type setting
  60.         for image_map, bump_map or material_map.
  61. -------------------------------------------------------------------
  62.  
  63. Example:
  64.   image_map{ Sphere_Map gif "rough.gif"} // doesn't work.
  65.  
  66.   image_map{ 1 gif "rough.gif"} // works.
  67.  
  68.   image_map{gif "rough.gif" map_type Sphere_Map } // works.
  69.  
  70. Work-around:
  71.    Use either option shown above.
  72.  
  73. Program fix:
  74.    In PARSE.C lines 1173, 1476 and 1568...
  75.  
  76.     CASE3 (DASH_TOKEN, PLUS_TOKEN, FLOAT_TOKEN)
  77.  
  78.  change to...
  79.  
  80.     CASE4 (DASH_TOKEN, PLUS_TOKEN, FLOAT_TOKEN, IDENTIFIER_TOKEN)
  81.   
  82.  
  83.  
  84.  
  85.  
  86.