我正在寻找最好的原生库,它在结构和简单性方面类似于 three.js,但也具有足够的可扩展性以支持 glsl 着色器。
要求:
- 开放源代码或为可能的扩展/增强提供了很好的文档
- 允许商业衍生/使用
- 可以包含在物理库中,也可以轻松地与物理库配对。
- 速度足以支持现代游戏图形。
- 基于 OpenGL 或 Mantle。 (我不想被 window 困住。)
- Windows 支持
- 支持类似于 three.js 本地/世界坐标系的系统。
- 光线转换支持进行碰撞检测。
巨额奖金:
- 支持 Linux 和 OSX 以及 Windows。
我正在寻找与 Three.js 尽可能接近的匹配项,它是用 C++ 编写的,类似于 three.cpp但已完成功能并且处于较低的 beta/alpha 状态。
最佳答案
你试过万能吗?
http://mosra.cz/blog/download-magnum.php
支持的平台
图形 API:
OpenGL 2.1 through 4.4, core profile functionality and modern extensions
OpenGL ES 2.0, 3.0 and extensions to match desktop OpenGL functionality
WebGL 1.0 and extensions to match desktop OpenGL functionality
平台:
Linux and embedded Linux (natively using GLX/EGL and Xlib or through GLUT or SDL2 toolkit)
Windows (through GLUT or SDL2 toolkit)
OS X (through SDL2 toolkit, thanks to Miguel Martin)
Google Chrome (through Native Client, both newlib and glibc toolchains are supported)
HTML5/JavaScript (through Emscripten)
关于c++ - 最接近three.js的完整原生库是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21376624/