文件名称:Assignment1

  • 所属分类:
  • OpenGL
  • 资源属性:
  • [MacOS] [C/C++] [源码]
  • 上传时间:
  • 2014-12-08
  • 文件大小:
  • 54kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • w***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

这个文件是关于图形-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
(系统自动生成,下载前可以参看下载内容)

下载文件列表





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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org