重新实现的RanderWare引擎,用于GTA
Go to file
2021-03-10 01:13:17 +01:00
.github/workflows conan+ci: update 2021-01-02 20:47:22 +01:00
cmake Replace glew with glad 2021-01-31 13:48:59 +01:00
conan cmake: add playstation2 support 2021-01-02 20:47:22 +01:00
skeleton add camera example 2021-03-03 21:53:06 +01:00
src add camera example 2021-03-03 21:53:06 +01:00
tools added im3d example 2021-03-10 01:13:17 +01:00
.appveyor.yml Replace glew with glad 2021-01-31 13:48:59 +01:00
.gitignore Add the build directory to the .gitignore file 2019-01-10 16:12:21 +00:00
.travis.yml Make ps2 optional 2020-04-26 22:38:00 +02:00
ARCHITECTURE.MD vertex input stream functions 2021-02-18 01:57:41 +01:00
args.h made most things build on linux again 2016-01-10 20:10:53 +01:00
CMakeLists.txt cmake: create binary package with nice filename 2021-01-02 20:47:22 +01:00
conanfile.py Replace glew with glad 2021-01-31 13:48:59 +01:00
docker_rebuild_ps2.sh Add travis and appveyor support 2018-08-08 19:11:05 +02:00
Dockerfile Replace glew with glad 2021-01-31 13:48:59 +01:00
LICENSE Initial commit 2014-12-18 17:25:08 +01:00
premake5.exe include premake binary for convenience 2020-04-18 11:39:03 +03:00
premake5.lua added im3d example 2021-03-10 01:13:17 +01:00
premake-vs2019.cmd include premake binary for convenience 2020-04-18 11:39:03 +03:00
README.md little readme changes; added an architecture doc 2021-02-17 17:17:13 +01:00
rw.h render pipe fixes 2020-08-18 11:03:07 +02:00
TODO add camera example 2021-03-03 21:53:06 +01:00

librw

This library is supposed to be a re-implementation of RenderWare graphics, or a good part of it anyway.

It is intended to be cross-platform in two senses: support rendering on different platforms similar to RW; supporting all file formats for all platforms at all times and provide way to convert to all other platforms.

Supported file formats are DFF and TXD for PS2, D3D8, D3D9 and Xbox. Not all pre-instanced PS2 DFFs are supported. BSP is not supported at all.

For rendering we have D3D9 and OpenGL (>=2.1, ES >= 2.0) backends. Rendering some things on the PS2 is working as a test only.

Uses

librw can be used for rendering GTA.

Building

Get premake5. Generate a config, e.g. with premake5 gmake, and look in the build directory.