▍1. yuanma
计算机图形学 源码资料汇总 包括立方体旋转等(Computer graphics source data summary)
计算机图形学 源码资料汇总 包括立方体旋转等(Computer graphics source data summary)
上传的小程序是用VC++编程的,主要显示一般位图的直方图。(Upload applet programming with VC++ general bitmap histogram.)
利用GDI技术绘制音乐信息,通过不规则按钮美化界面。通过ACTIVE MOVIE CONTROL OBJECT 控件播放音乐。(GDI technology to draw music information, to beautify interface through irregular button. ACTIVE MOVIE CONTROL OBJECT controls to play music.)
关键词:机器人 场景 全屏 windows环境 全屏 这是一个计算机实时动画的作业,实现了贴图,旋转视角,移动物体,机器人控制四肢运动和移动的源码,可以从文件中读取obj模型并且显示,windows下全屏运行(keyword:opengl robot scence walk move around this is a homework for realtime textureanimation,it can read obj files and show them in the full screen.)
基于MFC打开一幅BMP图像,开发环境是Visual C++ 6.0,此工程可以有效的被利用( We can open a BMP image based on MFC , development environment is Visual C++ 6.0 ,and this peojects can effectively be utilized )
利用已知的一些点,利用多项式模拟出椭圆(圆形),适合于数学图像算法的初学者,只要打开*.CPP文件,加入一些点的文件就可以用。自己可以拓展为多种图形的数学模拟(to simulatorsllipe, Adampt to fresh student)
Visual C++语言提供了虚屏功能,利用它及Windows GDI图形函数,可编制出功能强大的图形处理程序。虚拟屏幕的原理是,首先定义一个虚拟设备描述表及一块位图象数据区,将本应在实际窗口的绘画处理转移到此图象数据区(这块图象数据区功能相当于视频存储区),绘画操作完成后可通过图象传递,将结果弹出到可视窗口。许多Windows环境的图形处理或CAD系统都采用了这种技术。如GIS软件Mapinfo、AutoCAD for Windows等,它们的图形操作功能如开窗、漫游等的基础都是建立在虚屏基础上,并且将操作界面都作成工具窗(一种特殊的窗口,客户区内规则地排列着图象按钮响应操作代码)的形式,直观、灵活且便于用户选择操作。VC++的CDC类、CBitmap类封装了对虚屏的操作,利用类的继承性,也可很容易的实现工具窗。(Visual C++ provides a virtual screen function, use it, and Windows GDI graphics functions, can be prepared in a powerful graphics program. The principle of the virtual screen, first define a virtual device description table and a bit image data area, the present should be transferred in the actual window painting processing of this image data area (this image data area function equivalent to the video memory area ), after the completion of the painting operation can be passed through the image, the results of the pop-up to the visible window. Graphics or CAD system for many Windows environment using this technology. GIS software Mapinfo, AutoCAD for Windows and other graphics operations functions such as windows, roaming the foundation are built on the basis of the virtual screen, and the operator interface made tool window (a special window, the client area regularly arranged in the form of image button in response to the operation code), intuitive, flexible and user-fri)
利用GDI+实现透明png图片显示 可以实现图片的旋转 ,等等(The use of GDI+ transparent png image display)
图像合成代码,这是书上的列程,对gdi 编程还是有帮助,请大家提出宝贵意见(Image synthesis code, which is listed on the book away, gdi programming or help for their valuable advice)
VC++仿电影字幕滚动文字特效,使用了VC++自绘技术,其两个核心文件CreditsCtrl.cpp和CreditsCtrl.h已打包。 (VC++ imitation Subtitles scrolling text effects, using a self-drawn VC++, packaged two the core file CreditsCtrl.cpp and CreditsCtrl.h.)
读取一张BMP彩色图像,显示其相关信息,并将彩色图片改成8bit灰度图片以后另外存盘!(Read a BMP color image display its related information and changed the color pictures 8bit grayscale image after another save!)
使用GDIPlus显示图片的一个小例子,用的vs2010开发,win7默认自带了gdi+的头文件和lib文件(GDIPlus display the picture of a small example with vs2010 development, win7 default comes with the header files and lib files in gdi+)
该函数的功能:进行运动矢量的矢量量量化编码,返回的是解码后的运动场. (The functionality of the function: motion vector vector quantization coding, return decoding playground.)
GDI+使用文档,一些很好的例子放在里面方便随时使用(GDI+ documents, some good examples on the inside at any time convenient to use)
判断二维空间中一个点和一个多边形的位置关系(To determine the positional relationship of the two-dimensional space midpoint and polygons)
基于mfc的三维文字显示按钮,适合初学mfc的同学尝试。(Mfc-based 3D text display button, suitable for beginner mfc students to try.)
采用C#编程,模拟简单的示波器图形绘制(GDI+画图)(C# Programming simple analog oscilloscopes drawing (GDI+ drawing))
我们知道,Visual C++的CBitmap类和静态图片控件的功能是比较弱的,它只能显示出在资源中的图标、位图、光标以及图元文件的内容,而不像VB中的Image控件可以显示出绝大多数的外部图像文件(BMP、GIF、JPEG等)。因此,想要在对话框或其他窗口中显示外部图像文件则只能借助于第三方提供的控件或代码。现在,MFC和ATL共享的新类CImage为图像处理提供了许多相应的方法,这使得Visual C++在图像方面的缺憾一去不复返了。(We know that the Visual C++ the CBitmap class and static picture control function is relatively weak, it only shows the icon resources, bitmaps, cursors, as well as the contents of the metafile, rather than the Image control in VB show the vast majority of external image files (BMP, GIF,, JPEG, etc.). Therefore, I want to display external image files in a dialog or other window only by means of third party controls or code. Now, new class CImage MFC and ATL shared many of the corresponding method for image processing, which makes the Visual C++ of defects in the image is gone forever.)
说明: 一段程序,基于图像处理的实现驾驶员疲劳判断 (A segment of a program, based on the image processing to achieve the fatigue of the driver judgment)
画图源码,VC平台开发,MFC框架实现一个画图程序,实现Windows的画图功能,并将扩展其功能(Source drawing, VC-platform development, the MFC framework to achieve a paint program, Windows drawing functions, and to extend its functionality)