POV-Ray : Newsgroups : povray.general : POV3.1b5 : density map crash Server Time
13 Aug 2024 17:32:02 EDT (-0400)
  POV3.1b5 : density map crash (Message 1 to 2 of 2)  
From: Dan Connelly
Subject: POV3.1b5 : density map crash
Date: 18 Aug 1998 01:08:30
Message: <35D8FE3C.C54A039D@flash.net>
The following file crashes my version of 3.1b5, but
renders successfully when I omit the color_map
statement.  I have reported this to win### [at] povrayorg .

Dan
====================================

camera {
  location <0, 0, -3>
  look_at <0, 0, 0>
}
light_source {
  <-2, 10, -20>
  color rgb 1
}
sphere {
  0
  1
  hollow
  texture {
    pigment { color rgbt 1 }
  }
  interior {
    media {
      emission 0.5
      density {
        average
        density_map {
         [1 spherical]
         [1  granite]
        }
        color_map {
          [0 color rgb 0]
          [1 color rgb 1]
        }
      }
    }
  }
}


Post a reply to this message

From: Dan Connelly
Subject: Re: POV3.1b5 : density map crash
Date: 18 Aug 1998 22:43:01
Message: <35DA2DA8.8AB12ECD@flash.net>
I received the following generous reply to my bug report
from one of the POV developers:

  The crash is because you have both a density_map and a color_map.
  In fact color_map should not go with average.  You need to make two    
color maps: put one in granite and one in bozo.  

  I've put it a trap for this so that next time it'll give you an
  error message.


========================================

original note: 

The following file crashes my version of 3.1b5, but
renders successfully when I omit the color_map
statement.  I have reported this to win### [at] povrayorg .

camera {
  location <0, 0, -3>
  look_at <0, 0, 0>
}
light_source {
  <-2, 10, -20>
  color rgb 1
}
sphere {
  0
  1
  hollow
  texture {
    pigment { color rgbt 1 }
  }
  interior {
    media {
      emission 0.5
      density {
        average
        density_map {
         [1 spherical]
         [1  granite]
        }
        color_map {
          [0 color rgb 0]
          [1 color rgb 1]
        }
      }
    }
  }
}
-- 
http://www.flash.net/~djconnel/


Post a reply to this message

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