diff --git a/doc/about.html b/doc/about.html index 0b54319a..cdbfb48f 100644 --- a/doc/about.html +++ b/doc/about.html @@ -12,7 +12,7 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM).
A C++ mathematics library for 3D graphics.


+ Download GLM 0.9.2.0







OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM).
A C++ mathematics library for 3D graphics.


OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.

diff --git a/doc/code.html b/doc/code.html index 4835d017..a07bc9f2 100644 --- a/doc/code.html +++ b/doc/code.html @@ -12,7 +12,7 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM).
A C++ mathematics library for 3D graphics.


Compute a triangle normal:
OpenGL Mathematics
GLSL + Optional features = OpenGL Mathematics (GLM).
A C++ mathematics library for 3D graphics.


Compute a triangle normal:
  • #include <glm/glm.hpp>
  • void computeNormal(triangle & Triangle)
  • {
  • diff --git a/doc/download.html b/doc/download.html index a40658f6..440e2e85 100644 --- a/doc/download.html +++ b/doc/download.html @@ -12,7 +12,7 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    Current release
    08/05/2010: + Download GLM 0.9.2.0






    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    Current release
    08/05/2010: GLM 0.9.2.0 (3.4 MB)
    _________________

    GLM - zip files
    08/05/2010: GLM 0.9.2.0 (3.4 MB) diff --git a/doc/glm-0.9.1.pdf b/doc/glm-0.9.1.pdf deleted file mode 100644 index 88231829..00000000 Binary files a/doc/glm-0.9.1.pdf and /dev/null differ diff --git a/doc/glm-0.9.2.pdf b/doc/glm-0.9.2.pdf new file mode 100644 index 00000000..df8e5913 Binary files /dev/null and b/doc/glm-0.9.2.pdf differ diff --git a/doc/goodies.html b/doc/goodies.html index 53fcf9a3..f2319274 100644 --- a/doc/goodies.html +++ b/doc/goodies.html @@ -12,4 +12,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    16/10/2008
    GLM Logo

    Download: 2560x1600
    Download: 1920x1200
    Download: 1600x1000
    Download: 1280x0800
    Download: 1024x0640

    _________________

    16/10/2008
    GLM Font

    Download: Font (.otf)

    _________________

    _________________

    Copyright © 2005 - 2011G-Truc Creation
    \ No newline at end of file + Download GLM 0.9.2.0






    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    16/10/2008
    GLM Logo

    Download: 2560x1600
    Download: 1920x1200
    Download: 1600x1000
    Download: 1280x0800
    Download: 1024x0640

    _________________

    16/10/2008
    GLM Font

    Download: Font (.otf)

    _________________

    _________________

    Copyright © 2005 - 2011G-Truc Creation
    \ No newline at end of file diff --git a/doc/index.html b/doc/index.html index 28e49006..f05966f4 100644 --- a/doc/index.html +++ b/doc/index.html @@ -12,7 +12,7 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    + Download GLM 0.9.2.0






    OpenGL Mathematics
    GLSL + Optional features = OpenGL Mathematics (GLM).
    A C++ mathematics library for 3D graphics.


    OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.

    @@ -32,23 +32,26 @@

    Thanks for contributing to the project by submitting tickets for bug reports and feature requests. (SF.net account required). Any feedback is welcome at glm@g-truc.net. -


    08/05/2011 - GLM 0.9.2.0 released

    - Various bugs fixed with GLM 0.9.1.3. +


    09/05/2011 - GLM 0.9.2.0 released

    + GLM 0.9.2.0 provides many exciting features which first of all is the CUDA copiler support so that GLM can be used within a CUDA kernel. This is possible only by defining GLM_FORCE_CUDA before including glm/glm.hpp in the CUDA Kernel source code.

    - Various bugs fixed with GLM 0.9.1.3. -

    GLM 0.9.2.0 changelog:
    • - Added CUDA support -
    • - Added CTest test suite -
    • - Added GLM_GTX_ulp extension -
    • - Added GLM_GTX_noise extension -
    • - Added GLM_GTX_matrix_interpolation extension -
    • - Updated quaternion slerp interpolation -
    Download: GLM 0.9.2.0 (zip)
    Download: GLM 0.9.2.0 (7z)
    Link: Submit a bug report

    07/05/2011 - GLM 0.9.1.3 released

    + New experimental extensions are also available. GLM_GTX_noise is based on the work by Stefan Gustavson and Ashima Arts on WebGL-noise which adds perlin and simplex noise functions in a pure computational way. + If everything goes well, this extension will be promoted to GLM core as implementation of the GLSL noise functions. +

    + GLM_GTX_ulp provides functions to evaluate the number of ULPs between two floating-point values which gives a way to mesure the accuracy of a function compare to a reference function. + In the future, this extension could be used to update the documentation of function and gives the level of accuracy they provide. +

    + Finally, GLM_GTX_matrix_interpolation is an extension developed by Ghenadii Ursachi to extract axis and angle of a 4 by 4 matrix but also directly interpolate between two matrices. + This extension works only on linear transformed matrices. +

    + Last but not least: with the version 0.9.2, GLM supports CTest to manage GLM test suite which makes tests much easier to maintain. + The number of tests have significantly increase, even if a lot more tests are necessary. +

    + GLM 0.9.2 is not backward compatible with GLM 0.9.1 with only one point: Quaternion SLERP interpolation! + In GLM 0.9.1 the function 'mix' always interpolate using the short rotation path but it's no longer the case. + The function 'shortMix' has to be called for short path interpolation. + 'fastMix' will interpolate two quaternions using a normalized linear quaternion interpolation with non-constant rotation speed. +

    Download: GLM 0.9.2.0 (zip)
    Download: GLM 0.9.2.0 (7z)
    Link: Submit a bug report

    07/05/2011 - GLM 0.9.1.3 released

    Various bugs fixed with GLM 0.9.1.3.

    Download: GLM 0.9.1.3 (zip)
    Download: GLM 0.9.1.3 (7z)
    Link: Submit a bug report

    15/04/2011 - GLM 0.9.1.2 released

    Bug fixes Only for GLM 0.9.1.2. diff --git a/doc/man.doxy b/doc/man.doxy index cf235dd5..e9d6d3f1 100644 --- a/doc/man.doxy +++ b/doc/man.doxy @@ -31,7 +31,7 @@ PROJECT_NAME = # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.9.1 +PROJECT_NUMBER = 0.9.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer diff --git a/doc/pages.doxy b/doc/pages.doxy index 25f70528..5c6231fd 100644 --- a/doc/pages.doxy +++ b/doc/pages.doxy @@ -10,9 +10,11 @@ This library works perfectly with OpenGL but it also ensures interoperability with other third party libraries and SDK. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library. GLM is written as a platform independent library with no dependence and officially supports the following compilers: - 1. GCC 3.4 and higher - 2. LLVM 2.3 through GCC 4.2 front-end and higher - 3. Visual Studio 2005 and higher + 1. Clang 2.0 and higher + 2. CUDA 3.0 and higher + 3. GCC 3.4 and higher + 4. LLVM 2.3 through GCC 4.2 front-end and higher + 5. Visual Studio 2005 and higher \note The Doxygen-generated documentation will often state that a type or function is defined in a namespace that is a child of the \link glm glm \endlink namespace. @@ -156,6 +158,16 @@ void BindUniforms(GLuint uniVec, GLuint uniMat) \note This operation could have been built into the base vector and matrix types and performed with a cast operator. However, this has some downsides. Implicit casts can cause unexpected and unwanted behavior. + + \section started_cuda GLM for CUDA + + GLM 0.9.2 introduces CUDA compiler support allowing programmer to use GLM inside a CUDA Kernel. + To make GLM compatible with CUDA, GLM_FORCE_CUDA requires to be define before any inclusion of . + + \code +#define GLM_FORCE_CUDA +#include + \endcode **/ /*! diff --git a/doc/src/data.xml b/doc/src/data.xml index f65e7e55..dada2e13 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -142,12 +142,6 @@ Standard output stream In place operations - - More tests. - Arrays. - SIMD optimizations. - In place operations. - RGBE. row matrices. @@ -156,36 +150,33 @@ - + - Various bugs fixed with GLM 0.9.1.3. + GLM 0.9.2.0 provides many exciting features which first of all is the CUDA copiler support so that GLM can be used within a CUDA kernel. This is possible only by defining GLM_FORCE_CUDA before including glm/glm.hpp in the CUDA Kernel source code. - - - - Added CUDA support - - - Added CTest test suite - - - Added GLM_GTX_ulp extension - - - Added GLM_GTX_noise extension - - - Added GLM_GTX_matrix_interpolation extension - - - Updated quaternion slerp interpolation - - - - Various bugs fixed with GLM 0.9.1.3. + New experimental extensions are also available. GLM_GTX_noise is based on the work by Stefan Gustavson and Ashima Arts on WebGL-noise which adds perlin and simplex noise functions in a pure computational way. + If everything goes well, this extension will be promoted to GLM core as implementation of the GLSL noise functions. - + + GLM_GTX_ulp provides functions to evaluate the number of ULPs between two floating-point values which gives a way to mesure the accuracy of a function compare to a reference function. + In the future, this extension could be used to update the documentation of function and gives the level of accuracy they provide. + + + Finally, GLM_GTX_matrix_interpolation is an extension developed by Ghenadii Ursachi to extract axis and angle of a 4 by 4 matrix but also directly interpolate between two matrices. + This extension works only on linear transformed matrices. + + + Last but not least: with the version 0.9.2, GLM supports CTest to manage GLM test suite which makes tests much easier to maintain. + The number of tests have significantly increase, even if a lot more tests are necessary. + + + GLM 0.9.2 is not backward compatible with GLM 0.9.1 with only one point: Quaternion SLERP interpolation! + In GLM 0.9.1 the function 'mix' always interpolate using the short rotation path but it's no longer the case. + The function 'shortMix' has to be called for short path interpolation. + 'fastMix' will interpolate two quaternions using a normalized linear quaternion interpolation with non-constant rotation speed. + + GLM 0.9.2.0 (zip) GLM 0.9.2.0 (7z) Submit a bug report @@ -1588,8 +1579,8 @@ - - + + diff --git a/glm/core/setup.hpp b/glm/core/setup.hpp index a90095fb..06c6010f 100644 --- a/glm/core/setup.hpp +++ b/glm/core/setup.hpp @@ -169,7 +169,8 @@ # define GLM_COMPILER GLM_COMPILER_CODEWARRIOR // CUDA -#elif defined(CUDA_VERSION) +/* +#elif defined(__CUDACC__) # if CUDA_VERSION < 3000 # error "GLM requires CUDA 3.0 or higher" # elif CUDA_VERSION == 3000 @@ -180,7 +181,10 @@ # define GLM_COMPILER GLM_COMPILER_CUDA32 # elif CUDA_VERSION == 4000 # define GLM_COMPILER GLM_COMPILER_CUDA40 +# else +# define GLM_COMPILER GLM_COMPILER_CUDA # endif +*/ #else # define GLM_COMPILER GLM_COMPILER_UNKNOWN diff --git a/readme.txt b/readme.txt index 9476db39..8dd3d770 100644 --- a/readme.txt +++ b/readme.txt @@ -14,7 +14,7 @@ More informations in GLM manual: http://glm.g-truc.net/glm-0.9.2.pdf ================================================================================ -GLM 0.9.2.0: 2010-05-08 +GLM 0.9.2.0: 2010-05-09 -------------------------------------------------------------------------------- - Added CUDA support - Added CTest test suite