Page 1 of 1

OpenGL-16kb Intro Sourcecode

Posted: Thu May 01, 2003 1:16 am
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 ;))

Posted: Fri May 02, 2003 1:40 pm
by Danilo
Nice, traumatic !! :D

Posted: Fri May 02, 2003 2:59 pm
by Fred
Works perfectly here :). Any change to get the font bitmap ?

Posted: Fri May 02, 2003 3:34 pm
by traumatic