|
|
Here's the source for a box with no lights. Originally made in
Moray, but then modified in POV. If you uncomment the light source
and set the material for the ceiling back to DullWhite, you'll get a
more traditionally lit radiosity scene.
-Nathan Kopp
------------------------------------------------------------------
// Persistance of Vision Raytracer V3.1
// World definition file.
//
// Contains 1 lights, 4 textures and 8 primitives.
//
// This file was generated for POV-Ray V3.1 by
// Moray V3.1 For Windows (c) 1991-1998 Lutz + Kretzschmar
//
// Date : 01/21/1999 (21.01.1999)
//
/*
The text between these two comments is in MorayPOV.INC and is
automatically included in all POV files that Moray exports.
*/
default {
texture {
pigment { rgb <1,0,0> }
finish { diffuse 0.4 ambient 0.3 specular 0.6 roughness 0.001 }
}
}
/* // Scene Comment
This scene was created with Moray For Windows.
*/ // End Scene Comment
global_settings {
adc_bailout 0.003922
assumed_gamma 1.9
hf_gray_16 off
irid_wavelength <0.247059,0.176471,0.137255>
max_intersections 64
max_trace_level 4
number_of_waves 10
ambient_light 1.5
radiosity {
brightness 3.3
count 100
distance_maximum 0
error_bound 0.33
gray_threshold 0.2
low_error_factor 0.8
minimum_reuse 0.015
nearest_count 6
recursion_limit 3
}
}
background { color <0.000,0.000,0.000> }
camera { // Camera StdCam
location < 0.000, -11.000, 6.000>
direction < 0.0, 0.0, 0.9786> // Aperture is 0.94 degrees
sky < 0.00000, 0.00000, 1.00000> // Use right handed-system
up < 0.0, 0.0, 1.0> // Where Z is up
right < 1.33333, 0.0, 0.0> // Aspect ratio
look_at < 0.000, 0.000, 5.000>
}
//
// ******* L I G H T S *******
//
/*
light_source { // Light1
<0.000, 0.000, 9.000>
color rgb <1.000, 1.000, 1.000>
fade_distance 3.0
fade_power 2.0
}
*/
//
// ******** TEXTURES *******
//
#declare DullWhite =
material // DullWhite
{
texture
{
pigment
{
color rgb <1.0, 1.0, 1.0>
}
finish
{
ambient 0.1
diffuse .9
}
}
}
// $MRY$: 'DullRed'
#declare DullRed =
material // DullRed
{
texture
{
pigment
{
color rgb <1.0, 0.125, 0.229167>
}
finish
{
ambient 0.1
diffuse .9
}
}
}
// $MRY$: 'DullGreen'
#declare DullGreen =
material // DullGreen
{
texture
{
pigment
{
color rgb <0.166667, 0.906233, 0.1354>
}
finish
{
ambient 0.1
diffuse .9
}
}
}
// $MRY$: 'ShinyWhite'
#declare ShinyWhite =
material // ShinyWhite
{
texture
{
pigment
{
color rgb <1.0, 1.0, 1.0>
}
finish
{
ambient 0.1
phong 0.1223
phong_size 72.846667
reflection 0.266167
}
}
}
//
// ******** REFERENCED OBJECTS *******
//
//
// ******** OBJECTS *******
//
difference{
box { <-1, -1, -1>, <1, 1, 1>}
box { <.8,-.5,-.5>,<1.1,.5,.5>}
box { <.7,-.3,-.3>,<1.1,.3,.3>}
box { <.6,-.2,-.2>,<1.1,.2,.2>}
material {
DullWhite
}
scale 1.5
rotate -45.0*z
translate <-2.0, 0.0, 1.5>
}
sphere { // Sphere001
<0,0,0>,1
material {
ShinyWhite
//DullWhite
}
scale 2.0
translate <2.0, 1.0, 2.0>
}
box { // Floor
<-1, -1, -1>, <1, 1, 1>
material {
DullWhite
}
scale <5.0, 5.0, 0.1>
}
box { // LtWall
<-1, -1, -1>, <1, 1, 1>
material {
DullGreen
}
scale <0.1, 5.0, 5.0>
translate <-5.0, 0.0, 5.0>
}
box { // RtWall
<-1, -1, -1>, <1, 1, 1>
material {
DullRed
}
scale <0.1, 5.0, 5.0>
translate <5.0, 0.0, 5.0>
}
box { // BackWall
<-1, -1, -1>, <1, 1, 1>
material {
DullWhite
}
scale <5.0, 0.1, 5.0>
translate <0.0, 5.0, 5.0>
}
box { // Ceiling
<-1, -1, -1>, <1, 1, 1>
material {
//DullWhite
texture{pigment{rgb<1,1,1>} finish{ambient 10}}
}
scale <5.0, 5.0, 0.1>
translate 10.0*z
}
Post a reply to this message
|
|