Questions tagged [optix]

Optix is a raytracing engine from NVIDIA, using GPUs (and CUDA).

Optix is a raytracing engine from NVIDIA, which uses CUDA-enabled GPUs to accelerate raytracing calculations and functions.

http://www.nvidia.com/object/optix.html

developer information:

https://developer.nvidia.com/optix

43 questions
5
votes
1 answer

memcpy.asm not found error

I am working in Optix Using Visual studio 2013 platform, I have been working over month , suddenly I got this error, "memcpy.asm not found". I found this file in Visual studio folder but it says "The source file is different from when the module…
5
votes
1 answer

QGLWidget - distortion occured

I would like to display sample6 of the OptixSDK in a QGLWidget. My application has only 3 QSlider for the rotation around the X,Y,Z axis and the QGLWidget. For my understanding, paintGL() gets called whenever updateGL() is called by my QSlider or…
Daniel R.
  • 774
  • 1
  • 7
  • 19
5
votes
1 answer

Optix dynamicly sized array in payload

Is there any way to declare a dynamically sized array payload in optix? I've googled and read the Optix documentation, only to find that Optix doesn't allow the use of malloc. Is there any way I could do something like the following? struct…
icebreeze
  • 113
  • 5
4
votes
1 answer

Ray triangle intersection intrinsic in CUDA and other OptiX components

Is there any way to directly use hardware accelerated ray triangle intersection in CUDA without using OptiX? This is analogous to how it is possible to use tensor cores directly in CUDA for small matrix multiplication, see the Programmatic Access to…
2
votes
1 answer

Displaying X Particles Using Optix 5

I am trying to Display 250 Frames of an animation using Nvidia Optix Ray-Tracing. I have this basical Particle Class: struct Particle{ float[3] location; float size; float[4] color; string State; } I am retrieving all the information…
Fabrizio
  • 1,138
  • 4
  • 18
  • 41
2
votes
1 answer

Ray Tracing using Nvidia Optix with Open Asset Import Library (assimp) - rendering multiple meshes

I'm trying to combine the versatility of Open Asset Import Library (reading in a variety of 3D model filetypes) with NVidia Optix ray tracing to render the models. So far, it is working whenever the model I'm rendering is made up of a single mesh. …
Al5678
  • 117
  • 2
  • 10
2
votes
1 answer

BGRA -> RGBA and vertical flip, OptiX

I have a buffer containing a "raw" BGRA texture with one byte per color. The lines are in reversed order (the texture is upside down). The BGRA buffer is all green (0, 255, 0, 255). I need to convert that to RGBA and flip the textures lines. I tried…
EClaesson
  • 1,568
  • 2
  • 15
  • 26
2
votes
6 answers

Write result into text file in CUDA / Optix

I wanted to know if it was possible to write a text file of variables calculated in my program Cuda / Optix. That's variables are in my .cu files and therefore can not be written by the CPU.
1
vote
1 answer

3d modeling in cuda (raytracing pre-stage)

I'm trying to implement a simple raytracing code using CUDA. I'm stuck at the modeling part. im trying to figure out how to model a 3d space with objects (start with a simple 3d space containing a 3d cube in the middle). i've read about hybrid…
Wops
  • 983
  • 9
  • 23
1
vote
0 answers

Problems with optix and cuda when using CLion

I have simply downloaded the OptiX SDK (7.1), and have obviously installed CUDA (11). When opening a sample project in CLion, everything runs as it should, however, all the optix libraries are unknown to the IDE. Do you know anything about this?
1
vote
1 answer

get outward facing normal from vertices

I'm working on a thermal application in Optix, I want to import a GLTF file and then start rays from each primitive. I don't fully understood the documentation regrading "front" and "back" for faces stored in gltf. Is there a correct way to…
brgalo
  • 37
  • 5
1
vote
1 answer

Primitive ID, not unique if the same mesh is used more than once

I working on a thermal tool using OptiX. I started with the "meshviewer" example which uses syoyo's tinygltf loader. Basically I want to import a file, get the number of primitives and then add up the intersections. Now I imported a file containing…
brgalo
  • 37
  • 5
1
vote
0 answers

Writing to CUDA surface from OptiX kernel

I was playing around with the new OptiX-7 version. To display the launch results (simple mono-colour written from raygen) I create an OpenGL texture, map it and obtain the mapped array via cuGraphicsSubResourceGetMappedArray, and finally create a…
IGarFieldI
  • 515
  • 3
  • 12
1
vote
1 answer

OptiX scene construction suddenly very slow

For some unknown reason, constructing a scene with OptiX suddenly became very slow, even for a trivial scene with 2 triangles. This used to take a few milliseconds, but it now computes for more than 1 second. What could have happened?
merlinND
  • 799
  • 8
  • 15
1
vote
1 answer

NVidia OptiX: Load an OBJ in the PathTracer example

In the path tracer example in the SDK I want to add an OBJ file to trace, so I went over to the loadGeometry() function, and right after the last parallelogram creation, I added this code block OptiXMesh mesh; mesh.context =…
Roman
  • 107
  • 7
1
2 3