From ALGO RESEARCH CENTRE

R: Visualization

Scientific Visualizations with POV-Ray

Isosurface Object


Download the out.df3 (3.98M) file.
#include "colors.inc"

camera
{
	location <1, 0, 0>/2
	look_at  <0, 0, 0>
}

background {rgb .7}

light_source {<1,1,0> color Gray90 shadowless}

#declare DENSFUNC = function
{
	pattern
	{
		density_file df3 "out.df3"
		interpolate 1 
	}
}

isosurface
{
	function { .06 - DENSFUNC(x,y,z) }
	contained_by { box {-2, 2} }
	pigment {rgb 1}
	rotate <30, 60, 180>
	translate <0, .35, .2>
}
网页取于 http://arc.net.cn/wiki/pmwiki.php/R/Visualization
网页最后更新于 2008 年 06 月 08 日, 02:50 上午