POV-Ray : Newsgroups : povray.binaries.images : The letter on the table : Re: The letter on the table Server Time
6 Aug 2024 23:26:48 EDT (-0400)
  Re: The letter on the table  
From: DJ Wiza
Date: 26 Jul 2006 03:35:21
Message: <44c71b39$1@news.povray.org>
EagleSun wrote:
> Haha!
> Nice!
> 
> Can you post the source?
> 
> 

O_o

The source?  Its just a white inverted box with a bumps normal, a box 
with a wood texture, two red cylinders (forgot to assign them a 
texture!), a text object, and a light source.  Its an incredibly simple 
scene.  But if you really want it...

camera {
	location <3,3,3>
	look_at <0,2,0>
}

light_source {
	<2,2.3,1.5>, rgb 1
}

box {
	0,
	<5,5,4>
	pigment { color rgb 1 }
	normal {  bumps 0.1 scale 0.05 }
	inverse
}

box {
	<0.1,2,0.1>
	<4,2.05,2>
	pigment {
		wood
   		turbulence 0.1   // should have some!
   		scale 0.02
   	}

}

cylinder {
	<0.5,2.0,0.5>
	<0.5,0,0.5>
	0.05
	pigment { color rgb <1,0,0> }
}

cylinder {
	<0.5,2.0,1.7>
	<0.5,0,1.7>
	0.05
	pigment { color rgb <1,0,0> }
}

text {
   ttf             // font type (only TrueType format for now)
   "crystal.ttf",  // Microsoft Windows-format TrueType font file name
   "A",      // the string to create
   0.25,              // the extrusion depth
   0               // inter-character spacing
   rotate 35*y
   translate <1,2.05,1>
   pigment { color rgb 1 }
}


Post a reply to this message

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