资源简介
OPenGL实现 3DS卫星地球,非常经典的学习代码

代码片段和文件信息
// 3DSglLoader.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “3DSglLoader.h“
#include “MainFrm.h“
#include “3DSglLoaderDoc.h“
#include “3DSglLoaderView.h“
#include “SatGL.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMy3DSglLoaderApp
BEGIN_MESSAGE_MAP(CMy3DSglLoaderApp CWinApp)
//{{AFX_MSG_MAP(CMy3DSglLoaderApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMy3DSglLoaderApp construction
CMy3DSglLoaderApp::CMy3DSglLoaderApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMy3DSglLoaderApp object
CMy3DSglLoaderApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMy3DSglLoaderApp initialization
BOOL CMy3DSglLoaderApp::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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CMy3DSglLoaderDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CMy3DSglLoaderView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only win
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-08-23 13:36 3DS卫星地球\
文件 422828 2012-05-30 17:11 3DS卫星地球\3DSglLoader.aps
文件 2581 2012-05-30 17:14 3DS卫星地球\3DSglLoader.clw
文件 4355 2012-03-14 22:30 3DS卫星地球\3DSglLoader.cpp
文件 5104 2012-03-21 12:18 3DS卫星地球\3DSglLoader.dsp
文件 547 2002-01-19 19:31 3DS卫星地球\3DSglLoader.dsw
文件 1418 2002-01-19 19:31 3DS卫星地球\3DSglLoader.h
文件 254976 2012-05-30 17:14 3DS卫星地球\3DSglLoader.ncb
文件 53760 2012-05-30 17:14 3DS卫星地球\3DSglLoader.opt
文件 256 2012-05-30 17:11 3DS卫星地球\3DSglLoader.plg
文件 11857 2012-03-15 09:53 3DS卫星地球\3DSglLoader.rc
文件 1876 2002-01-19 19:31 3DS卫星地球\3DSglLoaderDoc.cpp
文件 1541 2002-01-19 19:31 3DS卫星地球\3DSglLoaderDoc.h
文件 16778 2012-03-21 20:30 3DS卫星地球\3DSglLoaderView.cpp
文件 2947 2012-03-20 00:48 3DS卫星地球\3DSglLoaderView.h
文件 37035 2002-01-19 17:10 3DS卫星地球\DC10.H
目录 0 2012-08-23 13:36 3DS卫星地球\Debug\
文件 5604352 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoader.bsc
文件 671865 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoader.exe
文件 444628 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoader.ilk
文件 24016 2012-03-15 09:03 3DS卫星地球\Debug\3DSglLoader.obj
文件 7158616 2012-03-13 15:39 3DS卫星地球\Debug\3DSglLoader.pch
文件 549888 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoader.pdb
文件 400724 2012-03-15 09:54 3DS卫星地球\Debug\3DSglLoader.res
文件 0 2012-03-15 09:03 3DS卫星地球\Debug\3DSglLoader.sbr
文件 15864 2012-03-13 15:39 3DS卫星地球\Debug\3DSglLoaderDoc.obj
文件 0 2012-03-13 15:39 3DS卫星地球\Debug\3DSglLoaderDoc.sbr
文件 103284 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoaderView.obj
文件 0 2012-03-21 20:30 3DS卫星地球\Debug\3DSglLoaderView.sbr
文件 35008 2002-12-28 19:21 3DS卫星地球\Debug\HUBBLE.GL
文件 20849 2012-03-15 10:36 3DS卫星地球\Debug\MainFrm.obj
............此处省略35个文件信息
- 上一篇:开源全套DLP投影成型技术的3D打印机资料
- 下一篇:倒计时器汇编语言实现 汇编
相关资源
- OSG 72集视频教程和资料140620
- OpenGL参考手册
- The Secret Path 3D 3D魔方迷宫[源码][scra
-
Actionsc
ript 1.0实现能跟随鼠标运动的 - Qt Creator opengl实现四元数鼠标控制轨迹
- Unity3D登录界面工程
- 3DWebGIS 3DWebGIS
- OpenGL文档,api大全,可直接查询函数
- opengl轮廓字体源代码
- MFC读三维模型obj文件
- 3des加解密_C 实现
- 利用OpenGL写毛笔字算法
- MFC中OpenGL面和体的绘制以及动画效果
- unity3d反编译工具
- 基于OPENGL的光线跟踪源代码368758
- VC 实现三维旋转(源码)
- 自编用openGL实现3D分形树,分形山
- OpenGL球形贴图自旋程序
- Quest3D 2个动画相机切换实例
- OpenGL导入贴图的Texture类
- 计算机图形学(openGL)代码
- 用OpenGL开发的机械臂运动仿真程序(
- OpenGL-3D坦克模拟
- FLAC3D数值模拟的边坡稳定性
-
UnityWebPla
yerFull - Scratch:3d飞行模拟器 .sb3
- OPENGL实现世界上最小的3D游戏
- 亲子嘉年华路演活动模型
- 基于GTP修正的R3DGM建模与可视化方法
- 通过3D打印样品发现NMR曲线的不同姿态
评论
共有 条评论