GLTools-master

时间:2016-08-19 12:31:20
【文件属性】:

文件名称:GLTools-master

文件大小:63KB

文件格式:ZIP

更新时间:2016-08-19 12:31:20

opengl

What is this? ============= This is a stand alone package for GLTools. According to the OpenGL SuperBible, written by the author of GLTools: >GLTools began life in the third edition of this >book. Over time it has grown and provides a lot of shortcuts and handy tools, much like >the OpenGL utility library (GLU) used to. GLTools includes a 3D math library to manipulate >matrices and vectors and relies on GLEW for full OpenGL 3.3 support of functions >that generate and render some simple 3D objects and manage your view frustum, camera, >and transformation matrices GLTools is incredibly useful, however, it is a real pain to get set up under Linux. The makefiles provided with the companion source code for the book all rebuild GLTools from scratch and statically link it to the executable. For this distribution, I removed the included copy of GLEW and wrote some CMake files to make it easier to use with your own programs. The official repository is available at http://code.google.com/p/oglsuperbible5/ **NOTE**: I only tested the build process under Ubuntu 10.04, if there are any issues on other platforms, patches are appreciated. COMPILATION AND INSTALLATION ============================ List of packages needed for compilation on Ubuntu: build-essential g++ cmake libx11-dev freeglut3-dev libglu1-mesa-dev libxcb1-dev libxext-dev libxxf86vm-dev libxi-dev libxmu-dev glew-utils libglew1.5-dev To compile and install GLTools: cd build cmake .. make sudo make install sudo ldconfig By default, headers will be in */usr/local/include* and libraries will be in */usr/local/lib*


【文件预览】:
GLTools-master
----cmake()
--------Installation.cmake(855B)
----include()
--------GLBatch.h(5KB)
--------GLMatrixStack.h(6KB)
--------GLShaderManager.h(4KB)
--------GLFrame.h(15KB)
--------StopWatch.h(3KB)
--------GLBatchBase.h(2KB)
--------math3d.h(28KB)
--------GLTools.h(7KB)
--------GLGeometryTransform.h(3KB)
--------GLTriangleBatch.h(4KB)
--------GLFrustum.h(12KB)
----src()
--------math3d.cpp(31KB)
--------GLTools.cpp(57KB)
--------GLShaderManager.cpp(27KB)
--------GLBatch.cpp(17KB)
--------GLTriangleBatch.cpp(10KB)
----README(2KB)
----.gitignore(6B)
----CMakeLists.txt(2KB)
----README.md(2KB)
----build()
--------PLACEHOLDER.txt(0B)

网友评论

  • 很不错,配置opengl用
  • 试了,没弄好。
  • 有点乱,不能设置啊
  • 好像也不知道怎么用,病急乱投医,希望楼主写个文档一起上传
  • 该怎么设置啊,搞不好