POV-Ray : Newsgroups : povray.newusers : An Angling Wall Server Time
5 Sep 2024 04:17:37 EDT (-0400)
  An Angling Wall (Message 1 to 2 of 2)  
From: Wade
Subject: An Angling Wall
Date: 4 Sep 2001 17:36:15
Message: <3b95494f$1@news.povray.org>
Before I translated the wall to its current position, it stood up straight,
but after translating it, the wall is angling to the left at about 10
degrees.  how do I fix this problem?

Here's my code:

#include "colors.inc"

background {color rgb <.999,.999,.999>}

light_source {
 0*x
 color White
 area_light
 <8,0,0> <0,0,8>
 4, 4
 adaptive 0
 jitter
 translate <40,80,-40>
}

camera {
 location <0,0,15>
 look_at y*5
 angle 45
}

// Left Wall

box {
 <-1,-1,-1>, <1,1,1>
 texture{
  pigment{
   color rgb <1.0, .989567,0.9479>
  }
  normal{
   wrinkles 0.25
   scale 0.005
  }
  finish{
   ambient .266167
   diffuse .884867
  }
 }
 scale <0.1, 3.5, 1.5>
 translate <-5.638508,0.140896,0.0>
}


Wade


Post a reply to this message

From: Francois Labreque
Subject: Re: An Angling Wall
Date: 4 Sep 2001 17:45:17
Message: <3B954B52.41567428@videotron.ca>
Wade wrote:
> 
> Before I translated the wall to its current position, it stood up straight,
> but after translating it, the wall is angling to the left at about 10
> degrees.  how do I fix this problem?
> 
> camera {
>  location <0,0,15>
>  look_at y*5
>  angle 45
> }

That's because your camera is at ground level (y=0) and looking up at
y=5.  Change it to look at <0,0,0>
or put it a < 0,5,15>.

-- 
Francois Labreque | Unfortunately, there's no such thing as a snooze
    flabreque     | button on a cat who wants breakfast.
        @         |      - Unattributed quote from rec.humor.funny
   videotron.ca


Post a reply to this message

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