POV-Ray : Newsgroups : povray.binaries.images : Port Whatmough MyMaglev system - camera inconsistency problem Server Time: 19 Mar 2010 09:36:43 GMT
  Port Whatmough MyMaglev system - camera inconsistency problem (Message 1 to 2 of 2)  
From: Jörg 'Yadgar' Bleimann
Subject: Port Whatmough MyMaglev system - camera inconsistency problem
Date: 30 May 2009 08:52:57
Message: <4a20f3e9@news.povray.org>
High!

Advancing with MyMaglev... but just as I approached the completion of 
the demonstration track constant-speed animation, a strange effect 
appeared: from one frame to the next, the grey sky sphere suddenly 
showed a kind of banding, also the perspective of the rails changed 
significantly, which both never occurred before - but I didn't change 
neither the y position of the camera nor the y direction of the look_at 
vector!

The problem occurred at the "border" between two rail segments: a 
straight 15-metre section running in NW direction (315°) and a following 
45° right turn with a radius of 15 metres.

So what is the difference between:

// frame 2270
#declare loc=<4.3933982822, 0.2, -44.8223306237>+15*<sin(radians(45)), 
0, cos(radians(45))>+<-0.1646497652-(clock-2196)*0.2, 0, 
0.1646497652+(clock-2196)*0.2>*1/(sqrt(2));
#declare ldir=vrotate(<0, 0, 1>, y*315);

and

// frame 2271
#declare loc = <4.3933982822, 0.2, -44.8223306237>+15*<sin(radians(45)), 
0, cos(radians(45))>+<-15, 0, 15>*1/(sqrt(2))+15*<sin(radians(45)), 0, 
cos(radians(45))>+15*<sin(radians(225.6289157763+(clock-2271)*0.763943726)), 
0, cos(radians(225.6289157763+(clock-2271)*0.763943726))>;
#declare ldir = vrotate(<0, 0, 1>, 
y*(315.6289157763+(clock-2271)*0.763943726));

?

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download 'cabinrailway2270.png' (23 KB)
Download 'cabinrailway2271.png' (25 KB)

Preview of image 'cabinrailway2270.png'
cabinrailway2270.png

Preview of image 'cabinrailway2271.png'
cabinrailway2271.png


 

From: Jörg 'Yadgar' Bleimann
Subject: Re: Port Whatmough MyMaglev system - camera inconsistency problem (solved)
Date: 30 May 2009 10:16:22
Message: <4a210776$1@news.povray.org>
Jörg 'Yadgar' Bleimann wrote:

> Advancing with MyMaglev... but just as I approached the completion of 
> the demonstration track constant-speed animation, a strange effect 
> appeared: from one frame to the next, the grey sky sphere suddenly 
> showed a kind of banding, also the perspective of the rails changed 
> significantly, which both never occurred before - but I didn't change 
> neither the y position of the camera nor the y direction of the look_at 
> vector!

I found the reason for the change in the view: I left out "angle 40" in 
the #range(2271, 2329) section - erroneously thinking that 40° was the 
default FOV with PoV-Ray 3.6!

See you in Khyberspace!

Yadgar


Post a reply to this message

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