Search found 15 matches

by ebergerly
November 18th, 2019, 6:29 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Not sure what the concerns are surrounding CUDA and "vendor restricted", but I imagine for many of us those concerns are somewhere between unimportant and totally irrelevant.
by ebergerly
November 17th, 2019, 2:01 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Files.PNG Oh, and another by-the-way: Speaking of stiffy-inducing, here's a screenshot of all of the header, source, etc. files that comprise that demo app. It does scene generation, ray tracing, making a window and rendering to it, configuring and using IMGUI, generating code metrics and GPU info,...
by ebergerly
November 17th, 2019, 1:54 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

BTW, a question...

I've noticed that often I run up against this BS about only supporting the older VS 2015 versions, and/or older CUDA versions, etc.

So how do the smart guys deal with all of this? Do you just stick with VS 2015 and not even think about upgrading to 2017 or 2019?
by ebergerly
November 17th, 2019, 1:51 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Okay, well after finally finding where I can download VS 2015 and downloading and installing it, and downloading and installing CMake GUI, and realizing I also need to need to download and reference in CMake something called "DevIL" (WTF is that??), and spending forever trying to figure out what to ...
by ebergerly
November 17th, 2019, 12:51 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Thanks all. FWIW, after many months of bouncing around trying to figure how best to learn about and implement my own ray tracer, and being continually frustrated by the complexity of getting all the pieces hooked together, I've now decided to try NVIDIA's Optix ray tracer stuff. It seems to be a who...
by ebergerly
November 15th, 2019, 7:49 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Thanks much. I was also looking at the CUDA/Direct3D interoperability stuff, which is a whole new world of headache. I was thinking maybe I can integrate the Chili framework Direct3D stuff to draw the rendered image. But there must be an easier way. Heck, I have a framebuffer from the CUDA render, t...
by ebergerly
November 15th, 2019, 1:27 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Okay, so I checked the CUDA/raytracing code and it does all the intensive raytracing calcs on the GPU and places the rendered image in a framebuffer fb[ ]. Then the final step is a couple of nested for( ) loops to place each pixel RGB value from fb in a PPM file using cout. So I'm thinking I'll try ...
by ebergerly
November 15th, 2019, 12:35 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Yeah I think you're right. So maybe my next step is to take the existing raytracing code with CUDA added (but prints pixel values to a ppm file rather than to a window), and try to integrate the Chili framework. Maybe have GenerateFrame do all the raytracing calcs via CUDA on GPU, then the ComposeFr...
by ebergerly
November 15th, 2019, 12:38 am
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

It looks like the Chili framework creates the device and swapchain (Graphics.cpp), so I'm thinking the GPU is already set up for rendering. But if I look at Task Manager I don't see any/much GPU activity on any of the engines while rendering. But there is SOME activity in the GPU 3D engine that goes...
by ebergerly
November 14th, 2019, 9:38 pm
Forum: Everything
Topic: Raytracing
Replies: 25
Views: 9236

Re: Raytracing

Thanks. Yeah, my goal here really has little to do with performance, and more to do with learning: figuring out how to implement a raytracer, how to do a GPU graphics pipeline with a raytracer, and how to implement a GUI to allow me to control the scene contents in real time. I have pretty much zero...