基于OPENGL的3D引擎-G3D 介绍

来源:互联网 发布:用java打印乘法表 编辑:程序博客网 时间:2024/05/01 10:35

 

G3D是一个商业级C++的 3D游戏引擎。可以用在商业游戏,论文研究,军事模拟器,和大学课程。G3D支持实时渲染,离线渲染像射线追踪,和通用计算图形处理器。G3D提供了一套共同的程序和结构,它使低层的OpenGL更容易使用不限制功能或性能。 G3D是一个坚如磐石,高度优化的基础上建立的三维应用程序。


主要的功能和特点

3DS, IFS, MD2, BSP和自定义模式 JPG, PNG, BMP, PPM, PCX, TGA, DDS和ICO图像

运行时调试工具 可更换皮肤的用户界面 字体渲染 着色 阴影地图和阴影卷 可选的自动内存管理 以TCP和UDP为网络基础 优化n x m米矩阵,包括逆和SVD 支持Windows,OS X,Linux和FreeBSD

 


G3D Overview


    G3D is a commercial-grade 3D Engine available as Open Source(BSD License). It is used in games, tech demos, research papers,military simulators, and university courses. It provides a set ofroutines and structures so common that they are needed in almost everygraphics program. It makes low-level libraries like OpenGL and socketseasier to use without limiting functionality or performance. G3D givesyou a rock-solid, highly optimized base from which to build yourapplication.

G3D does not contain scene graph or GUI routines. Because ofthis, you have much more flexibility in how you structure yourprograms. The tradeoff is that you have to know more about 3Dprogramming. G3D is intended for users who are already familiar withC++ and DirectX or OpenGL. Several good GUI libraries exist and werecommend using one with G3D if your project has extensive UI needs.

This manual begins with a Tutorial and Application Framework thathelp programmers who know C++ but are either new to 3D or startingwithout a base of 3D code get up and running quickly. The demosdirectory contains a starter project(it is how the G3D development team usually start new projects in their own work).

The library also provides lower-level interfaces thatprogrammers who are already working with OpenGL and existing code mayprefer. See the Notes for Expert Users at the end of this chapter formore information.

3dengine.jpg