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

  • 大小: 14.58MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-31
  • 語言: 其他
  • 標簽:

資源簡介

OpenGL三維場景繪制(3D模型讀取)

資源截圖

代碼片段和文件信息

//?3DSLoaderView.cpp?:?implementation?of?the?CMy3DSLoaderView?class
//

#include?“stdafx.h“
#include?“3DSLoader.h“

#include?“3DSLoaderDoc.h“
#include?“3DSLoaderView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSLoaderView

IMPLEMENT_DYNCREATE(CMy3DSLoaderView?CView)

BEGIN_MESSAGE_MAP(CMy3DSLoaderView?CView)
//{{AFX_MSG_MAP(CMy3DSLoaderView)
ON_WM_CREATE()
ON_WM_DESTROY()
ON_WM_SIZE()
ON_WM_TIMER()
ON_WM_LBUTTONDOWN()
ON_WM_LBUTTONUP()
ON_WM_MOUSEMOVE()
ON_WM_RBUTTONDOWN()
ON_WM_RBUTTONUP()
//}}AFX_MSG_MAP
//?Standard?printing?commands
ON_COMMAND(ID_FILE_PRINT?CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT?CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW?CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSLoaderView?construction/destruction

CMy3DSLoaderView::CMy3DSLoaderView()
{
//?TODO:?add?construction?code?here

}

CMy3DSLoaderView::~CMy3DSLoaderView()
{
}

BOOL?CMy3DSLoaderView::PreCreateWindow(CREATESTRUCT&?cs)
{
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
////////////////////////////////////////////////////////////////
//設置窗口類型
cs.style?|=WS_CLIPCHILDREN?|?WS_CLIPSIBLINGS;
////////////////////////////////////////////////////////////////
return?CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSLoaderView?drawing

void?CMy3DSLoaderView::OnDraw(CDC*?pDC)
{
CMy3DSLoaderDoc*?pDoc?=?GetDocument();
ASSERT_VALID(pDoc);
//?TODO:?add?draw?code?for?native?data?here
//////////////////////////////////////////////////////////////////
RenderScene(); //渲染場景
//////////////////////////////////////////////////////////////////

}

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSLoaderView?printing

BOOL?CMy3DSLoaderView::OnPreparePrinting(CPrintInfo*?pInfo)
{
//?default?preparation
return?DoPreparePrinting(pInfo);
}

void?CMy3DSLoaderView::OnBeginPrinting(CDC*?/*pDC*/?CPrintInfo*?/*pInfo*/)
{
//?TODO:?add?extra?initialization?before?printing
}

void?CMy3DSLoaderView::OnEndPrinting(CDC*?/*pDC*/?CPrintInfo*?/*pInfo*/)
{
//?TODO:?add?cleanup?after?printing
}

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSLoaderView?diagnostics

#ifdef?_DEBUG
void?CMy3DSLoaderView::AssertValid()?const
{
CView::AssertValid();
}

void?CMy3DSLoaderView::Dump(CDumpContext&?dc)?const
{
CView::Dump(dc);
}

CMy3DSLoaderDoc*?CMy3DSLoaderView::GetDocument()?//?non-debug?version?is?inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMy3DSLoaderDoc)));
return?(CMy3DSLoaderDoc*)m_pDocument;
}
#endif?//_DEBUG

///////////////

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????29728??2010-11-30?16:32??3dsreader\3DSLOADER.APS

?????文件???????2407??2003-03-31?21:23??3dsreader\3DSLOADER.CLW

?????文件???????4446??2002-12-24?11:58??3dsreader\3DSLOADER.CPP

?????文件???????5135??2002-12-24?11:58??3dsreader\3DSLOADER.DSP

?????文件????????543??2002-12-24?11:58??3dsreader\3DSLOADER.DSW

?????文件??????40960??2003-03-31?21:22??3dsreader\3DSLOADER.EXE

?????文件???????1439??2002-12-24?11:58??3dsreader\3DSLOADER.H

?????文件???18926592??2011-01-22?13:27??3dsreader\3DSLOADER.ncb

?????文件??????56832??2003-03-31?21:24??3dsreader\3DSLOADER.OPT

?????文件????????818??2003-03-31?21:22??3dsreader\3DSLOADER.PLG

?????文件??????11691??2002-12-24?11:58??3dsreader\3DSLOADER.RC

?????文件????????883??2010-11-30?15:58??3dsreader\3DSLOADER.sln

????..A..H.?????51200??2011-01-22?13:27??3dsreader\3DSLOADER.suo

?????文件??????10175??2010-12-30?10:04??3dsreader\3DSLOADER.vcproj

?????文件???????1423??2011-01-22?13:27??3dsreader\3DSLOADER.vcproj.ChenYun-THINK.ChenYun.user

?????文件???????2119??2002-12-24?11:58??3dsreader\3DSLOADERDOC.CPP

?????文件???????1578??2002-12-24?11:58??3dsreader\3DSLOADERDOC.H

?????文件??????13818??2010-12-25?17:06??3dsreader\3DSLoaderView.cpp

?????文件???????3250??2002-12-24?11:58??3dsreader\3DSLOADERVIEW.H

?????文件?????260486??2008-05-06?16:13??3dsreader\3DSMODELS\014.3dcool.net.3ds

?????文件?????447747??2002-12-24?11:58??3dsreader\3DSMODELS\A3DPLNT1.3DS

?????文件?????476685??2010-12-03?16:43??3dsreader\3DSMODELS\abc.3DS

?????文件???11044587??2010-11-26?17:14??3dsreader\3DSMODELS\changjing.3DS

?????文件??????38047??2002-12-24?11:58??3dsreader\3DSMODELS\DC10.3DS

?????文件???????5882??2002-12-24?11:58??3dsreader\3DSMODELS\DC10.GIF

?????文件?????303912??2010-12-03?16:48??3dsreader\3DSMODELS\desert.3DS

?????文件??????43052??2002-12-24?11:58??3dsreader\3DSMODELS\F16.3DS

?????文件???????5146??2002-12-24?11:58??3dsreader\3DSMODELS\F16.GIF

?????文件?????575521??2010-12-03?16:52??3dsreader\3DSMODELS\grass_1msq_wild_02.3ds

?????文件?????216505??2010-12-03?16:48??3dsreader\3DSMODELS\house.3DS

............此處省略55個文件信息

評論

共有 條評論

相關資源