POV-Ray : Newsgroups : povray.binaries.images : Re: cloud texture experiment Server Time
26 Dec 2024 01:14:02 EST (-0500)
  Re: cloud texture experiment (Message 1 to 2 of 2)  
From: no13
Subject: Re: cloud texture experiment
Date: 16 Apr 2004 21:40:00
Message: <web.40808ab9dd52ed89484e111d0@news.povray.org>
This great work, any chance for the code ?

I've been trying to do something similar but without as much success. Are
you using any slope pigments with the sun vector at all ?

Nathan O'Brien


Post a reply to this message

From: Abe
Subject: Re: cloud texture experiment
Date: 18 Apr 2004 10:30:00
Message: <web.40828ff6dd52ed89123480790@news.povray.org>
"no13" <pov### [at] no13net> wrote:
> This great work, any chance for the code ?
>
> I've been trying to do something similar but without as much success. Are
> you using any slope pigments with the sun vector at all ?
>
> Nathan O'Brien

Hi,

The technique I'm using does not use the slope pigment, but depends entirely
on functions. As such, the position information of any light_source has to
be "manually" supplied to the texture.

The sum function (now that it works right in the new 3.6 beta! - thankyou
POV Team) is really useful here. Given a sunlight-direction vector (as a
function) and a function for clouds you can use the sum function to provide
the loop to march towards the sun; along the way you determining which of
the cloud function samples you encounter will shade the point you are
currently evaluating.

I don't have my code cleaned and stabilized to a point where I'd want to
share it yet. When I get it cleaned up though, I'll post it somewhere.

Meanwhile there is a very good resource here which which you should look at:
http://www.gamedev.net/community/forums/topic.asp?whichpage=1&pagesize=20&topic_id=86024

Regards
Abe


Post a reply to this message

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