LibreDR is an open-source ray-tracing differentiable renderer
 
 
Go to file
Bohan Yu b890b6531e v0.0.13 2023-09-25 16:53:53 +08:00
.vscode Move look_at_extrinsic and orthogonal_ray to Rust 2023-09-08 13:34:39 +08:00
client Bugfix and display current allocator 2023-09-25 16:53:21 +08:00
common Bugfix and display current allocator 2023-09-25 16:53:21 +08:00
examples makes pyo3/extension-module optional to enable static link to python for downstream rust app 2023-09-19 14:58:47 +08:00
server Bugfix and display current allocator 2023-09-25 16:53:21 +08:00
worker Bugfix and display current allocator 2023-09-25 16:53:21 +08:00
.gitattributes Set EOL to LF 2023-06-03 08:49:48 +08:00
.gitignore update package names 2023-09-17 13:21:42 +08:00
Cargo.toml v0.0.13 2023-09-25 16:53:53 +08:00
LICENSE v0.0.5 2023-04-27 17:34:22 +08:00
README.md Rearrange Python config 2023-09-01 21:38:42 +08:00

README.md

LibreDR is an open-source ray-tracing differentiable renderer

[Codeberg Repo] [API Document]

LibreDR uses client-server-worker structure to better utilize multiple GPUs (or even multiple nodes on a cluster).
Some code examples are under examples/ directory.

To run server and worker under Linux:

  1. Download libredr_linux_*.tra.gz under [releases].
  2. Start server and worker using examples/scripts/{server,worker}.sh or with your own configuration.
    Example configurations are in examples/scripts. Use clinfo to verify OpenCL runtime.

To run server and worker under Windows:

  1. Download libredr_windows_*.tra.gz under [releases].
  2. Start server and worker using examples/scripts/{server,worker}.bat or with your own configuration.
    Example configurations are in examples/scripts.

To run the example Python codes or your own Python code

  1. Download libredr-*.whl under [releases] and install using pip install, or install from [PyPI].
  2. Run Python example codes examples/scripts/run_example.{sh,bat} or your own client codes.

All the examples tested on the following platforms:

OS Device Driver
Debian Bullseye Linux 6.1.0-0.deb11.7-amd64 CPU: Intel Core i7-8550U PoCL v1.6
Debian Bullseye Linux 6.1.0-0.deb11.7-amd64 GPU: NVIDIA GeForce RTX 3090 NVIDIA Proprietary v470.161.03
Windows 10 21H2 (OS Build 19044.1288) GPU: AMD Radeon RX 6700 XT AMD Proprietary v22.20.44

To build from source codes, check the build script for Linux in examples/scripts_unix/build/. Docker is used to build manylinux-compatible wheels.

Copyright (c) 2022-2023 Bohan Yu. All rights reserved.
LibreDR is free software licensed under GNU Affero General Public License version 3 or latter.