|
|
"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
|
|