This project tries to code a Vulkan acclerated PBRT system fully in Python.
VkInline provided an easy to use interface to access latest GPU power from Python. Based on VkInline, it is possible to contruct sophisticated hybrid CPU/GPU software systems using OOP techniques.
Note that the ray-tracing acceleration is powered by VK_KHR_ray_tracing. For Nvidia users, a Nvidia Beta driver might be needed.
Install VkInline:
$ pip3 install VkInline
Install Pillow (needed by the test):
$ pip3 install pillow
Clone the code then run the tests:
$ python3 test_pathtrace.py
$ python3 test_pathtrace2.py