shocker-0x15 / VLR

GPU Monte Carlo Ray Tracing Renderer using NVIDIA OptiX 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Difference between VLR and Optix wrapper

ib00 opened this issue · comments

commented

What's the difference between VLR project and your other Optix wrapper?

VLR is a renderer based on my OptiX wrapper, so this is an application.
OptiX Utility is a wrapper library with sample code demonstrating how to use the library.

The master branch of VLR is based on an old version of OptiX (6.0) and wrapper, while OptiX7_RE branch is based on almost recent version and still WIP.

commented

So, you could write VLR-like renderer using Optix_Utility?

Yes you can.
VLR (OptiX7_RE) is already based on OptiX_Utility.

Sorry, my first comment was a bit incorrect.
The master branch of VLR doesn't use my wrapper, it just uses the official C++ interface.

commented

I want to write my own toy renderer, so Optix_Wrapper seems what I am looking for.

Are you aware of a similar wrapper (functionality-wise) for Vulkan?

I'm not familiar with Vulkan. I think it is conceptually possible to make a similar wrapper for Vulkan or DX12 but resource management could be mess or complicated.
CUDA/OptiX allow us to use a raw pointer in a kernel and language (CUDA C++) is sophisticated compared to HLSL/GLSL. I like to use CUDA unless we want to distribute a multi-platform software or write rasterizer based graphics application.