POV-Ray : Newsgroups : povray.newusers : Distorded distant sphere Server Time
24 Dec 2024 13:24:04 EST (-0500)
  Distorded distant sphere (Message 1 to 5 of 5)  
From: Jester
Subject: Distorded distant sphere
Date: 30 Dec 2002 15:06:30
Message: <4t811vskqkvd1nk1i7g7dc1o69i3q0t2rd@4ax.com>
Hi.

I'm new to POV - I've been playing with it for a couple of month now.

Last week I tryed to render a scene with a distant planet, so I
created a sphere, scaled and translated it to a far distance.

As long as the planet is on the horizon, no problems. But as soon as I
want to raise the planet over the horizon line, it gets distorted. I
do not understand why. Can someone explain what I do wrong ?

Thanks.

Jester.

------------------------------

// Code starts here - this was rendered at a resolution of 720x576

#include "colors.inc"

camera {
	location <0, 6, 0>
	look_at   <0, 0, 100>
	right x*720/576
	up y
}

background { color rgb <0.2, 0.2, 0.3> }

light_source {
	<0, 100, -100>, White
}

object {
  sphere {
  	0, 1
  	texture {
  		pigment { Red }
  	}
  }
  scale 1000
  translate 10000*z
  rotate <-14, 25, 0>
  // If this is <0, 25, 0> then the sphere is not distorted
}

plane {
	y, -1
	texture {
		pigment {
			checker color Red color Green
		}
		scale 10
	}
}

// Code ends here


Post a reply to this message

From: ingo
Subject: Re: Distorded distant sphere
Date: 30 Dec 2002 16:07:17
Message: <Xns92F4E14A5D2A0seed7@povray.org>
in news:4t811vskqkvd1nk1i7g7dc1o69i3q0t2rd@4ax.com Jester wrote:

> As long as the planet is on the horizon, no problems. But as soon as I
> want to raise the planet over the horizon line, it gets distorted.

Jester,

have alook at this:

http://www.students.tut.fi/~warp/povQandT/misconceptions.html
- Perspective doesn't affect a sphere.

Ingo


Post a reply to this message

From: Warp
Subject: Re: Distorded distant sphere
Date: 30 Dec 2002 16:16:17
Message: <3e10b7a0@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> http://www.students.tut.fi/~warp/povQandT/misconceptions.html
> - Perspective doesn't affect a sphere.

  You can give a direct URL as well:

http://www.students.tut.fi/~warp/povQandT/misconceptions.html#perspectivespheres

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Jester
Subject: Re: Distorded distant sphere
Date: 30 Dec 2002 17:35:17
Message: <0fi11v80ddc1fqo6okijee0hdg9lg3fov1@4ax.com>
On 30 Dec 2002 16:07:17 -0500, ingo <ing### [at] tagpovrayorg> wrote:

>Jester,
>
>have alook at this:
>
>http://www.students.tut.fi/~warp/povQandT/misconceptions.html
>- Perspective doesn't affect a sphere.
>

Allright then, it's not a bug, it's a feature :D

Thanks.. I guess I'll keep the sphere on the horizon for now, as I
don't really like it when it looks distorted..

Jester.


Post a reply to this message

From: Ross Litscher
Subject: Re: Distorded distant sphere
Date: 8 Jan 2003 16:48:31
Message: <3e1c9caf$1@news.povray.org>
Jester <yma### [at] hotmailcom> wrote in message
news:0fi11v80ddc1fqo6okijee0hdg9lg3fov1@4ax.com...
> On 30 Dec 2002 16:07:17 -0500, ingo <ing### [at] tagpovrayorg> wrote:
>
> >Jester,
> >
> >have alook at this:
> >
> >http://www.students.tut.fi/~warp/povQandT/misconceptions.html
> >- Perspective doesn't affect a sphere.
> >
>
> Allright then, it's not a bug, it's a feature :D
>
> Thanks.. I guess I'll keep the sphere on the horizon for now, as I
> don't really like it when it looks distorted..
>
> Jester.
>

In that same article it suggests using a wide angle camera, have you tried
this? does it help our scene?

ross.


Post a reply to this message

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