CCloudsCtrl - Simulating clouds using MFC
This class simulates clouds by using plasma's and a few 'simple' pixel operations. 3 layers of plasma's are blended together to build an image that looks like pretty realistic clouds(on a not so cloudy day...). There's also an option to enhance the clouds with an exponential function to create an even more realistic looking sky.
You can learn the complete theory by reading the excellent tutorial at:
Unfortunately this great article only gives us pseudo code, so we have to do the rest ourselves...
The plasma implementation is partially based on code by Andrea Griffini (found on the internet).

Download example executable

Download source code
This class is part of the Pablo Software Solutions MFC Extension Package - Controls Edition


[Home] [Products] [Source Code] [Downloads]

© 2015 - Pablo Software Solutions
All rights reserved.