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
1
vote
2 answers

Nvidia Optix eye space intersection points

How can I calculate eye space intersection coordinates in an OptiX program? My research showed that only object and world coordinates are provided, but I cannot believe that there is no way to get the eye space coordinates.
James Takarashy
  • 299
  • 2
  • 14
1
vote
1 answer

Nvidia Optix :rtProgramCreateFromPTXFile or rtProgramCreateFromPTXString returns the RT_ERROR_INVALID_SOURCE?

RTresult code = rtProgramCreateFromPTXString(context, pBuf, "draw_solid_color", &ray_gen_program); The code result is RT_ERROR_INVALID_SOURCE My project can generate PTX file, and the cuda and optix are configured. How can I resolve this problem?
Feiper
  • 11
  • 1
1
vote
1 answer

how to draw texture on obj model through optix example

I'm very new to optix and cuda. I'm trying to modify optix SDK example to present a 3D model with ray tracing. I modified the "progressivePhotonMap" example. Because of lacking of optix/cuda knowledge, I don't know how to draw texture on the 3D…
Erin Tung
  • 17
  • 4
1
vote
1 answer

What is in the stack?

I'm trying to understand what is stored in the stack in optix. As I understand it, we set the stack size per context, and one stack is attached to each thread in the ray generation program. When a ray is launched, the thread carries with it the…
Yauda
  • 159
  • 2
  • 10
1
vote
1 answer

Compiling Optix with Qt Creator - Linking Issues

I am trying to compile some sample projects given from the Nvidia OptiX SDK with Qt-Creator. I wrote the .pro file and edited it for my own needs with this help Compiling Optix with Qt Creator! I have exactly the same .pro file, except that i…
Daniel R.
  • 774
  • 1
  • 7
  • 19
1
vote
1 answer

Installing Nvidia Optix SDK 3.0.0 Ubuntu 12.04

Hi I am trying to install nVidia OptiX SDK version 3.0.0 für linux64 on Ubuntu. I have downloaded the .run file. When the execution was finished I got a folder called ~/NVIDIA-OptiX-SDK-3.0.0-linux64/ It is in my home folder. The precompiled…
rcpfuchs
  • 792
  • 1
  • 12
  • 26
1
vote
1 answer

What device is a cuda kernel running on

Is there any way from a kernel (GPU Code) to find out which device the code is running on? You can find blockIdx, threadIdx, blockDim and gridDim, but any way to find the CUDA device id? For those who wonder, i plan to use it in a OptiX program to…
apartridge
  • 1,790
  • 11
  • 18
1
vote
1 answer

Multiple GPUs in OptiX (asynchronous launches possible?)

I have some challenges with my Master's thesis I hope you can help me with or maybe point me in the correct direction. I'm implementing Progressive Photon Mapping using the new approach by Knaus and Zwicker…
apartridge
  • 1,790
  • 11
  • 18
1
vote
1 answer

Nvidia OptiX GeometryGroup

Hello I'm using Nvidia OptiX to create a RayTracer. I used the example Programs "sample0" and "tutorial" to set up a simple tracer. In my C++ Code i set up Everything with: this->buffer_height = 512u; this->buffer_width = 512u; char…
rcpfuchs
  • 792
  • 1
  • 12
  • 26
0
votes
1 answer

How to compile CUDA C files and Nvidia OptiX files inside the same Visual Studio project

I am currently using the Optix ray tracing engine on Visual Studio. My problem consists of computing data and rendering them with Optix. I have already written a pure C CUDA program to compute the data, but I cannot integrate it inside my Optix…
0
votes
0 answers

Exploring the sample optixTriangle program in the Optix Engine

I am fairly new to this engine and while exploring the sample optixTriangle program , I made the following changes to the optixTriangle.cpp program - I changed some camera properties And I made some changes to triangle build input by changing the…
kratia
  • 21
  • 6
0
votes
0 answers

Optix LNK2001 unresolved external symbol

I'm trying to follow a step by step tutorial on Optix at github, but in one file there's this line: extern "C" char embedded_ptx_code[]; which leads to the error at the title since there's no definition of that C string. I don't get it , am I…
mrmanet
  • 3
  • 2
0
votes
1 answer

Computing the surface normal at hit point in OptiX 7

I'm studying the OptixTriangle example of OptiX 7.3. However, the meaning of the parameters of optixTrace are not clear: optixTrace( params.handle, ray_origin, ray_direction, 0.0f, // --- Min…
Vitality
  • 20,705
  • 4
  • 108
  • 146
0
votes
1 answer

Is Hardware Accelerated Min/Max Ray Casting Available with Cuda/Optix?

I am wondering if it is possible in Cuda or Optix to accelerate the computation of the minimum and maximum value along a line/ray casted from one point to another in a 3D volume. If not, is there any special hardware on Nvidia GPU's that can…
MVTC
  • 845
  • 11
  • 28
0
votes
2 answers

undefined reference to `cuCtxGetCurrent` while getting CUDA context for OptiX

I'm trying to learn how to implement OptiX into my C++ project. One of the first steps is to get the current CUDA context with cuCtxGetCurrent(&some_CUcontext_variable), however I'm getting a compile time error saying that I've made an undefined…
Microbob
  • 672
  • 5
  • 20