CCloudsCtrl_src

所属分类:按钮控件
开发工具:Visual C++
文件大小:46KB
下载次数:115
上传日期:2005-07-18 13:10:29
上 传 者yuanchao
说明:  This control simulates clouds with scrolling text and can be used as an aboutbox.

文件列表:
Clouds (0, 2003-12-15)
Clouds\Clouds.cpp (16975, 2003-12-15)
Clouds\Clouds.h (2206, 2003-10-20)
Clouds\Example.cpp (2044, 2003-10-20)
Clouds\Example.dsp (4235, 2003-10-20)
Clouds\Example.dsw (537, 2003-10-20)
Clouds\Example.h (1335, 2003-10-20)
Clouds\Example.rc (4748, 2003-10-20)
Clouds\ExampleDlg.cpp (2894, 2003-10-20)
Clouds\ExampleDlg.h (1307, 2003-10-20)
Clouds\Release (0, 2003-12-09)
Clouds\Release\Example.exe (49152, 2003-10-20)
Clouds\Release\license.txt (506, 2003-12-15)
Clouds\Release\whatsnew.txt (98, 2003-12-15)
Clouds\res (0, 2003-12-09)
Clouds\resource.h (639, 2003-10-20)
Clouds\res\Example.ico (25214, 2003-10-19)
Clouds\res\Example.rc2 (399, 2002-09-24)
Clouds\StdAfx.cpp (209, 2003-10-20)
Clouds\StdAfx.h (999, 2003-10-20)

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 excelent tutorial at: http://freespace.virgin.net/hugo.elias/models/m_clouds.htm. Unfortunately this great article only gives us psuedo code, so we have to do the rest ourselves... The plasma implementation is partially based on code by Andrea Griffini (found on the internet). I've also added some scrolling text to create a nice looking AboutBox for applications that need something more than the standard MFC AboutBox.

近期下载者

相关文件


收藏者