Qbasicnews.com
December 09, 2019, 04:28:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tiny OpenGL "3D Engine" (Only 550 code lines)  (Read 3629 times)
Tio Bit
Member
*
Posts: 30


« 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
Logged
Z!re
*/-\*
*****
Posts: 4599


« Reply #1 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..*
Logged
fsw
Guru
**
Posts: 251


« Reply #2 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.
Logged
Tio Bit
Member
*
Posts: 30


« Reply #3 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 Smiley
Logged
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #4 on: April 21, 2005, 06:31:55 AM »

Tight! Cheesy
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Mitth'raw'nuruodo
Ancient Guru
****
Posts: 515



WWW
« Reply #5 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.
Logged

i]"But...it was so beautifully done"[/i]
Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« Reply #6 on: April 24, 2005, 01:19:25 PM »

Shocked  Cheesy Thats cool!!!!
Logged

Kevin (x.t.r.GRAPHICS)

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!