Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / OpenGL Framework for DarkBasicPro

Author
Message
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 28th Feb 2005 14:24 Edited at: 28th Feb 2005 14:34
Hello, I'm releasing my framework at a way prealpha 0.00.1 stage so you guys interested can play around.

http://www.ajtaji.ath.cx/basicgl.zip

Its 50k, and countains a readme to tell you how to opengl in Pro.

Follow those directions or it won't work. It also contains a sample program to get you started.


There are bugs I'm sure. And there is a reason why there is only 1 include file.(The compiler just can't handle it, or the editor, I don't know which)

So enjoy and post your bugs and gl works here.


P.S. This server isn't always on. Its a spare and it overheats and shuts down. And is not public domain. Its only for DarkBasic use.


Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 2nd Mar 2005 00:16
Here is some sample gl to make a wavy matrix.




Make sure you don't call window twice. Currently the dll will try to create another window and will go into a infinate loop.


TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 2nd Mar 2005 03:38
Trying now.

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 2nd Mar 2005 20:31
Cool. Thanks for the post. I know its not much, but was still alot of work.

Tonight after work I'm going to try to open up the texture loader so it can be called from Pro. Currently it supports bmp and tga/w/alpha, so you can load new textures. I've also solved the include problem and the includes are now not part of your gl program. If you got any functions you built in pro and would like them added to the dll then let me know. I.E. loading a .x model.

I've also tested the dbproFileDebug.dll, and it works with the gl framework. You can load a file into memory by using make memory and *ptr's. You can also load your own textures this way. gl is RGB. BMP is rbg, you must swap the b's and g's to use bmp.


Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 2nd Mar 2005 23:13 Edited at: 2nd Mar 2005 23:15
so.. does this mean we get to use ogl rendering instead of dx??
i remember there was a something that turned dbpro into ogl rendering instead of dx.. or was that a dream?

yay! i knew it wasnt a dream
http://forum.thegamecreators.com/?m=forum_view&t=13851&b=8

Login to post a reply

Server time is: 2024-11-23 00:27:27
Your offset time is: 2024-11-23 00:27:27