登录
首页 » OpenGL图像 » MFC Opengl三维控件

MFC Opengl三维控件

于 2023-04-10 发布 文件大小:391.22 kB
0 128
下载积分: 2 下载次数: 1

代码说明:

应用背景 1当二维自定义控件的绘制效果无法满足图形需求时,需要考虑三维控件的可行性; 2在三维控件中,可绘制立体的效果; 3 可在二维图形程序中,绘制三维的图表,如饼图。曼哈顿图等; 关键技术 1 mfc自绘制控件的技术实现; 2 opengl基本绘制图形 3 opengl图形框架,包括编辑,旋转,视图缩放等 4 提供了三维投影,拾取基础类的代码;  5 自定义控件派生自static控件; void COpenglWnd::Paint() { InitOpengl(); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); ////////////////////////////////////////////////////////////////////////// glPushMatrix(); glTranslated(0,0, -m_OpenglSize.GetEyeDistance() ); RenderOpengl(); glPopMatrix(); HDC m_hgldc = ::GetDC(m_hWnd); ::SwapBuffers(m_hgldc); }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC+OpenGl,粒子系统编程多例
    VC+OpenGl,粒子系统编程多例 -VC OpenGl, particle system programming and more cases
    2022-01-26 07:24:50下载
    积分:1
  • nukak3d
    nukak3d-4.6.0的源代码,比较复杂的一个例子-nukak3d-4.6.0 source code, an example of more complicated
    2022-03-05 01:46:00下载
    积分:1
  • opengl es 1.0 简单的例程,常用的接口基本动用上了
    opengl es 1.0 简单的例程,常用的接口基本动用上了-opengl es 1.0 samplecode
    2022-12-29 04:30:04下载
    积分:1
  • this program is based on the opengl vc programming, through mouse to choose obje...
    本程序是基于vc的opengl编程,通过鼠标选择物体,从而可以进行图像交互功能,有很好的参考价值。-this program is based on the opengl vc programming, through mouse to choose objects, which can image interactive function, a good reference value.
    2022-05-15 18:11:44下载
    积分:1
  • opengl简单例子
    opengl简单例子-opengl simple example
    2022-01-25 14:40:11下载
    积分:1
  • 固体遮蔽基本对象
    这是在 c + + 中使用 opengl,帮助我们绘制 Solid_Shaded_Basic_Objects 代码,您可以绘制多维数据集,茶壶,......这是一个基本的形状,project.i 将这用于我的项目是设计一个房间,有所有的东西像一张桌子、 茶壶、 喝杯茶,围拢的一切。希望每个人都想要开始用 opengl 帮助 them.good 和运气
    2023-05-03 22:00:04下载
    积分:1
  • opengl 太阳地球月球系统
    利用opengl制作太阳地球月球三者绕行,地球绕太阳运动,月球绕地球运动
    2023-05-08 11:15:08下载
    积分:1
  • 一个基于VC++的OpenGL示例程序,主要是Boids的演示
    一个基于VC++的OpenGL示例程序,主要是Boids的演示-a VC-based OpenGL sample program, the demonstration is Boids
    2022-10-22 17:10:03下载
    积分:1
  • opengl 10bit 检测显卡是否支持10bit
    应用背景 想直接回显10bit数据,在nv网站上下载的,编译运行通过,有一定的参考意义。 README for Check30bit - To Run, type  Check30bit This will print out a listing of all attached displays and open a window on each display showing a teapot. If a display is 30-bit capable, then the window opened on that display will use a 30-bit pixel format. When moving or resizing the window between the displays the event handler determines if the window is spanning a 30-bit color compatible display and reports it. 关键技术Check30bit opengl nvidia  并检测显卡是否支持10bit,不支持的话就用24bit。
    2023-02-11 16:25:03下载
    积分:1
  • opengl导入3ds模型-C++
    opengl导入3ds模型-C++【该资源非原创,但未找到来源URL,在此感谢原作者】 3ds max 2014导出3ds格式文件 采用面向对象的方法,用C++实现基于OPENGL导入3DS文件
    2022-03-21 05:29:40下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载