Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tags in this Discussion

Optix.NET: a .Net wrapper for OptiX
  • I'm creating a .Net wrapper for optix and plan on releasing as an open source project under the MIT license. To that end I was wondering if it is possible to use some of the Optix SDK cuda shaders in sample programs. Any shaders I'd be using would of course retain their Nvidia license notice.

    Thanks for any info :)

    Edit: I sent this to optix-help@nvidia as well.
    Edit 2: Heard back from David McAllister and got the go ahead.
    Edit 3: changed the title to be a general thread for Optix.NET.
  • 5 Comments sorted by
  • Hi!

    We are using Optix from .NET ourselves and would be very interested in this project. I have been using optix in managed code using C++/CLI, and have some ideas for such a .NET wrapper lib. To list a few:
    * An interface similar to that of optixpp
    * Proper IDisposable implementation instead of reference counting, including automatic GC cleanup. (Just don't try to destroy optix objects after their context has been destroyed, we've hit that one a few times...)
    * Using interfaces for all classes to allow dependency injection and faking in unit tests.

    Do you have a link to the project repository?

    Regards
    Tobias
  • I was going to post it here once it was a little farther along :) You can also find it here: http://optixdotnet.codeplex.com/

    Thanks for the suggestions! The interface at the moment is similar to optixpp with some added convenience functions/classes.

    The math library is incomplete and OBJ loading is not complete (should be done by the weekend). And unit tests still need to be implemented.

    I think a neat addition would be to do something similar to CUDAfy and allow writing optix programs in-line in C#.

    Edit:
    Latest now has PBO backbuffer support, better OBJ mtrl/group handling, and PathTracer sample.
    pathtrace.png
    512 x 657 - 742K
  • Optix.NET Alpha v3 released.
    Includes:
    64-bit support
    More samples - Transform, OpenGl texture interop, Traversal API
    various fixes
    more documentation
  • Released Beta 2.0 for Optix.NET:
    -New D3D11 and Optix interop Instant Radiosity sample
    -New Visual Basic sample
    -New CompiledCuda functionality for run-time compiling and saving of cuda shaders on dev machines
    -Cleaner math interface
    -User type buffers now work with d3d/ogl interop
    -More error detection for d3d Buffers
    instantradiosity.png
    570 x 718 - 177K
    instantradiosity_2.png
    1004 x 730 - 773K