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.

Geek Culture / From DarkBasic to OpenGL!

Author
Message
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 20th Feb 2004 06:22
Wow, I absolutely love OpenGL! The speed, the ease of coding, C++ enviroment!

I love the quads, GL_Lines rox! I really recommend this language to anyone!

Neophyte
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 20th Feb 2004 06:54
Uhh...OGL isn't a language. Its an API.

Anyway, glad you've found something you like.

On a related note: You may or may not like this because it isn't a C++ coding environment but BASIC4GL is a free basic interpreter that allows you to use OpenGL. Its not at fast because it is interpreted, but it is pretty easy.

You can find it here:
http://www.basic4gl.net/
A new version has just been released for it as well.
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 20th Feb 2004 11:00
Nice to see you like it, Pirate--- I made an OpenGL game last year for one of my courses at the University. It was yet another game based on the Tron lightcycle races


http://www.jeku.com/audio/
Ancient Chinese proverb: Man who runs behind car gets exhausted.
newbi 2 basic
21
Years of Service
User Offline
Joined: 20th Apr 2003
Location: Inverness, Scotland
Posted: 20th Feb 2004 11:44
Isnt there someone making DB compile and run in OpenGL?

I remember seeing an example somewhere
Preston C
21
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 20th Feb 2004 13:23
Quote: "Isnt there someone making DB compile and run in OpenGL?

I remember seeing an example somewhere "


That was the plug in DBGL. I asked about it a couple weeks ago. Basically it lets you utilize OpenGL with your DarkBasic DirectX programs. They have to run side by side though, so no Sync On for the DB App

Cheers,
Preston


Intel Celeron 1.3 Ghrz 512MB Ram NVIDIA GeForceFX 5200 128MB
Jonny_S
21
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 20th Feb 2004 18:27
Quote: "On a related note: You may or may not like this because it isn't a C++ coding environment but BASIC4GL is a free basic interpreter that allows you to use OpenGL. Its not at fast because it is interpreted, but it is pretty easy"


Yeh its coming along nicely now I'm a strong BASIC4GL supporter! you should all visit the forums! it needs populating

Supermonkey - The crime gifhting sex god monkey!
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 20th Feb 2004 18:29
I find OpenGl appealing at the customer support and appearance level. It seems to be more well behaved than DirectX. The cross platform feature is nice, but not a requirement. The down side for me is that aside from C++ there is no friendly and fast alternate languages. I've played with Basic4GL and several Java/VRML/OpenGL solutions and was disappointed. After I dropped WildTangent due to licensing issues, I spent a year trying out other game dev languages and APIs. DBP turned out to be the most bang for the buck.
--
TAZ

Neophyte
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 20th Feb 2004 21:37
@zircher

"The down side for me is that aside from C++ there is no friendly and fast alternate languages. I've played with Basic4GL and several Java/VRML/OpenGL solutions and was disappointed."

You may be interested to find out that I'm writing a compiler for Basic4gl at the moment so when I get finished the speed for it should be boosted tremendously.

However, I'm in the earlier stages of writing the compiler at the moment so it'll be a while before I get finished.
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 20th Feb 2004 22:38
Give me a hollar if you need a beta tester.
--
TAZ

Neophyte
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 20th Feb 2004 22:40
@zircher

"Give me a hollar if you need a beta tester."

Will do.
Gery
20
Years of Service
User Offline
Joined: 24th Jan 2004
Location:
Posted: 20th Feb 2004 23:21
hmm... i have somewhere the ORIGINAL(!!!) shi-tech both software and hardware accelerated opengl api! But i have no help file

...and then the evil hungarian terrorist killed the peacefull shootin' soviet soldiers...
Elleomea
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 20th Feb 2004 23:36 Edited at: 20th Feb 2004 23:36
Quote: " Isnt there someone making DB compile and run in OpenGL?

I remember seeing an example somewhere "


Besides DBGL there was the DB->CPP/OGL/SDL converter that I was working on. A darkbasic program put through the converter and then running natively in Linux can be seen here: http://mainframe39.mikeasoft.com/junk/pasteimage.jpg

The commands it was able to convert were: Hide Mouse, Show Mouse, Sync, Do, Loop, Set Display Mode, Put Pixel, Load Image and Paste Image.
But then I got distracted and never did any more on it .

How much ham could a hamster stir, if a hamster could stir ham?
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 22nd Feb 2004 07:03
I'm just starting to get into C++ programming(Making a text adventure!), and it's funny to see myself going down the same road again as I did with DarkBasic Professsional.

Anyway...

I'm not sure on which API to go with. I have a nice big book on DirectX, that I plan on looking over in the next week or so, and then I'm curious to try OpenGL.

Multi-platform is the key for OpenGL(I also hear an easy learning curve also). I understand OpenGL does 3D, but what are the alternatives for Sound, multiplayer,etc. compared to DirectPlay or Direct Input? That's one of the reasons I'm liking the DirectX package. It's all together.

So, anyone mind posting some links of what OpenGL works well with. (Meaning sound ,multiplayer,Draw,etc.)
Would be much appreciative, as I'm very new to this higher level development.



A book? I hate book. Book is stupid.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Feb 2004 12:15
You want to look at either the SDL or ClanLib libraries, or use my interface library and stick with DBPro

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 22nd Feb 2004 18:29
Thanks for the links IanM.



A book? I hate book. Book is stupid.
Neophyte
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 22nd Feb 2004 18:36
@yellow

"So, anyone mind posting some links of what OpenGL works well with. (Meaning sound ,multiplayer,Draw,etc.)"

OpenAL does audio. Its used in the Unreal engine.

http://www.openal.org/
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 22nd Feb 2004 19:43
Thanks for the link Neophyte.



A book? I hate book. Book is stupid.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 23rd Feb 2004 17:16
For those who use SDL, anybody know how to rotate an image?
I know how to rotate an image in Euphoria, but in this case,
will I have to peek every RGBA value and rotate that? That
wouldn't be very fast/easy...

(1 + 2 + 3 + 4)^2 =(1^3)+(2^3)+(3^3)+(4^3)
100=1+8+27+64
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 24th Feb 2004 14:38
There was also an announcement on GameDev.Net for http://glfw.sourceforge.net/ - I haven't looked at it yet, but the write-up doesn't say anything about sound

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-09-21 12:03:32
Your offset time is: 2024-09-21 12:03:32