POV-Ray : Newsgroups : povray.general : Oblique projection : Re: Oblique projection Server Time
31 Jul 2024 08:20:57 EDT (-0400)
  Re: Oblique projection  
From: Tim Attwood
Date: 3 Jan 2008 02:56:02
Message: <477c9512@news.povray.org>
> You only have to set -uv on the command line to disable the vista buffer.

Ah, I didn't know that! Works great! Always something new to learn.

// use -uv
#version 3.6;
#include "colors.inc"

camera { //oblique camera
   orthographic
   location  <0.1, 0.6, -2.0>
   direction vrotate(z,<7,-5,0>)
   right     x*image_width/image_height
   up vrotate(y,<7,0,0>)
}

background {White}

light_source {
  <-10, 30, -30>
  color rgb <1, 1, 1>
}

light_source {
  <20, 30, -30>
  color rgb <0.2, 0.2, 0.4>
  shadowless
}

#declare blgs = union {
 box {<0,0,0>,<0.2,0.2,0.2>}
 box {<0,0,0.3>,<0.2,0.3,0.5>}
 box {<0,0,0.6>,<0.2,0.2,0.8>}
 pigment {White}
};

// scene
plane {y,-0.001
   pigment{hexagon Yellow*0.5 LimeGreen ForestGreen scale 0.05}
}
object {blgs translate <-0.5,0,0>}
object {blgs translate <-0.2,0,0>}
object {blgs translate <0.1,0,0>}


Post a reply to this message

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