-
opengl几何图像实现中秋月亮和灯笼,实现渲染效果
opengl几何图像实现中秋月亮和灯笼,实现渲染效果-opengl geometric images to achieve the Mid-Autumn Moon and lanterns to achieve color effects
- 2023-08-31 17:05:03下载
- 积分:1
-
MFC Opengl三维控件
应用背景
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);
}
- 2023-04-10 06:30:03下载
- 积分:1
-
Prepared by a real OpenGL teapot models, can hit lights, can also rotate
用OpenGL编写的一款真实茶壶模型,可以打灯,也可以旋转-Prepared by a real OpenGL teapot models, can hit lights, can also rotate
- 2022-01-26 01:12:17下载
- 积分:1
-
一个关于计时器的小程序
一个关于计时器的小程序-a timer on the small program
- 2022-06-12 19:53:25下载
- 积分:1
-
w d s a small keyboard and adjust the operation of the Spheres minor changes in...
w a s d 和小键盘的操作 调节球体的细微的空间变化!-w d s a small keyboard and adjust the operation of the Spheres minor changes in space!
- 2023-06-24 04:35:03下载
- 积分:1
-
3D房屋 含纹理贴图菜单响应
3D房屋 含纹理贴图以及菜单响应。
程序的灯光效果,坐标轴全部设定好了,包含图片的读取
程序中可以实现平移变化旋转变化。
菜单可以对图形进行处理,比如去掉颜色。
- 2022-08-13 16:37:49下载
- 积分:1
-
STL读取
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CListNodeOfCPoint3D::CListNodeOfCPoint3D( const CPoint3D& P) : data(P), nextPtr(0)
{
}
CListNodeOfCPoint3D::~CListNodeOfCPoint3D()
{
}
CPoint3D CListNodeOfCPoint3D::GetData() const
{
return data;
}
- 2022-04-23 19:55:30下载
- 积分:1
-
OpenGL极速入门宝典
OpenGL极速入门宝典-OpenGL Ultimate book entry
- 2022-03-03 09:59:08下载
- 积分:1
-
这是我写的一个OPENGL程序,大家可以参考一下,学习学习
这是我写的一个OPENGL程序,大家可以参考一下,学习学习-This is what I wrote a OPENGL procedures, we can refer to, learning to learn
- 2022-02-21 06:50:30下载
- 积分:1
-
OpenGL in memory management experience. According to their own experience of the...
OpenGl在内存管理上的经验。笔者根据自己的经验详细叙述了利用OpenGL开发3D程序时的内存管理方面的经验。-OpenGL in memory management experience. According to their own experience of the author described in detail the development of 3D using OpenGL program memory management experience.
- 2022-10-27 22:45:03下载
- 积分:1