/btop-tof

btop is a blender addon for PBRT aiming for better user experience

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

btop-tof

Fork of btop. Adds support for Ben Attal's time-of-flight integrator to allow simulations of time of flight cameras.

Odd behaviour that James thought he should note:

  • Textures - the process to generate UVs is very memory and scene-declaration inefficient; see notes in code.
  • Textures - the code to triangulate a mesh is also a bit silly with the data structures, but it works for now.

btop

btop is a blender(2.8 and above) addon for PBRT. Currently still in an early stage.

How to use

  • Clone the repository
  • Make an zip archive of the btop folder inside the repository(Linux users can use the create_archive.sh).
  • Install the addon inside blender

After installing the addon, setup pbrt executable and cache folder in the addon preference. preference picture

Please note that this addon doesn't provide pbrt executable by itself, it just converts the blender scene into pbrt cache file and then invoke the pbrt command to render the image.

By default this addon uses pbrt-v3 but an option to use v4 is also provided in the preferences. Currently it will convert the v3 scene file to the v4 version with the upgrade option provided by the v4 executable but still some bugs there.

Features

  • Most attributes are supported in the editor

  • Complete shader graph support

  • Auto render output display

render output

Area light support

Area light currently can only use triangle mesh in the scene as its geometry(Procedual shape support will come soon).

area light

Bugs & feedback

Please note this addon is still in development and there might be some bugs. Open an issue if you find one or you can send your PR directly.