Results for "Author: james dougherty"
This is a tutorial to help beginners understand 2D collision detection. Its not much, but if your a beginner you'll like it. Shows images and explains everything. Covers brute force and 2 bounding sphere examples. Enjoy! Please leave feedback.
This XMath class is a must have. It handles Collision Detection Functions (Distance, Object-Object Collision Detection, etc.),Color Functions, Vertex Functions, Matrix Functions, Vector 2 Functions, Vector 3 Functions, Vector 4 Functions, Plane Functions, Quaternion Functions, Actual PI, Inverse PI, 90 Degrees, 180 Degrees, 270 Degrees, 360 Degrees, Radiant, Epsilon, Huge Single, Radians to Degrees, Degrees to Radians, much more.. I dont care about votes but I would like some feedback please. FREEWARE...have a look :) Enjoy -James
This is a package I put together to help ease programming. This is a very VERY useful package. Look at the screen shot to see what all this one includes. This is package 1 and there will be more on the way if everyone likes this one. I will make updates often on this as I make updates on these systems in my engine. When I get more time, I will upload some demos for some of these. It also includes a PDF that helps explain what the different systems do. This package was ment for the kernel and systems part of an engine (A very little part) the next one will start on the graphics side. Systems Included In Package 1: Advanced Window System (Kernel Internal) Advanced Window System (Kernel External) Deprecation System Error System Log System Math System (Updated) Memory Controller Registry System Resource System Resource Creator Sound System String Files Timer System Version System This took me a long time to create and put together. If you like it or find it useful, please leave a comment and vote. It will be appreciated a lot. Thank You. Hope You Like This Package! -James-
UPDATED: Added an SQL injection prevention method, Added more documentation, and a few more minor changes. This code will show you how to prevent header injection, the method GET (only allow POST from a form), unauthorized domain access, and invalid agent access. You see a lot of SQL injection prevention methods and what not, but nothing to this level. This is a first on PSC I belive. If you like it please leave some feedback and vote.
This is a cool particle system. See screenshot. Fire(candle flame), energy, sparks, gun fire, fire flies, crazy 8, and circle. It also shows how to do a simple GUI with openGL. If you like this please vote or leave a comment. They are always welcome. -James- BTW-If you don't have an OpenGL video card this demo will run slow. (GeForce 4 64mb - 76FPS, my laptop - 22FPS)
This Visual Basic version was popular so I decided to upload the C++ version. This is my first C++ submission. Hope everyone likes it. This math library handles 2D Vectors, 3D Vectors, 4D Vectors, 3x3 Matrix, 4x4 Matrix, Color, and Quaternions. The 2D Vectors, 3D Vectors, 4D Vectors, and Color all have linear and hermit spline interpolation. Also, the vectors handle easy/advanced collision detection routines, advanced quaternion and matrix functions, and much more. This is 100% worked out math functions, no calls to DirectX or any other API's. (*Other than the normal Cos(), Sin(), Sqrt(), etc*) Not every functions has been tested yet, so if there are any problems please let me know. Enjoy this and learn! -James-
I needed a utility for my new game and Microsofts didn't work the way I wanted so I made my own. This one is better in many ways. First, you don't have to create a window or window procedure every time you make a new program, it does it for you! Second of all, it has fast set/get pixel for custom surfaces (ASM). It can also Auto Grab color keys so you don't have to worry about getting the right color key or not. A lot more... This is only version 1 and more updates will come. I uploaded this for hopes it will help someone. Enjoy it! -James-
This will obtain the Microsoft Windows version on the platform the program is executed on. It supports the newest versions too. Feedback is appreciated. Note that Blackcomb will change as it is just their code name for that Operating System.
This will compute CRC16 and CRC32 checksums for any file, string, or byte array! There is also both the static and dynamic methods for computing them too. The CRC32 checksum is blazing fast and possibly one of the fastest on PSC. (You can see in the screenshot a 100 meg file took but a few seconds) The CRC16 is not highly optimized as I am not going to use it. I just wrote this for the CRC32 checksum and added CRC16 just for giggles. This is going to be used in a commercial product so enjoy. The code is pretty straight forward so it is not heavily commented. I have not posted here in a long time due to business trips, but I thought I would post this for everyone. Please leave feedback and vote for me. Thanks Everyone.
This math library handles 2D Vectors, 3D Vectors, 4D Vectors, 3x3 Matrix, 4x4 Matrix, Color, and Quaternions. The 2D Vectors, 3D Vectors, 4D Vectors, and Color all have linear and hermit spline interpolation. Also, the vectors handle easy/advanced collision detection routines, advanced quaternion and matrix functions, and much more. This is 100% worked out math functions, no calls to DirectX or any other API's. (*Other than the normal Cos(), Sin(), Sqrt(), etc*) This was all done in C++ and made into a .dll for speed considerations. There are 2 main reasons I made this. 1) For my game engine (*UltimaX*) that is being totally redone 2) For educational purposes. I wanted to learn C++ a little better and I thought this would be a great learning experience, and it has been. Thats why I posted it, so you can learn from it too. Not every functions has been tested yet, so if there are any problems please let me know. Enjoy this and learn! -James-
This will take a height map, lower altitude map, and a higher altitude map and blend them. It will output a rough map thats used for CLOD terrain engine, a shade map, a blend map, and a shaded blend map. For more information read the readme.txt. If you have any questions, feel free to ask. Enjoy this :)
This is a simple encryption routine I call UXC. I made it for my game files. Please give it a try!! Try to crack the sample .txt file and if you can post what it says here :) I want to see how hard or easy this is to crack so I can update it. Enjoy! Please vote and let me know what you think so I can improve it.
I'm trying to add physics to my game engine and I thought I would share it. It uses Mass, Gravity, Wind, kinetic energy, Friction, Coefficient Of Restitution, Velocity, and more. When the balls collide they transfer thier energy and react like they would in real life. Please vote for this one. I'm giving you part of my game engine to. Leave comments please. Any suggestions are welcome for they can only inprove my engine and knowledge. This is Part 1. Part 2 is a Pool Ball Demo and Part 3 is a Spring Demo. After I learn physics I'm going to learn AI. So keep your eye's out :)
This program will let you program Pixel Shaders. The program its self is pretty easy, but programming pixel shaders is kind of tough. Considering it is asm. I made it so I could learn Pixel Shaders for my RPG game, to get rid of the seams in the textures. It comes with 13 shader examples (Samples button). In version 2 I want to make it more user friendly and try to make it easier to understand the functions. Please leave some comments and if you like it, please vote.
This version revised some poor logic code, now has 35 samples, list most of the funtions used in pixel shader programing, more textures can be loaded, more stable, and bug fixes. Please note - most video cards do not handle pixel shaders yet. If your does not, the result will stay black. This program has been tested on - Winows ME, 900 mhz, 128mb ram, 64 mb GeForce 4. Thats it. Please leave comments and suggestions. If you like it please vote. My next task is a pixel shader lab. -Enjoy-
I got thinking... What good is collision detection tutorials/demos if theres no tutorials/demos on bounding volumes? Thats the heart of 90% of the collision detection algorithms. This will show how to compute bounding box's and bounding spheres for an object. It also shows how to compute the distance from the center-center of the object and the edge-edge distance (Collision Distance). I made it in hopes this will help someone understand collision detection better. If it helps you or you like it please vote and please, please leave some feedback. Thanks everyone. -James-
This is a major improvement from version 1. When compiled it can change the bit depth in 0.02-0.08 milleseconds! Version 1 supported 1, 4, 8, 24(32k), 24(64k) bit depth's. Due to feedback I decided to add 15 and 16 bit depth's and redo all the code. The code is a lot cleaner, organized, and optimized to remove unnecessary repetition. MUST SEE! Please leave feedback, if you like it please vote. Enjoy! -James-
I have had a lot of e-mail recently on how to make and reference c++ .dll's in VB to optimize their game engine. This is my solution. A 27 Page Tutorial!! Also a DX demo for the C++ .dll and how to reference demo in VB. Must See! Hard to describe fully. The tutorial takes you step-by-step with screen shots. This took a while to make so if it helps you or you like it please leave some feedback and vote. Thank You... -James-
Thanks to Robert Rayment the VB version of TaylorDistance3D works right now. This is another way to test for distance if you don't like to use the Sqr() Function. Its the Taylor/Maclaurin Series. The only problem is theres a Max Error of 3.5% in 2D and a Max error of 8.0% in 3D. So if you need exact accuracy don't use this. This can also be found in Andre LaMothe's Book. "Tricks Of The Windows Game Programming Gurus" Enjoy. -James-
Awesome! Look at screenshot. Making it to be programmer friendly.. Features include - 2D Sound, 3D Sound, Midi(with soundFX's), SoundFX's, Transparent objects(even .x files),Partial Collision Detection(lol need to fix landscape Collision Detection - you climb up a hill when no hill is there :)) animated water, animated enviroment sphere, Object Filters(Dark Mapping, light mapping, gloss mapping, detail mapping, and much more), Enviroment Filters(Anistropic, Bilinear, ETC.) To much to list.. must see.. This is beta. Not complete yet Sorry for not commenting, I will on next version(I wanted to get it uploaded) PLEASE VOTE!!!! www.Bright.net/~james-d-21/ (there are no advertisments, Just download link)