POV-Ray : Newsgroups : povray.binaries.images : MR Scan Rendering [10k jpg] : Re: MR Scan Rendering [+36k jpg] Server Time
16 Nov 2024 10:30:09 EST (-0500)
  Re: MR Scan Rendering [+36k jpg]  
From: ingo
Date: 3 Feb 2003 06:02:18
Message: <Xns93177AC6AC748seed7@povray.org>
in news:3e3e47f1@news.povray.org A J Le Couteur Bisson wrote:

> Oh, and I didn't know if the .df3 interpolation would provide a
> suitable gradient for the iso-surface calculations to work properly. 
> Has anyone tried this?
> 

Below is a snippet of code I used on frog dataset:


#declare F1=   function {
      pattern {
         density_file df3 "frog.df3"
         interpolate 1
         translate -0.5
      }
   }


isosurface{
   function {
      -F1(x,y,z)
   }
   contained_by {box{-0.5,0.5}}
   threshold -0.515
   accuracy 0.0000001
   max_gradient 145
   scale<500/500,470/500,138/500>
   scale 4
   pigment {rgb 1}
}


Ingo


Post a reply to this message

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