POV-Ray : Newsgroups : povray.general : camera is not centered Server Time
4 Aug 2024 00:25:21 EDT (-0400)
  camera is not centered (Message 1 to 3 of 3)  
From: marabou
Subject: camera is not centered
Date: 22 Sep 2003 09:41:01
Message: <20030922154804.44f2bb6b.not@available.yet>
hello, 

when i create a scene with
camera { location <0,0,-5> look_at <0,0,0>}
//hollow
box {
	<-10,-10,-10>,<10,10,10>
	pigment { color <0,0,0> }
	finish { reflection 0}
}
#declare bars_width = 0.25;
#declare bars_height = 1;
#declare bars_depth = 1;
box {
	<-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
	pigment {color <1,1,1> }
}
i found out, that the bar is not centered.
it is shifted about x=0.215... to the right.
what went wrong?

thanks in advance


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: camera is not centered
Date: 22 Sep 2003 10:23:28
Message: <3f6f05e0$1@news.povray.org>
It works fine for me. Have you tested that scene,
or is it an untested excerpt from a different
file?

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de


> hello,
>
> when i create a scene with
> camera { location <0,0,-5> look_at <0,0,0>}
> //hollow
> box {
> <-10,-10,-10>,<10,10,10>
> pigment { color <0,0,0> }
> finish { reflection 0}
> }
> #declare bars_width = 0.25;
> #declare bars_height = 1;
> #declare bars_depth = 1;
> box {
> <-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
> pigment {color <1,1,1> }
> }
> i found out, that the bar is not centered.
> it is shifted about x=0.215... to the right.
> what went wrong?
>
> thanks in advance


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18.09.2003


Post a reply to this message

From: Tom Melly
Subject: Re: camera is not centered
Date: 22 Sep 2003 10:34:29
Message: <3f6f0875@news.povray.org>
"marabou" <not### [at] availableyet> wrote in message
news:200### [at] availableyet...

seems okay - here's the version I tested with:


#version 3.5;
#include "colors.inc"

global_settings{
  ambient_light 10
}

camera {orthographic location <0,0,-5> look_at <0,0,0>}

#declare bars_width = 0.25;

box {
  <-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
  pigment {color <1,1,1> }
}

cylinder{<-1.5-0.215, -5, 2>,<-1.5-0.215, 5, 2>,0.213 pigment{Yellow}}


Post a reply to this message

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