Hello.
So, let me start with 3D pong room. I have the collision detection working that I specified in an earlier post. I don’t have any reflection physics or rotating paddles or anything like that yet, but the groundwork is definitely there. I also messed around and wrote a depth of field shader. I want to stress that this was all things that I did not read on, but coded from line one by myself without tutorials.  I am going to get the source code on the site soon.
I recently bought a book entitled “Essential Mathematics for Games and Interactive Applications”, which is already helping me out with efficient algorithms. I’m going to spend spring break (next week) making sure I can get my code in tip top shape.
I spent most of last week getting prepared in my schoolwork for leaving 2 days for GDC. So, I went to GDC and it was a lot of fun. It’s where I bought the book. I got back on Sunday, all energized to make games. However, I caught the stomach flu Sunday night and have practically been unconscience till Tuesday afternoon. Now that I’m walking around, I’m ready to get back at coding.
Here is a screen-shot of that depth of field. It still needs work, I know. But, I do know how to fix it. So, that will be up soon.
Looking back at 3D Pong Room, there was a lot of very basic things I learned. Good programming practices is one thing, but I’m referring to game development. I think the main misconception that I had going in was that just because I could visualize exactly how it worked didn’t mean that implementation would be that easy (probably because I played with Klik & Play as a kid). I also learned a lot about how the program has a lot of dependencies on the system it is currently running. You don’t really have to worry about resolution and time between update calls affecting the functionality when your in web applications development.
I talked to some people recently about the game development process itself recently, and it made me realize that I haven’t really “created” a lot in 3D Pong Room. Let me list the things I sat down and created from line 1.
The rest of the content was read from a book or website. There is quite a bit of it that is heavily modified; Things that made it convenient for me, such as allowing me to create a grid from the quad class.
So, what I am going to do now is try to “Create” more. The next feature I am going to add to 3D Pong room will be the ability to rotate the paddle so that you can angle the ball rather than just rely on friction. That means that bounds checking isn’t going to cut it anymore. I came up with a collision method Thursday on the way home from work.
The idea is that the sphere would cross into the Axis-Aligned Box of the paddle, then test to see if it crossed the hyper-plane of each surface of the paddle. Here is a 2D visualization:
There are flaws to this method, or at least my current implementation. I’m still going to do research, since there is no since in reinventing the wheel, but I will make sure that I understand them, then build on them from there.
Also, if I am able to get this working well, I will update the AI so that it will angle the ball towards the opposite end of the room.
I will keep the site updated.
Hello.
Well, I compiled 3D pong room and made a setup, which I put in my portfoli0. However, due to my current lack of time problem (it’s midterms here at ASU), I am not able to test it on any machines. What I can say is that it works on my 2 machines, both of which have the .NET framework & DirectX 10 installed. My mom, however, has DirectX 11 and wasn’t able to install it properly.
If you attempted to download and run the game, only for it to not work, I am sorry. As soon as I have more time available, I will fix any bugs. It is in beta after all, right?
Hope everything is well.
P.S. Good luck to Vince Zampella and Jason West.
So, I cleaned up the code, made it much more reliable, and added a few new features, such as themed sky-boxes. I sent a copy to my mom, and she is officially the first “Beta-Tester” for the game.
As far as adding audio, I tried! However, X2audio is proving to be somewhat of a hassle to learn right now, and Calculus III test is looming.
Anyways, I’ve also added all the source code into a zip and put it on the portfolio side. If there are any problems, send me an email.
hello@mynameismatt.net
Did a lot of work on code clean up today.
Changed it so that all variables for HLSL are in my effect namespace. That way, I don’t have to keep making variables. Also, made it so that the scene is rendered into a quad, which is then sent through a post processing shader. That resulted in me playing around with code I got from nVidia & GPU Gems 3.
Motion BLUR! This is not going over smoothly with the mouse, however.

3D PONG ROOM is now in the portfolio!
Okay! I now have the basics for a game here. Pseudo-Pong-Physics? Check. Menu? Check. Settings? Check.
The Code isn’t the prettiest it’s ever been, but here we are. I am working on getting it efficient before adding sounds. All of it is included in the installation.
There is also one component that is due for changing. That is the hole behind player 2. It will be a mesh of some sort and not an ugly lo-res sky box.
But, let’s consider this release…alpha.