POV-Ray : Newsgroups : povray.general : "The Last Guardian" cannot be rendered?? : Re: "The Last Guardian" cannot be rendered?? Server Time
30 Jul 2024 22:26:48 EDT (-0400)
  Re: "The Last Guardian" cannot be rendered??  
From: Tim Attwood
Date: 2 Apr 2008 20:37:25
Message: <47f434d5$1@news.povray.org>
Maybe Linux is freaking out about the division by zero
warnings?

** revisions to remove warnings
** in file "galleon.inc"
-----------------------------------------------------------------------------
** replace lines 141 - 145 with
               [0.0 color col]
               [0.1 color col]
               [0.5 color col2]
               [0.9 color col]
               [1.0 color col}
** explanation: RGB expects vector literal, color doesn't
-----------------------------------------------------------------------------
** replace line 1855 with
      #if (h_num=0) #local k=999999999; #else #local k = 1/h_num; #end
** explanation: remove division by zero error
-----------------------------------------------------------------------------
** replace lines 2114 - 2135 with
         // The lower cross beam for stern is broken... notice that the 
distance of
         // this beam below the platform is controlled by "overlap.x*2.5"
         #local TEMP_REVISION = cylinder {<0,0,cross_pole_l/2>,
            <0,0,-cross_pole_l/2>, 
base_pole_r*beam_crosspole_radius_factor};
         // main cross beam
         #if (show_decay > 0)
            #local TEMP_REVISION = union {
               object {TEMP_REVISION}
               object {m_dripping_cylinder(base_pole_r*
                  beam_crosspole_radius_factor*beam_deposit_level,
                  cross_pole_l)
                  rotate 90*y}};
         #end
         // Original plan is to cut the stern cross pole, Cut the center 
beam as well
         #if (special != bm_is_bow_beam)
            #local TEMP_REVISION = difference {
               object{TEMP_REVISION}
               object{galleon_cut_cross_beam
                  translate 
<-0.02,0,-(1-bm_stern_cross_beam_z)*(cross_pole_l/2)>}};
         #end
         object{TEMP_REVISION translate 
<base_cross_pole_x,base_cross_pole_y,0>}
         #undef TEMP_REVISION
** explanation: don't create a single object CSG
-----------------------------------------------------------------------------
** replace line 2823 with
   #local TEMP_REVISION =
** replace line 2885 with
      };    // difference
** replace line 2892 with
      #if (hull = hrm_is_top_hull) #local TEMP_REVISION = 
union{object{TEMP_REVISION}
** replace line 2898 with
         }};
** replace line 2900 with
         #if (show_decay > 0) #local TEMP_REVISION = 
union{object{TEMP_REVISION}
** replace line 2906 with
            }};
** replace line 2911 with
      object {TEMP_REVISION texture { t_galleon_hull_rail }
** explanation: don't create a single object CSG
-----------------------------------------------------------------------------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.