重新实现的RanderWare引擎,用于GTA
Go to file
2024-02-09 13:14:05 +01:00
.github/workflows bump conan dependencies 2022-05-14 22:09:20 +02:00
cmake Add support for CMake source dependency on librw 2022-12-14 14:35:23 +01:00
skeleton skeleton: use SDL_GetPerformanceCounter insted of SDL_GetTicks 2021-08-19 16:11:54 +02:00
src moved d3d9 device reset to a hopefully better spot 2024-02-09 13:14:05 +01:00
tools tiny fix 2022-11-13 21:51:57 +01:00
.appveyor.yml premake+ci: bump version glfw/sdl2/premake5 dependency 2021-07-09 19:55:17 +02: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: only add skeleton to project if tools are enabled 2021-08-19 16:36:00 +02:00
conanfile.py bump conan dependencies 2022-05-14 22:09:20 +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 hopalong orbit viewer; also bezier patches in playground 2021-11-25 14:17:44 +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.