Search found 41 matches

by JDB
May 24th, 2016, 1:57 pm
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Re: Rendering Polygon Scenes With Ray Tracing

I've currently got it up to 0.38 fps just by changing a few function parameters and reducing the number of solid copies. Some of the function parameters were by value, and where possible changed to const reference and reference when needed. What were some of those functions? I tried to use referenc...
by JDB
May 4th, 2016, 7:49 am
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Re: Rendering Polygon Scenes With Ray Tracing

There are 2 main places linked lists are used. The first is to generate the 2D optimization structure. Seeing that we never know how many surfaces a given ray might intersect, it's a very bad idea to preallocate an array with a limited depth because the ray might miss the first few objects in the li...
by JDB
May 3rd, 2016, 7:18 am
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Re: Rendering Polygon Scenes With Ray Tracing

No problem. I would like to know if you have actually gotten the OpenCL version to run. I'm having a bit of trouble getting multi-threading working because all the variables are members of Game instead of locally scoped. Yeah I wanted to avoid juggling a bunch of variables between all the functions...
by JDB
May 1st, 2016, 3:37 am
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Re: Rendering Polygon Scenes With Ray Tracing

Btw, ran the code, had to change a few things to get it running like removing the OpenCL.lib from additional dependencies and the min/max functions weren't being defined so had to add #include <algorithm>. Sorry about that, thought I had removed all the OpenCL dependencies. I did manage to get Open...
by JDB
April 30th, 2016, 2:15 am
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Re: Rendering Polygon Scenes With Ray Tracing

Oh, man, I want to SSE and multithread the crap out of that engine so bad. I know you want to port to OpenCL and that would be awesome as well. I like pushing the CPU to get a good idea on just how much of a difference there is between CPU and GPU. I've heard 10x GPU vs CPU, but not sure if that ta...
by JDB
April 29th, 2016, 4:36 am
Forum: Everything
Topic: Rendering Polygon Scenes With Ray Tracing
Replies: 20
Views: 8481

Rendering Polygon Scenes With Ray Tracing

Hey guys, a few months ago I posted a thread about rendering point cloud objects. Since that time my knowledge of 3D rendering has vastly improved and I want to take the time to share some of my insights and discoveries before I forget all of it. I was going to post a long thread but I decided to pu...
by JDB
August 27th, 2015, 2:16 pm
Forum: Everything
Topic: SSE Tutorial (Side/Sub) Series
Replies: 13
Views: 4901

Re: SSE Tutorial (Side/Sub) Series

Yah man a SSE mini-series would be super awesome, always need more speed.
by JDB
August 15th, 2015, 7:33 am
Forum: Everything
Topic: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with source)
Replies: 27
Views: 10460

Re: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with sou

Yeah that alpha upload is working for me, very nice. Lots of things broken though.
by JDB
August 13th, 2015, 10:41 am
Forum: Everything
Topic: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with source)
Replies: 27
Views: 10460

Re: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with sou

Wont run for me, just crashes when I try to start it. I'm using an AMD FX-4300 Quad Core.
by JDB
August 10th, 2015, 10:57 am
Forum: Everything
Topic: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with source)
Replies: 27
Views: 10460

Re: Pray Engine: 3D Point-Cloud Ray-Tracing Engine (with sou

The only reason I would use CUDA is because it's the only GPU compute language that seems to make intuitive sense to me and it should also be very fast.