重新实现的RanderWare引擎,用于GTA
Go to file
2021-07-09 19:37:22 +02:00
.github/workflows ci: rename switch ga toolchain 2021-07-09 19:37:22 +02:00
cmake cmake: fix ps2toolchain 2021-07-09 19:35:32 +02:00
conan cmake: add playstation2 support 2021-01-02 20:47:22 +01:00
skeleton cmake: fix macos (imguizmo requires c++11) 2021-07-09 19:36:22 +02:00
src cmake: nx toolchain has FindOpenGL module 2021-06-27 18:43:30 +02:00
tools cmake: fix ps2 support 2021-07-09 19:32:45 +02:00
.appveyor.yml Replace glew with glad 2021-01-31 13:48:59 +01:00
.gitignore git: ignore imgui.ini file 2021-06-22 21:25:21 +02: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: fix ps2 support 2021-07-09 19:32:45 +02:00
conanfile.py cmake: nx toolchain has FindOpenGL module 2021-06-27 18:43:30 +02: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.cmake build sample with cmake on Linux 2021-06-22 14:31:21 +02: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.