POV-Ray : Newsgroups : povray.binaries.scene-files : Help! Where are my Frakkin Photons? Server Time
23 Nov 2024 20:41:38 EST (-0500)
  Help! Where are my Frakkin Photons? (Message 1 to 1 of 1)  
From: Bryan Valencia
Subject: Help! Where are my Frakkin Photons?
Date: 21 Sep 2007 23:15:32
Message: <46f488d4$1@news.povray.org>
//I just don't get it!

#version 3.6;
global_settings {
		photons {
			spacing 0.01                 // specify the density of photons
	}
}

#declare Ruby = material{
	texture{
		pigment{rgbf<1,.5,.5,1>}
		finish{reflection {0.1, 1.0 fresnel on}}
	}
	interior{ior 2.4}
}

#declare Diamond = material{
	texture{
		pigment{rgbf .95}
		finish{reflection {0.1, 1.0 fresnel on} }
	}
	interior{ior 2.4}
}

#declare Land1 = material{
	texture{
		pigment{color rgb .9}
		normal{
			bumps turbulence 1
			normal_map{
				[ 0.3 crackle .3 turbulence .4]
				[0.5 marble turbulence 1]
				[ 0.9 granite 1 scale .1]
			}
		}
	}
}

#declare crossobj = intersection{
	merge{
		box{<-1,-20,-1><1,10,1> rotate y*45}
		box{<-7,-1,-1><7,1,1> rotate x*45 translate y*3}
	}
	box{<-10,-21,-1><10,11,1> scale <1,1,.7>}
}

#declare cross=object{crossobj material{Diamond} photons{ reflection off 
refraction on collect off}}

torus{8,1
	material{Ruby}
	photons{ reflection off refraction on collect off}
	translate <-10,1.01,2>
}

object{cross translate <5,10,5> rotate <12,3,25> }

difference{
	plane{y,0}
	object{crossobj
		translate <5,10,5>
		rotate <12,3,25>
	}
	material{Land1 scale 5}
}

#declare theFont="COURBD.TTF";

#declare Line1 = "'For I know the plans I have for you,' declares the 
Lord, ";
#declare Line2 = "'plans to prosper you and not to harm you, plans to 
give you";
#declare Line3 = "hope and a future. Then you will call upon me and come 
and ";
#declare Line4 = "pray to me, and I will listen to you. You will seek me 
and ";
#declare Line5 = "find me when you seek me with all your heart.'";
#declare Line6="(Jeremiah 29:11-13, NIV)";

union{
	text {ttf theFont, Line1, 0.2, 0 translate<0,5,0>}
	text {ttf theFont, Line2, 0.2, 0 translate<0,4,0>}
	text {ttf theFont, Line3, 0.2, 0 translate<0,3,0>}
	text {ttf theFont, Line4, 0.2, 0 translate<0,2,0>}
	text {ttf theFont, Line5, 0.2, 0 translate<0,1,0>}
	text {ttf theFont, Line6, 0.2, 0 translate<0,0,0>}
	texture{
		pigment{color rgb<1,1,0>}
		finish{ambient .3}
	}
	scale 1
	rotate x*90
	translate <-16,0.1,-15>
}

camera{location <0,35,-30> look_at <-3,5,0>}

light_source {
	<10,900,1000>
	color rgb 1
	spotlight
	radius  .5
	falloff 1
	point_at <0,0,0>
	photons {refraction on reflection on}
}


sky_sphere {
	pigment {
		gradient y
		color_map {
			[0.0 color rgb 0]
			[1.0 color red 0.75]
		}
	}
}


Post a reply to this message

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