POV-Ray : Newsgroups : povray.general : orthographic camera problem Server Time
5 Aug 2024 10:26:29 EDT (-0400)
  orthographic camera problem (Message 1 to 5 of 5)  
From: TinCanMan
Subject: orthographic camera problem
Date: 17 Oct 2002 23:24:36
Message: <3daf7ef4@news.povray.org>
I am going crazy!  Why does the black square not fill the entire image?

-tgq


//start

camera{
  orthographic
  location z
  up image_height
  right image_width
  look_at  0
}

background{rgb 1}

box{<-image_width/2,-image_height/2,-1><image_width/2,image_height/2,0>}

//end


Post a reply to this message

From: Slime
Subject: Re: orthographic camera problem
Date: 18 Oct 2002 00:12:25
Message: <3daf8a29$1@news.povray.org>
>   up image_height
>   right image_width


up image_height*y
right image_width*x

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: TinCanMan
Subject: Re: orthographic camera problem
Date: 18 Oct 2002 08:07:25
Message: <3daff97d$1@news.povray.org>
"Slime" <slm### [at] slimelandcom> wrote in message
news:3daf8a29$1@news.povray.org...
> >   up image_height
> >   right image_width
>
>
> up image_height*y
> right image_width*x
>
>  - Slime

@%$&&#!  That's what I et for staying up late.  Thanks.

-tgq


Post a reply to this message

From: TinCanMan
Subject: Re: orthographic camera problem
Date: 18 Oct 2002 08:13:23
Message: <3daffae3$1@news.povray.org>
"TinCanMan" <Tin### [at] hotmailcom> wrote in message
news:3daff97d$1@news.povray.org...
> "Slime" <slm### [at] slimelandcom> wrote in message
> news:3daf8a29$1@news.povray.org...
> > >   up image_height
> > >   right image_width
> >
> >
> > up image_height*y
> > right image_width*x
> >
> >  - Slime
>
> @%$&&#!  That's what I et for staying up late.  Thanks.
>
> -tgq
>

It's funny because I even used trial and error to find that it was off by a
scale of 1.73.   (What is vlength(<a,a,a>)/a ?)

-tgq


Post a reply to this message

From: Slime
Subject: Re: orthographic camera problem
Date: 18 Oct 2002 09:22:14
Message: <3db00b06$1@news.povray.org>
> It's funny because I even used trial and error to find that it was off by
a
> scale of 1.73.   (What is vlength(<a,a,a>)/a ?)


sqrt(a^2+a^2+a^2)/a = sqrt(3) = 1.73205

=)

 - Slime


Post a reply to this message

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