游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3333|回复: 0

《古月》将引入第三方库《OpenGL Mathematics (GLM)》

[复制链接]

2万

主题

2万

帖子

6万

积分

论坛元老

Rank: 8Rank: 8

积分
66489
QQ
发表于 2011-1-4 19:22:00 | 显示全部楼层 |阅读模式
GLM在设计上完全遵照OpenGL Shading Language风格,并使用开放的MIT授权协议。

以下截图为新渲染引擎使用GLM矩阵控制移动、缩放、旋转后的效果。



新渲染引擎所使用的矩阵处理已经全面转为使用GLM,以下为GLM介绍:

OpenGL Mathematics (GLM) is a C++ mathematics library for 3D applications based on the OpenGL Shading Language (GLSL) specification.

GLM provides 3D programmers with math classes and functions that are similar to GLSL or any high level GPU programming language. The idea is to have a library that has identical naming conventions and functionalities than GLSL so that when developers know GLSL, they know how to use GLM.

However, this project isn’t limited by GLSL features. An extension system, based on the GLSL extension conventions, allows extended capabilities.

This library can be used with OpenGL but also for software rendering (Raytracing / Rasterisation), image processing and as much contexts as a simple math library could be used for.

GLM is written as a platform independent library and supports the following compilers:

· GNU GCC 3.4 and higher

· Microsoft Visual Studio 8.0 and higher

The source code is under the MIT licence.

Any feedback is welcome and can be sent to g.truc.creation[at]gmail.com.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2024-12-22 09:39

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表