Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: Tio Bit on April 20, 2005, 08:50:50 PM Hi 2 All!
I have uploaded here : http://fbtk.qbtk.com/phpBB2/viewtopic.php?t=275 A tiny example of a OpenGL "3DEngine" (Only 550 code lines). Its extremely simple but I believe it can be interesting to show how they can be builded. Tio Bit Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: Z!re on April 20, 2005, 09:17:16 PM I love your openGL stuff, keep it coming!
I havent had time to check it all, but I sure will when I decide to learn oGL. Keep up the good work ^_^ *11 thumbs up, err wait..* Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: fsw on April 20, 2005, 11:42:27 PM A error message came up saying tiff.dll not found.
Didn't find such a dll (on the net) but a comment (on a different forum) that tiff.dll is actually statically linked into SDL_image.dll. Looked on my hd and found a SDL_image.dll that has 283834 bytes (your SDL_image.dll is 56565 bytes). After changing the files your exe worked. A bit slow though, but it could be my laptop (Duron950/256MB-ram/8MB-gfx). I'm not a gamer, but I will study your work anyway. Thanks. Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: Tio Bit on April 21, 2005, 12:06:58 AM Updated to include the missing tiff.dll (dependency of SDL_Image library).
In my Notebook also it runs a lot slower than on Desktop; probably like u say because of the. video card Edit : Maybe u can comment off the line DO WHILE SyncTimer(10) and his corresponding LOOP; Not sure but maybe it can speed it up a bit., also, you can use left shift to run :) Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: relsoft on April 21, 2005, 06:31:55 AM Tight! :D
Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: Mitth'raw'nuruodo on April 24, 2005, 12:29:16 PM Very cool. Though you might want to use look up tables for your sin + cos so you don't have to cal them every time you use them in your functions....just a thought.
Title: Tiny OpenGL "3D Engine" (Only 550 code lines) Post by: Rattrapmax6 on April 24, 2005, 01:19:25 PM :o :D Thats cool!!!!
|