Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Using Optix for calculations, possible?

Discussion in '2019.2 Beta' started by TJaenichen, May 13, 2019.

  1. TJaenichen

    TJaenichen

    Joined:
    Oct 12, 2014
    Posts:
    29
    For a client I have been using a API layer to OptixPrime via DllImports. I was wondering if there is any Unity out there (Beta or whatever), that has better support for Optix (not prime) in order to run some raytracing based calculations. We're switching to Optix proper and the workflow is a bit convoluted, so I thought I check before I go in.

    To give an idea. I need to spawn a few million rays, see where they collide with meshes in the scene and then spawn a few thousand rays from each of these collisions and then check where they collide. Based on that I need to run some simple calculations and report back a float for each of the initial collisions

    Thanks!
     
    Last edited: May 13, 2019
  2. fguinier

    fguinier

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    146