Skip to content

neraulgraphics 0.2.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 03:48
· 28 commits to main since this release

The renderer is now a package you can call from Python or C++.

Added

  • Python package: pip install, then import neraulgraphics. Renderer.render()
    returns a (height, width, 3) uint8 numpy array. Vectors are plain tuples,
    lists or numpy arrays. Bad input raises ValueError; 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 in CMakeLists.txt.
  • C++ tests, run with ctest.

Changed

  • Renamed everything to neraulgraphics: find_package(neraulgraphics), the
    neraulgraphics::core target, #include <neraulgraphics/renderer.h> and
    namespace neraulgraphics. The viewer is now neraulgraphics-viewer.
  • The public headers no longer include any CUDA header. Vectors are
    neraulgraphics::Vec3, and make_camera is computed inside the library, so
    cameras no longer depend on the caller's floating point flags.
  • The Renderer floor argument is optional; the default is no floor.