Search found 3745 matches

by albinopapa
June 24th, 2019, 7:57 pm
Forum: Everything
Topic: Got side tracked...again
Replies: 1
Views: 17

Re: Got side tracked...again

Reading up on some acceleration structures which are ways of reducing the number of ray-triangle intersection tests. It seems to me that if you have a static scene and as mentioned in the previous post moved the camera instead of using the camera as a reference point, these would be pretty useful. H...
by albinopapa
June 23rd, 2019, 7:35 pm
Forum: Everything
Topic: Got side tracked...again
Replies: 1
Views: 17

Got side tracked...again

With all the commotion over real time ray tracing and a few of the members of the board have taken a crack at it I figured I'd take a stab at it for shits and giggles. I haven't gotten too far, just copy/pasted some Ray/Triangle intersection code and some code for calculating rays from the camera. I...
by albinopapa
June 19th, 2019, 4:55 pm
Forum: Everything
Topic: Tutorial 20 pt.1:Fart annoyed curious on bool and void
Replies: 2
Views: 67

Re: Tutorial 20 pt.1:Fart annoyed curious on bool and void

What is the message for the assertion or what condition causes the assertion? Functions that have a return type other than void such as bool should return a value ( true or false in this case ) that you can assign to a variable or use directly such as [ if( ball.DoWallCollision( wall ) ) ] and funct...
by albinopapa
June 18th, 2019, 4:14 am
Forum: Everything
Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
Replies: 7
Views: 129

Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem

By the way, these have been the most difficult for me to find as well, especially if it isn't my code, but the clue is the "stack corruption" as this will always have you looking for out of bounds access either through C array or pointer arithmetic.
by albinopapa
June 18th, 2019, 4:12 am
Forum: Everything
Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
Replies: 7
Views: 129

Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem

imagine List[] starts at 0x0000 and ends at 0x0032 and db starts at 0x0033. You read or write past the end of List[] and what get's corrupted? db since you accessed it through another variable.
by albinopapa
June 18th, 2019, 4:06 am
Forum: Everything
Topic: C++ Finale - Traffic game
Replies: 2
Views: 80

Re: C++ Finale - Traffic game

My thought was to wrap the city blocks around as they would be the same, each north/south street would be a vector of automobiles that are randomly generated. As one north/south street leaves the right edge, move ( std::move ) each later vector to the previous vectors, then in the last one start spa...
by albinopapa
June 16th, 2019, 12:45 am
Forum: Everything
Topic: The problem is space
Replies: 5
Views: 126

Re: The problem is space

Yes, tools/ option/ text editor/c++ / spacing
by albinopapa
June 12th, 2019, 10:05 pm
Forum: Everything
Topic: Procedural Universe Sim using OpenGL and OpenCL
Replies: 5
Views: 114

Re: Procedural Universe Sim using OpenGL and OpenCL

Yeah, OpenCL and Cuda are the only two GPGPU languages/apis that I know of. Vulkan is really only used for graphics and from what I gather has limited but growing support for compute or gpgpu workloads. DirectX also has compute shaders, didn't know OpenGL did as well. Unfortunately, it seems that C+...
by albinopapa
June 12th, 2019, 5:51 pm
Forum: Everything
Topic: Procedural Universe Sim using OpenGL and OpenCL
Replies: 5
Views: 114

Re: Procedural Universe Sim using OpenGL and OpenCL

Oh, btw, the screen shot looks very nice.
by albinopapa
June 12th, 2019, 5:51 pm
Forum: Everything
Topic: Procedural Universe Sim using OpenGL and OpenCL
Replies: 5
Views: 114

Re: Procedural Universe Sim using OpenGL and OpenCL

however at some point the plan is to shift over to an RTX API for ray-tracing since AMD seems to be phasing out OpenCL.
I'm a bit confused on your reasoning here.

Perhaps look into something not proprietary and is still cross platform.