POV-Ray : Newsgroups : povray.binaries.images : Port Whatmough MyMaglev system - camera inconsistency problem : Port Whatmough MyMaglev system - camera inconsistency problem Server Time
4 Nov 2024 13:12:39 EST (-0500)
  Port Whatmough MyMaglev system - camera inconsistency problem  
From: Jörg 'Yadgar' Bleimann
Date: 30 May 2009 04: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 



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


 

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