PDA

View Full Version : Small 3D Art Gallery I made



BobMcGee123
07-06-2005, 06:03 PM
I made this small 3D art gallery in my senior year of high school. The engine is something I had started on in my junior year of high school, and has since gone through many permutations (I no longer have the exact source for this project as I added and removed various features). Basically, I needed a fine arts credit, and I had kind of a hippy teacher in my computer class. We agreed this would be a neat idea.

The gallery is just a small display of works by some of my favorite artists, including:

-Michael Duchamp
-Rene Magritte
-Kafka (a writer, but I liked his little doodles in the chapters of 'The Trial')


The actual engine consists of loading and rendering a Quake3 BSP with static colored lights. Collision detection is done with Quake3 brushes.

I am most proud of the collision detection because I read, understood and implemented the Nathan Ostgard (http://www.devmaster.net/articles/quake3collision/) tutorial. I was then able to actually make it work all of the time, as the algorithm completely falls apart at high framerates due floating point inaccuracies because as the framerate increases the movement each frame gets much smaller, and the uncertainty in measurements makes it impossible for the planar math to work. The gametutorial's BSP collision detection code doesn't fix this problem by the way :)

Controls:
Same as any 3D game, WASD to move around, mouse to look. Press T to fire a little ball which bounces around the world (has an elasticity index of about .5). Note you may get stuck on the ball as it spawns in the same area as the camera's bounding hull, so just hit T once to purge it so you can walk around.

Source:
As I said earlier, I don't have the source for this project anymore. I've since heavily modified and adapted the engine, and the source for this particular application (apart from my engine workspace) is gone. I can assure you this is NOT malicious code, however, if you don't trust it/me then simply do not download it.

Other:
-I did an awesomely POOR job of backend compatibility. There's a myriad of reasons why this might crash on different systems.
-The download size is about 9MB and includes textures, a BSP, a song (fur elise by Beethoven), and some other data.
-Has a skybox (however the seams are visible)

http://ihatenature.thejefffiles.com/Programming/ArtProject/