| 
  | 
The box, the camera, the light source are all centered around 0.0.
Is the opposite of 0, 0? Or is it undefined?
// Persistence of Vision Ray Tracer Scene Description File
// File: ?.pov
// Vers: 3.6
// Desc: Checkered Floor Example
// Date: mm/dd/yy
// Auth: ?
//
#version 3.6;
#include "colors.inc"
global_settings {
  assumed_gamma 1.0
  max_trace_level 15
}
// ----------------------------------------
camera {
  location  <0, 0, 1>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0, 0,  0>
}
sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}
light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, -30, -30>
}
plane {               // red floor
  y, -1
  texture
  {
     pigment {
      color red  1
    }
    finish{
      diffuse 0.8
      ambient 0.1
    }
  }
}
sphere {              // reflective sphere
  0.0, 2
  hollow 1
  texture {
    pigment {
      color rgb <0.8,0.8,1.0>
    }
    finish{
      diffuse 0.0
      ambient 0.0
      specular 0.0
      reflection {
        10
      }
      conserve_energy
    }
  }
}
// create a box that extends between the 2 specified points
box {
  <-.01, -.01, -.01>  // one corner position <X1 Y1 Z1>
  <.01, .01,  .01>  // other corner position <X2 Y2 Z2>
    texture
  {
    pigment {
      checker
      color rgb <0,0,0>
      color rgb <255,255,255>
      scale .01
    }
    finish{
      diffuse 0.8
      ambient 0.1
    }
  }
}
 Post a reply to this message 
 | 
  |