POV-Ray : Newsgroups : povray.unofficial.patches : Accuracy of trace w/ blobs? : Re: Accuracy of trace w/ blobs? a bug? Server Time
1 Sep 2024 20:18:32 EDT (-0400)
  Re: Accuracy of trace w/ blobs? a bug?  
From: Greg M  Johnson
Date: 21 Nov 2000 21:41:33
Message: <3a1b325d@news.povray.org>
#version unofficial MegaPov 0.5;
#include "colors.inc"
#declare yall=9;//height of cylinders
#declare radi=.8;//radi of cylinders
#declare stren=.0005;//strength in blob
#declare collection=blob{
    threshold 0.5
    cylinder{<9.25,0,2.75>,<9.25,yall,2.75>,radi,stren}
    cylinder{<10.25,0,6.25>,<10.25,yall,6.25>,radi,stren}
    cylinder{<10.25,0,8.25>,<10.25,yall,8.25>,radi,stren}
    cylinder{<10.25,0,8.75>,<10.25,yall,8.75>,radi,stren}
    cylinder{<10.25,0,10.75>,<10.25,yall,10.75>,radi,stren}
    cylinder{<10.25,0,12.75>,<10.25,yall,12.75>,radi,stren}
    cylinder{<10.75,0,5.25>,<10.75,yall,5.25>,radi,stren}
    cylinder{<11.25,0,2.25>,<11.25,yall,2.25>,radi,stren}
    cylinder{<11.25,0,4.25>,<11.25,yall,4.25>,radi,stren}
    cylinder{<11.25,0,6.25>,<11.25,yall,6.25>,radi,stren}
    cylinder{<11.25,0,9.75>,<11.25,yall,9.75>,radi,stren}
    cylinder{<11.75,0,2.75>,<11.75,yall,2.75>,radi,stren}
    cylinder{<11.75,0,6.75>,<11.75,yall,6.75>,radi,stren}
    sphere{<0,-300,0>,568.25,1}  //also try changing this radius to 600,
then 601.
    pigment {White}
}

#declare n=5;
#while(n<670)

#declare Norm=<0,0,0>;
#declare tracey=trace(collection,<10,n,10>,-y,Norm);
#debug "\n tracey.y is "
#debug str(tracey.y,7,4)
#debug "when n is "
#debug str(n,7,4)

#declare n=n+10;
#end

camera {
  location <0, -65,-0>  look_at  <0, 0, 0>
  angle 30}

light_source{<10,200,-50>rgb 1.2}

fog { fog_type 1 distance 2000 rgb <.2,.3,.7>}


Post a reply to this message

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