anderslanglands / optix-rs

An oxidized wrapper around NVidia's OptiX raytracing library
15 stars 6 forks source link

Support for optix 7.0 #2

Open WeiPhil opened 4 years ago

WeiPhil commented 4 years ago

Hi! I was wondering how hard, it would be to make the bindings work the latest version of optix. I heard many changes habe been made to the optix library from version 6 to 7. Do you have any knowledge about this?

Cheers,

anderslanglands commented 4 years ago

Hi there! Yes the API is very different. I've been working on the optix 7 bindings for a while. I just pushed my latest changes to the optix7 branch. You can find examples in the optix crate mirroring ingo wald's course from siggraph last year. The first 8 should be working correctly.

It's been relatively stable for a while (my own renderer is built against it) but I will be making some large-scale changes to it at some point before too long as I need to completely rework the memory allocation strategy.

WeiPhil commented 4 years ago

This is great to hear! I'm also planning in the long term to add this to my own toy tracer. This looks promising :)

apps4uco commented 1 year ago

Hi, I made some modifications to the examples for Optix 7.0, and submitted a PR.

I imagine you are very busy, (having just checked out your bio).... maybe I can help to maintain the optix-rs project, and implement support for up to Optix 7.6.