文件名称:Assignment1
介绍说明--下载内容均来自于网络,请自行研究使用
这个文件是关于图形-OpenGL-2d的 功能是loading 文件 需要自己更改路径 开发语言c++ 环境visual studio -You are to read in a file with triangles and vertices and, using OpenGL, display the triangles directly on the screen. A basic program that provides a simple project as the basis for the assignment is provided.
The file format is:
data number-of-vertices number-of-triangles named-point-attributes(1..n- optional)
<all points as: x y z>
<all triangles (the initial 3 is the number of vertices): 3 point-index1 point-index2 point-index3>
<all additional attributes in form n v1, v2, .. vn>
A simple 2-triangle example is:
data 4 2
0.25 0.25 0.0
0.75 0.25 0.0
0.75 0.75 0.0
0.25 0.75 0.0
3 0 1 2
3 0 2 3
The file format is:
data number-of-vertices number-of-triangles named-point-attributes(1..n- optional)
<all points as: x y z>
<all triangles (the initial 3 is the number of vertices): 3 point-index1 point-index2 point-index3>
<all additional attributes in form n v1, v2, .. vn>
A simple 2-triangle example is:
data 4 2
0.25 0.25 0.0
0.75 0.25 0.0
0.75 0.75 0.0
0.25 0.75 0.0
3 0 1 2
3 0 2 3
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Assignment1
...........\.DS_Store
__MACOSX
........\Assignment1
........\...........\._.DS_Store
Assignment1\Assignment-1
...........\............\.DS_Store
__MACOSX\Assignment1\Assignment-1
........\...........\............\._.DS_Store
Assignment1\Assignment-1\Assignment_1.1
__MACOSX\Assignment1\Assignment-1\._Assignment_1.1
........\...........\._Assignment-1
Assignment1\Assignment-1.xcodeproj
...........\......................\project.pbxproj
__MACOSX\Assignment1\Assignment-1.xcodeproj
........\...........\......................\._project.pbxproj
Assignment1\Assignment-1.xcodeproj\project.xcworkspace
...........\......................\...................\contents.xcworkspacedata
__MACOSX\Assignment1\Assignment-1.xcodeproj\project.xcworkspace
........\...........\......................\...................\._contents.xcworkspacedata
Assignment1\Assignment-1.xcodeproj\project.xcworkspace\xcuserdata
...........\......................\...................\..........\bob.xcuserdatad
...........\......................\...................\..........\...............\UserInterfaceState.xcuserstate
__MACOSX\Assignment1\Assignment-1.xcodeproj\project.xcworkspace\xcuserdata
........\...........\......................\...................\..........\bob.xcuserdatad
........\...........\......................\...................\..........\...............\._UserInterfaceState.xcuserstate
........\...........\......................\...................\..........\._bob.xcuserdatad
Assignment1\Assignment-1.xcodeproj\project.xcworkspace\xcuserdata\luzhang.xcuserdatad
...........\......................\...................\..........\...................\UserInterfaceState.xcuserstate
__MACOSX\Assignment1\Assignment-1.xcodeproj\project.xcworkspace\._xcuserdata
........\...........\......................\._project.xcworkspace
Assignment1\Assignment-1.xcodeproj\xcuserdata
...........\......................\..........\bob.xcuserdatad
...........\......................\..........\...............\xcdebugger
...........\......................\..........\...............\..........\Breakpoints.xcbkptlist
__MACOSX\Assignment1\Assignment-1.xcodeproj\xcuserdata
........\...........\......................\..........\bob.xcuserdatad
........\...........\......................\..........\...............\xcdebugger
........\...........\......................\..........\...............\..........\._Breakpoints.xcbkptlist
........\...........\......................\..........\...............\._xcdebugger
Assignment1\Assignment-1.xcodeproj\xcuserdata\bob.xcuserdatad\xcschemes
...........\......................\..........\...............\.........\Assignment-1.xcscheme
__MACOSX\Assignment1\Assignment-1.xcodeproj\xcuserdata\bob.xcuserdatad\xcschemes
........\...........\......................\..........\...............\.........\._Assignment-1.xcscheme
Assignment1\Assignment-1.xcodeproj\xcuserdata\bob.xcuserdatad\xcschemes\xcschememanagement.plist
__MACOSX\Assignment1\Assignment-1.xcodeproj\xcuserdata\bob.xcuserdatad\xcschemes\._xcschememanagement.plist
........\...........\......................\..........\...............\._xcschemes
........\...........\......................\..........\._bob.xcuserdatad
Assignment1\Assignment-1.xcodeproj\xcuserdata\luzhang.xcuserdatad
...........\......................\..........\...................\xcschemes
...........\......................\..........\...................\.........\Assignment-1.xcscheme
...........\......................\..........\...................\.........\xcschememanagement.plist
__MACOSX\Assignment1\Assignment-1.xcodeproj\._xcuserdata
........\...........\._Assignment-1.xcodeproj
Assignment1\car.d2
__MACOSX\Assignment1\._car.d2
Assignment1\main.cpp
__MACOSX\Assignment1\._main.cpp
Assignment1\PolyModel.cpp
__MACOSX\Assignment1\._PolyModel.cpp
Assignment1\PolyModel.h
__MACOSX\Assignment1\._PolyModel.h
Assignment1\square.d2
__MACOSX\Assignment1\._square.d2
........\._Assignment1