POV-Ray : Newsgroups : povray.news-submissions : translate statements look at // green sphere near bottom ( how do I do it = Server Time
21 Dec 2024 21:11:47 EST (-0500)
  translate statements look at // green sphere near bottom ( how do I do it = (Message 1 to 1 of 1)  
From: Mac
Subject: translate statements look at // green sphere near bottom ( how do I do it =
Date: 27 Sep 2006 15:00:00
Message: <web.451ac9c5556df249fe434bb70@news.povray.org>
#include "colors.inc"
#include "finish.inc"
#include "pawn.inc"


camera
{
  location  <5, 15, -20.0>
  direction <0,0,22>
  right     <8, 0,0>
  up        <0, 6, 0>
  look_at   <0.0, 0, 0.0>
}

light_source
{ <-30, 30, -30>
  color red .75  green .75  blue .75
}
light_source
{ <25, 25, -30>
    color red .75 green .75 blue .75
}

plane { <0,1,0>, 0 pigment {color Tan} }

box { <-3, 0, -3>, <3, 0.1, 3>
      texture { pigment {
                  checker
                    color Red
                    color White
                }
                finish {diffuse .6 ambient .4}
      }
}
// blue sphere
object {pawn
        texture { pigment {color Blue}
                  finish {Shiny}
        }
}
sphere { <-2.5, .5, -2.5>, .5
        texture {pigment {color Yellow}
                 finish {Shiny}
        }
}


// green sphere
object {pawn
        texture { pigment {color Green}
                  finish {Shiny}
                  translate <1,2,-1>  //  this I need to move 1 unit to the
right and 1 unit back
                }


}


Post a reply to this message

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