You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
aap 4c4b199057 fix type bug 3 days ago
.github/workflows Update .github/workflows/build-cmake-conan.yml 3 weeks ago
cmake Add fatal error message 3 weeks ago
conan cmake: add playstation2 support 7 months ago
skeleton Merge pull request #84 from ccawley2011/patch-1 2 weeks ago
src fix type bug 3 days ago
tools examples: fix imguitest 2 weeks ago
.appveyor.yml Replace glew with glad 6 months ago
.gitignore git: ignore imgui.ini file 1 month ago
.travis.yml Make ps2 optional 1 year ago
ARCHITECTURE.MD vertex input stream functions 5 months ago
CMakeLists.txt cmake: nx toolchain has FindOpenGL module 4 weeks ago
Dockerfile Replace glew with glad 6 months ago
LICENSE Initial commit 7 years ago
README.cmake build sample with cmake on Linux 1 month ago
README.md little readme changes; added an architecture doc 5 months ago
TODO add camera example 5 months ago
args.h made most things build on linux again 6 years ago
conanfile.py cmake: nx toolchain has FindOpenGL module 4 weeks ago
docker_rebuild_ps2.sh Add travis and appveyor support 3 years ago
premake-vs2019.cmd include premake binary for convenience 1 year ago
premake5.exe include premake binary for convenience 1 year ago
premake5.lua added im3d example 5 months ago
rw.h render pipe fixes 11 months ago

README.md

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.