OpenGL-16kb Intro Sourcecode

Developed or developing a new product in PureBasic? Tell the world about it.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

OpenGL-16kb Intro Sourcecode

Post by traumatic »

some people asked me to release the source of the opengl-demo I posted a long time ago
(viewtopic.php?t=2868).

well, here it is:
http://files.connection-refused.org/pbtest_src.zip

be warned: this is pb3.2 source, passing doubles to ogl has been done
with the 'doubles-library' (pb resources site).

afaik compiling this with 3.6x crashes the compiler but it shouldn't take long to fix this.

...and if you wonder why almost all float values are passed via temporarily writing them
into variables: back in version 3.2 there was a nifty bug in purebasic. it only worked like this...

have fun! (if you ask me, better don't read my code ;))
Good programmers don't comment their code. It was hard to write, should be hard to read.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post by Danilo »

Nice, traumatic !! :D
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
Fred
Administrator
Administrator
Posts: 18207
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Works perfectly here :). Any change to get the font bitmap ?
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Good programmers don't comment their code. It was hard to write, should be hard to read.
Post Reply