POV-Ray : Newsgroups : povray.beta-test : Possible bug in iso messages? : Possible bug in iso messages? Server Time
5 Nov 2024 01:23:41 EST (-0500)
  Possible bug in iso messages?  
From: Tom Melly
Date: 13 Sep 2001 10:53:02
Message: <3ba0c84e$1@news.povray.org>
I receive a warning message under win2000 about no max_gradient set with the
following:

#version 3.5;
global_settings {  assumed_gamma 1.0}
camera {  location  <0.0, 10.0, -10.0>  look_at   <0.0, 0.0,  0.0> }
light_source {  <-30,30,0>    color rgb 1}

#declare fn_floor= function{pigment{agate color_map{[0 rgb 0][1 rgb 1]}}}
isosurface {
  function {y - fn_floor(x,0,z).red}
  max_gradient 30
  contained_by {box{<-5,-2,-5>,<5,2,5>}}
  accuracy 0.001
  evaluate 1, 1.2, 0.99
  pigment{rgb 1}

}
--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

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