Jump to content
  • Advertisement
Sign in to follow this  
laeuchli

Rendering Clouds, 2.5D Ray Tracer

This topic is 3754 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Dear All, I'm still trying to render clouds as beautiful as the ones shown in YannL's famous cloud thread(http://www.gamedev.net/community/forums/topic.asp?topic_id=86024&PageSize=25&WhichPage=2). I think I have the bascis down. I have a Bresenham Line Tracer which I'm using to ray trace the voxel field, applying scattering as I go, and the basics appear to be working. I do however have a couple of major problems, which I'd be gratful if anyone could help me with. First, I cant seem to get the perspective of the clouds quite right, no matter where I position the point light. Some parts of the clouds look squashed, and others are badly lacking the feeling of depth that Yann's have(I got some 3D apperance, but not much). Is there some kind of ratio I have to follow here? I cant see where I'm going wrong with this. Also, does anyone have any suggestions for the scattering constant ak * τk / 4π (from the harris paper). I cant seem to find a good value that not too dark that doesnt destory any 3D-like appereance(possibly this is a function of my perspective errors however). Finally, I have this texture on a plane, I'd like to project it onto a box. I cant follow Yann's thoughts here, can anyone point me to an additional resource for the equation for this projection? http://img235.imageshack.us/my.php?image=cloudsnz3.png Regards, Jesse

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!