资源简介
1、vc6.0 使用对话框
2、实现opengl读取3ds文件(先用view3ds从3ds文件中导出gl文件和h文件,然后添加到project中)
3、包含view3ds文件,使用方法等。

代码片段和文件信息
// first3ds.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “first3ds.h“
#include “first3dsDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFirst3dsApp
BEGIN_MESSAGE_MAP(CFirst3dsApp CWinApp)
//{{AFX_MSG_MAP(CFirst3dsApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFirst3dsApp construction
CFirst3dsApp::CFirst3dsApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFirst3dsApp object
CFirst3dsApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFirst3dsApp initialization
BOOL CFirst3dsApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CFirst3dsDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 16320 2011-12-08 21:40 first3ds\DC10.GL
文件 15211 2011-12-08 21:43 first3ds\DC10.H
文件 16320 2011-12-08 21:40 first3ds\Debug\DC10.GL
文件 15211 2011-12-08 21:43 first3ds\Debug\DC10.H
文件 3253248 2011-12-09 22:17 first3ds\Debug\first3ds.bsc
文件 2150481 2011-12-09 22:17 first3ds\Debug\first3ds.exe
文件 2538904 2011-12-09 22:17 first3ds\Debug\first3ds.ilk
文件 14151 2011-12-09 22:17 first3ds\Debug\first3ds.obj
文件 6899668 2011-12-09 22:05 first3ds\Debug\first3ds.pch
文件 4187136 2011-12-09 22:17 first3ds\Debug\first3ds.pdb
文件 8620 2011-12-09 22:04 first3ds\Debug\first3ds.res
文件 0 2011-12-09 22:17 first3ds\Debug\first3ds.sbr
文件 25714 2011-12-09 22:17 first3ds\Debug\first3dsDlg.obj
文件 0 2011-12-09 22:17 first3ds\Debug\first3dsDlg.sbr
文件 31760 2011-12-09 22:17 first3ds\Debug\OPENGL.obj
文件 0 2011-12-09 22:17 first3ds\Debug\OPENGL.sbr
文件 105947 2011-12-09 22:05 first3ds\Debug\StdAfx.obj
文件 1361602 2011-12-09 22:05 first3ds\Debug\StdAfx.sbr
文件 222208 2011-12-09 22:19 first3ds\Debug\vc60.idb
文件 372736 2011-12-09 22:17 first3ds\Debug\vc60.pdb
文件 35740 2011-12-09 21:26 first3ds\first3ds.aps
文件 1220 2011-12-09 22:19 first3ds\first3ds.clw
文件 2091 2011-12-09 19:19 first3ds\first3ds.cpp
文件 4485 2011-12-09 22:19 first3ds\first3ds.dsp
文件 524 2011-12-09 19:19 first3ds\first3ds.dsw
文件 1346 2011-12-09 19:19 first3ds\first3ds.h
文件 58368 2011-12-09 22:19 first3ds\first3ds.ncb
文件 54784 2011-12-09 22:19 first3ds\first3ds.opt
文件 250 2011-12-09 22:19 first3ds\first3ds.plg
文件 5426 2011-12-09 21:26 first3ds\first3ds.rc
............此处省略20个文件信息
- 上一篇:经典小游戏大集合(C++ 源码)
- 下一篇:共享mfc的dll
相关资源
- 安卓c语言开发SDL2+opengles
- 交互式计算机图形学 第六版 OpenGL源代
- VC++基于OpenGL模拟的一个3维空间模型
- opengl绘制汽车.cpp
- opengl实现水流效果sph
- opengl源代码,全是精华!
- OpenGL迷宫山东大学图形学实验三
- opengl的立方体消隐算法
- vc++ opengl代码爆炸
- 我见过最漂亮的CS仿真程序openGL和C+
- 广东某工业大学的openGL课程设计
- 使用OpenGL实现多个小球在密闭空间内
- 利用openGL和C++实现光线跟踪绘图的完
- OpenGl C++太阳系小行星运行系统 可切换
- vc++和OpenGL实现三维地形实时动态显示
- C++实现利用OpenGL实现三维绘图
- 太阳、地球、月亮之间的运动图Open
- MFC 单文档 实现opengl 三维旋转 缩放
- OPENGL的烟花程序(代码)
- MFC+OpenGL三维建模与动画显示
- 基于opengl粒子系统实现喷泉的模拟
- 一个基于openGL的太阳系模型,太阳地
- vc6.0+opengl纯色五角星填充
- vc6.0+opengl动态绘制五角星
- NeHe_OpenGL教程完整版 里面有地址可以
- OpenGL简单——实现立方体贴上不同纹
- MFC实现dem的读取与现实
- VC++ OpenGL三维地形漫游
- OpenGL实现三维地形实时动态显示
- VC++中Opengl实现建筑物虚拟漫游
评论
共有 条评论