POV-Ray : Newsgroups : povray.general : Realistic sky sphere at twilight : Realistic sky sphere at twilight Server Time
29 Jul 2024 10:23:08 EDT (-0400)
  Realistic sky sphere at twilight  
From: rodv92
Date: 7 Feb 2012 13:05:00
Message: <web.4f3167556a6d59495d50475e0@news.povray.org>
hello group !

I found on the net a decent model of the sunset sky some years ago.

http://povray.tashcorp.net/tutorials/qd_realskysphere/

the problem is that with the function max(min(y,1),0) or simply gradient y
the sky is red at the horizon at all azimuth.

To be 100% realistic it should be blue and darker at the opposite direction of
the sunset.

So i thought : Change the function, but correct me if i am wrong, the function
should be (z,y) -> f(z,y) and not y -> f(y) only (when the camera is looking
along the +z axis)

I don't think that a color map can handle two degrees of freedom ??

Other option : two pigment declarations for the sky sphere, one for x, other for
z, and play with transparency : results are quite disappointing , since a dark
streak appears from 0 to 180*y (the goal is to make the sky darker / blue only
near the horizon at the opposite azimuth of the sunset.

Thanks for any ideas !


Post a reply to this message

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