91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.05MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-18
  • 語言: C/C++
  • 標簽: opengl??3ds??view3ds??

資源簡介

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個文件信息

評論

共有 條評論