POV-Ray : Newsgroups : povray.programming : Sky Rendering Server Time
25 Dec 2024 11:15:54 EST (-0500)
  Sky Rendering (Message 1 to 4 of 4)  
From: Ammar
Subject: Sky Rendering
Date: 11 Apr 2000 07:46:24
Message: <38f31090@news.povray.org>
Hello All

I am currently working on a project to render skies using physically
accurate or t least approximate colours and intensities. I have been advised
to use POV-Ray simply because it is a very good ray tracing program. My
knowledge of the language is very bad and I am struggling to use it.
I have gathered all the equations to implement my model, but I am completely
clueless as to how POV-Ray works. I would be very greatful if anyone could
provide with a skeleton program that would setup the scene for me. That is,
create the earth and sky spheres and postion the view on the surface of the
earth looking at the sky.

Then I can use that to change the colour of the sky based on equation I
have.

I would like to apologise for this, but my POV-Ray knowledge is very bad and
I am starting to panic !!!

Any help would be greatly appreciated.

Please feel free to reply to me on the email address listed below.

Thanks..

Ammar

a.a### [at] ueaacuk


Post a reply to this message

From: Nigel Stewart
Subject: Re: Sky Rendering
Date: 11 Apr 2000 18:35:45
Message: <38F3A835.19F17358@nigels.com>
> Then I can use that to change the colour of the sky based on equation I
> have.

	There are two ways of going about this - either precomputation
	of a (large) texturemap to use as the sky (write a program to
	output a big PNG or TARGA file) or extending POVray
	programatically to calculate the sky on a per-ray basis.

	Both of these have different pro's and cons, do you have
	an idea which way you want to go?

	Be patient with yourself and work through some of the
	example scenes in the documentation - it should become
	clearer with a little bit of experimentation.

--
Nigel Stewart (nig### [at] nigelscom)
Research Student, Software Developer
Y2K is the new millenium for the mathematically challenged.


Post a reply to this message

From: Nigel Stewart
Subject: Re: Sky Rendering
Date: 11 Apr 2000 18:40:54
Message: <38F3A968.CD79459A@nigels.com>
Here are some links that might be of interest to you:

http://home.global.co.za/~mvds/software.htm
http://www.geocities.com/SiliconValley/Sector/4317/atmos_tutorial/atmos.html
http://samadhi.jpl.nasa.gov/
http://www.geocities.com/SiliconValley/Lakes/1434/galaxy.html
http://www.misterprint.com/planet/Planets.html

--
Nigel Stewart (nig### [at] nigelscom)
Research Student, Software Developer
Y2K is the new millenium for the mathematically challenged.


Post a reply to this message

From: Warp
Subject: Re: Sky Rendering
Date: 12 Apr 2000 02:24:31
Message: <38f4169f@news.povray.org>
Ammar <a.a### [at] ueaacuk> wrote:
: Then I can use that to change the colour of the sky based on equation I
: have.

  This sounds a lot like an isosurface function pigment or media.
  Try with MegaPov: http://nathan.kopp.com/patched.htm

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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