Repository navigation
neraulgraphics 0.2.0
The renderer is now a package you can call from Python or C++.
Added
- Python package:
pip install, thenimport neraulgraphics.Renderer.render()
returns a(height, width, 3)uint8 numpy array. Vectors are plain tuples,
lists or numpy arrays. Bad input raisesValueError; CUDA failures raise
neraulgraphics.CudaError. Type stubs included. - Linux wheels for Python 3.10 and later that need only the NVIDIA driver, not
the CUDA toolkit, built for every GPU generation from Turing to Blackwell. neraulgraphics/version.h, generated from the version inCMakeLists.txt.- C++ tests, run with
ctest.
Changed
- Renamed everything to
neraulgraphics:find_package(neraulgraphics), the
neraulgraphics::coretarget,#include <neraulgraphics/renderer.h>and
namespace neraulgraphics. The viewer is nowneraulgraphics-viewer. - The public headers no longer include any CUDA header. Vectors are
neraulgraphics::Vec3, andmake_camerais computed inside the library, so
cameras no longer depend on the caller's floating point flags. - The
Rendererfloor argument is optional; the default is no floor.