Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiny OpenGL "3D Engine" (Only 550 code lines)
#1
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
Reply
#2
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..*
Reply
#3
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.
Reply
#4
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 Smile
Reply
#5
Tight! Big Grin
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#6
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.
i]"But...it was so beautifully done"[/i]
Reply
#7
:o Big Grin Thats cool!!!!
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)