POV-Ray : Newsgroups : povray.general : Using external data in ISO-surface function : Re: Using external data in ISO-surface function Server Time
1 Aug 2024 10:20:18 EDT (-0400)
  Re: Using external data in ISO-surface function  
From: Mike Williams
Date: 17 Nov 2005 04:50:57
Message: <IC6B$DAoJFfDFw+K@econym.demon.co.uk>
Wasn't it lien0n who wrote:
>  I also want to do similar things. I wrote my data as density file(**.df3),
>and try to use the keyword "density" to be inside the isosurface function
>like follows:
>//=================================================begin
>isosurface{
>  function {
>  density { density_file df3 "**.df3" interpolate 1 }
>  }
>  contained_by { box { 0, 1 } }
>  pigment{rgb <1,0,0>}
>}
>//=================================================end
>
>but errors appeared. then how to do such things??

See http://www.econym.demon.co.uk/isotut/patterns.htm#density

In an isosurface you can use the df3 as a pattern but not as a density.
Density is only meaningful in media.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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