Rebirth 3D Game Engine News
- Posted by Mike The Spike <mtsreborn at yahoo.com> Apr 01, 2001
- 527 views
Some news about RB3D... Stuff I Implemented From Yesterday On Now; - Cool New DX 7.0 Support! Stuff I Am Coding On During This Post; - (*cool!*) Lens Flares - Hardware Accelerated Sprites - Polygon-Perfect Collision Detection - Win32lib Clone in C The coolest and biggest change after all this time I didn't touch the engine, is Polygon Perfect Collision Detection. Before it was using a (faster) cubic method, wich means that if you have two 3D spheres, and they collide, it will be perceived by the engine asif they were two boxes that intersected. Not very nice. With the new, a bit slower method, if you have two spheres that collide, you can pin-point the exact positions of the polygons from the two spheres that collided. This means that your 3D characters can walk on mountains and go up and down the hills. I needed teh engien for a Quake-like 3D FPS, so I didn't reckon on my character walking on anything but flat ground, stairs and slopes. Remember now, those that think: "WHO CARES!", that this is not a Direct 3D wrapper like Exotica, but a 3D game engine. Allso the acronym stands for: "Rendering Engine with Bilinear Intersection Testing Heap" (The 'B' used to stand for Bicubic...) It's a game engine and not a rendering engine. The Win32Lib clone comes from the fact that Win32lib programs call an infinite lopp called WinMain. The engine requires you to call eighter Render(), wich is an infite loop, or Update(), wich you must call in an infinite loop of your own. As you can't automatically add a call to Update() to Win32lib's WinMain(), I decided it was best that I translated Win32lib to C, added the extra call to WinMain(), and give the dll you must link to a bit more value than 3D rendering alone. Besides, this way I can update the DLL with new versions of Win32lib, so all you have to do is download a new version of the DLL, instead of scavaging through the imanese amount of different Win32lib versions, and all those include files that keep being added to Win32lib, etc. And hey, for those without the complete edition Translator, atleast you now get a version of Win32lib that is faster. Not to mention that C/C++ coders can use it too (For personal issues, I am placing a lock that does not allow VB programs to use the DLL. VB sucks, and should keep on sucking.) Ah well, just a few more lines of code I guess... Mike The Spike >