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

  • 大小: 30.23MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-08-06
  • 語言: 其他
  • 標簽: open??inventor??

資源簡介

光盤中包涵三維模型,源代碼,opengl庫以及紋理圖片。大家一起學習,加油。

資源截圖

代碼片段和文件信息

//?exam2_1.cpp?:?Defines?the?entry?point?for?the?console?application.
//
//?首先保證正確地安裝了OpenGL庫,在運行本程序時需要在VC?6.0中設置以下庫:
//?Project->settings->link->object/library?modules?中添加以下庫:opengl32.lib?glaux.lib
//?考慮程序的后續擴展,最好也添加?glu32.lib庫
//

#include?“stdafx.h“

#include?
#include?
#include?

void?CALLBACK?display(void)
{
glClearColor(0.0?0.0?0.0?0.0); //?置背景色為黑色
glClear(GL_COLOR_BUFFER_BIT); //?清除顏色緩沖區
glColor3f(1.0?1.0?1.0); //?設置象素顏色為白色

glMatrixMode(GL_PROJECTION); //?初始化觀察參數
glLoadIdentity();
glOrtho(-1.0?1.0?-1.0?1.0?-1.0?1.0);

glBegin(GL_POLYGON);? //?繪制多邊形
glVertex2f(-0.5?-0.5);
glVertex2f(-0.5?0.5);
glVertex2f(0.5?0.5);
glVertex2f(0.5?-0.5);
glEnd();

glFlush(); //?執行所有的OpenGL命令
}

int?main(int?argc?char**?argv)
{
auxInitDisplayMode(AUX_SINGLE?|?AUX_RGBA);
auxInitPosition(0?0?500?500);
auxInitWindow(argv[0]);

auxMainLoop(display);

return?0;
}

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

?????文件?????????27??2006-04-14?22:34??OpenInventor\autorun.inf

?????文件?????204904??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\exam2_1.exe

?????文件?????301280??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\exam2_1.ilk

?????文件??????45469??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\exam2_1.obj

?????文件?????187248??2004-01-18?22:04??OpenInventor\ch02\exam2_1\Debug\exam2_1.pch

?????文件?????558080??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\exam2_1.pdb

?????文件???????2248??2004-01-18?22:04??OpenInventor\ch02\exam2_1\Debug\StdAfx.obj

?????文件?????132096??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\vc60.idb

?????文件?????233472??2004-01-21?11:38??OpenInventor\ch02\exam2_1\Debug\vc60.pdb

?????文件???????1099??2004-01-21?11:37??OpenInventor\ch02\exam2_1\exam2_1.cpp

?????文件???????4603??2004-01-21?04:56??OpenInventor\ch02\exam2_1\exam2_1.dsp

?????文件????????539??2004-01-18?22:02??OpenInventor\ch02\exam2_1\exam2_1.dsw

?????文件??????41984??2004-01-21?11:38??OpenInventor\ch02\exam2_1\exam2_1.ncb

?????文件??????48640??2004-01-21?11:38??OpenInventor\ch02\exam2_1\exam2_1.opt

?????文件???????1369??2004-01-21?11:38??OpenInventor\ch02\exam2_1\exam2_1.plg

?????文件???????1214??2004-01-18?22:02??OpenInventor\ch02\exam2_1\ReadMe.txt

?????文件????????294??2004-01-18?22:02??OpenInventor\ch02\exam2_1\StdAfx.cpp

?????文件????????667??2004-01-18?22:02??OpenInventor\ch02\exam2_1\StdAfx.h

?????文件?????180328??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\exam3_1.exe

?????文件?????204612??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\exam3_1.ilk

?????文件??????31259??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\exam3_1.obj

?????文件?????203772??2004-01-19?01:23??OpenInventor\ch03\exam3_1\Debug\exam3_1.pch

?????文件?????443392??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\exam3_1.pdb

?????文件???????2355??2004-01-19?01:23??OpenInventor\ch03\exam3_1\Debug\StdAfx.obj

?????文件?????263168??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\vc60.idb

?????文件?????372736??2004-01-21?11:38??OpenInventor\ch03\exam3_1\Debug\vc60.pdb

?????文件????????994??2004-01-21?11:38??OpenInventor\ch03\exam3_1\exam3_1.cpp

?????文件???????4548??2004-01-19?01:23??OpenInventor\ch03\exam3_1\exam3_1.dsp

?????文件????????539??2004-01-19?01:26??OpenInventor\ch03\exam3_1\exam3_1.dsw

?????文件??????41984??2004-01-21?11:38??OpenInventor\ch03\exam3_1\exam3_1.ncb

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

評論

共有 條評論