|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |