GLBasic forum

Main forum => GLBasic - en => Topic started by: backslider on 2013-Mar-22

Poll
Question: Who of you use 3D in GLBasic games and if not why?
Option 1: I use 3D in GLBasic games!
Option 2: I don't use 3D because there are too few models for free and I can't model
Option 3: I don't use 3D because I don't understand it
Option 4: I don't use 3D because there is no 3D world editor
Option 5: What is 3D? :D
Title: 3D in GLBasic games
Post by: backslider on 2013-Mar-22
Hi guys,

I would like to know who of you use 3D in GLBasic games and if not, why?
If there is no option for you, feel free to answer in text. :)

It would be really nice when you tell us, if you use 3D and if not... why not?

Cheers
Title: Re: 3D in GLBasic games
Post by: kanonet on 2013-Mar-22
Hmm dont know what option I should choose, I like to code in 3D but I dont create games. ;)
And I mix GLB with direct OpenGL calls and GLSL.
Title: Re: 3D in GLBasic games
Post by: erico on 2013-Mar-22
I ´m not using 3d yet. But that is just because current projects are 2d based.
I run a few tests once in a while just to give it a go.
Title: Re: 3D in GLBasic games
Post by: r0ber7 on 2013-Mar-22
Don't use it because...

- I like the feel of 2D graphics
- I suspect 3D has a steep learning curve and I'd rather invest my time in other projects
- Modeling isn't my forte (though I can do it)
- Creating a 3D world with animated models (which don't look like crap) would take a LOT of time, and my 2D projects take way too much time as it is.
Title: Re: 3D in GLBasic games
Post by: backslider on 2013-Mar-22
I love the EntitySystem but I don't love to create all scenes in code.  :D
So my main problem is, that GLBasic has no world editor.

But I will change it and maybe GLBasic will become more popular for 3D (dream).  :good:

At the moment I'm developing a pipeline from Blender to GLBasic using the EntitySystem and the main thing is done I think.

But that will become a new Thread.   8)

Have a nice weekend!
Title: Re: 3D in GLBasic games
Post by: spacefractal on 2013-Mar-22
Im did tried to create a 3D game in Dark Basic Pro in about 10 years ago, but that game got stalled soon its got to physics. There was nothing wrong with Dark Basic Pro, its was just due that. That mean im did the game in a wrong order, as well im are more intesered to write 2d games (which is fun to made).

Would been nice to went back to that game, eventuelly in United or even in Glbasic from beginning (etc scrapping the old code). Howover its must been some sort of physics engine before im trying again (and its not necessity need to been mobile compatible).

Howver im do mostly perfer 2d style games, because they are easier for me, and is also fun to made. Greedy Mouse and my next game is both in 2d. Howover could been fun using 2d/3d graphics (etc using 3d models in a 2d game, just like Jungool).

The Space Invarder game with 3d flat colors do have cool use of simple 3d. More of that style really!
Title: Re: 3D in GLBasic games
Post by: Qube on 2013-Mar-22
I used 3D in GLB when I wrote my first 3D game Galaxix - http://www.glbasic.com/forum/index.php?topic=3857.msg58612#msg58612

I found it very easy to get to grips. The only downside I found was due to the lack of a particle engine doing any high quality 3D effects was very hard. I did manage to do my own basic 3D particle engine but GLB really needs the ability to put alpha'd images in z-order quickly and not via GLB code.

Also I came across a couple of bugs with screen2world and world2screen on the iPad. I *think* one was sorted and the other wasn't. I haven't checked the latest beta as I've had no time to spend recently on game coding at all :'(

I would love and also pay highly if GLB's 3D engine were a little more up-to-date. But for what it is, it's a decent little multi-platform 3D engine that's speedy and easy to learn.
Title: Re: 3D in GLBasic games
Post by: bigsofty on 2013-Mar-22
I am currently writing iVCL 2 for Vycaria. This is a 3D simulation of a medical scanner, not exactly a game. But I do use 3D exclusivly. The GLBasic 3D command set can be very powerful, especially when  partenered with a good entity system(I have used Kanonets excellent ESL entity library for this project). I have to admit that I am envious sometimes of other languages 3D engines, mainly as the lack of some GLB features, such as mobile  shaders for example, can make your code much less efficient on modern mobile hardware. That being said, there are not many 3D engines that support the amount of platforms that GLBasic  does. 

I also have another 3D game project on the go but that uses its own renderer, written in C as its mainly vector graphics.
Title: Re: 3D in GLBasic games
Post by: erico on 2013-Mar-22
I did use darkbasic on 3d some ages ago.
Good thing it could import 3d objects from lightwave (which what I use).

The app was a visualization of interior architectural things, so not quite a game.
I could simply bake complex render into textures and there you would have a nice apartment interior your client can walk through and take photos to bring home or send by mail, bla,bla.

I enjoyed the easiness of it.
Title: Re: 3D in GLBasic games
Post by: matchy on 2013-Mar-22
Without hesitation, I prefer and love GLB 3D over GLB 2D for scalability and audience preference. That is, you can zoom and center and deploy at any screen size resolution. Animated key frame models seem more efficient than pixel frames and can even be used to produce run-time 2D. There are times when I need to go to the 2D realm for (animated) textures and onscreen labels and buttons.

Title: Re: 3D in GLBasic games
Post by: mentalthink on 2013-Mar-22
I don't use 3D 100%, because the 3D in GLBasic, have some faults...

But really it's very faster develop something in 3D for GLBasic, yesterday I begin a new game...(I show you in some days), all in 3D and it's veery very faster...

Probably we need another kind of importers like DAE or FBX, or 3D physics, and better Lights (this last point the most important) OPENGL2.0 please

A really good point of 3D it's you can mix anohter 2D layer... only whit make2D this it's really fantastic...

Title: Re: 3D in GLBasic games
Post by: backslider on 2013-Mar-22
Yes, lights are the biggest problem in my opinion, too!
If lights would be nicer (including shadows) it would be a f***ing nice engine! :)
Title: Re: 3D in GLBasic games
Post by: mentalthink on 2013-Mar-22
Buff shadows, I think it's a great trouble for a PC or great console not it's too much problem, but for a "simple" device like a mobile it's a very hardest task... depend the kind of shadows too... (for this I think it's better paint over the surface a simple black Sprite).

Another good thing will be 3D physics... I know you made a port of Bullets (I try too, but my C++ skills not are enough), this will be awesoming... well your port works, but not for mobile devices  :'(

I read sometime ago an idea to make a Shop, really I think this not it's a great trouble, here we are some people we know do 3D, the problem it's how many users buy chepest models... in fact Shiva 3D open a self market for this...

If it's possible to put a maketplace here can be interesting, not only for us.. because how you can sell the model in .DAE .FBX  or another formats, perhaps people from another sites come to here to buy... or not.
Title: Re: 3D in GLBasic games
Post by: MrTAToad on 2013-Mar-22
Lights work, just need to be easier (along with shadows).  Don't forget that GLBasic is the only BASIC multi-platform language that supports 3D as standard!
Title: Re: 3D in GLBasic games
Post by: Ian Price on 2013-Mar-22
Someone else agrees with me. What's 3D? ;) :P
Title: Re: 3D in GLBasic games
Post by: matchy on 2013-Mar-22
I think some of the excuses are not related to 2D as that would be the only graphical alternative. For example, there's no sort of spotlight command in 2D.  :zzz:
Title: Re: 3D in GLBasic games
Post by: Marmor on 2013-Mar-22
3d = ddd ian  :D

:offtopic:

lights are important !
shadows not really.
physx are cool .
create a terrain is cool.

id like to see openb3d for mobile ! the rest is not really necessary or ?
Title: Re: 3D in GLBasic games
Post by: Ian Price on 2013-Mar-22
I have played with 3D in GLBasic and got some good results on pc, however mobile devices weren't quite so good (strange texture and lighting issues) - and that's my target platform. So I stick to 2D.

I'm not against 3D, but the games I've wanted to make have pretty much all been 2D (and probably wouldn't have been improved in 3D). I do have several game ideas in mind that would definitely benefit from 3D though and I will get around to making them at some point.
Title: Re: 3D in GLBasic games
Post by: CW on 2013-Mar-23
I normally write applications for my own study and amusement, but not many games. This is because, with very few exceptions, there is no game that I can write which can compete with the quality and brute man-hours which go into professional games. (Especially with 3-D) At one time the solo hobbyist could write engaging games to show off and share with his friends, and indeed, at one time I was in the habit of pulling all-nighters, just coding away. But those days ended around the time the C=128 came on the market. (There are, of course, even today, a few notable exceptions.)

No, these days I program as a way to explore subjects which grab my attention and about which I desire a deeper understanding; especially those applications for which suitable commercial software does not exist. I've written programs to explore probability, random walks, fractals, Conway's The Game of Life, Turing Machines, Mandelbrot sets, the Monty Hall problem, creating bar-codes (and several home applications for them), and more. Currently I'm discovering all sorts of deliciously mind-twisty things related to color wheels and the 16.58 million colors (255^3) we can display. I'll write up a report on that and share it in the near future. These are the sorts of things I do.

I'd like to share a couple of my more interesting examples. You have, no doubt, heard of the so-called "Bible Codes", by which a certain author popularized the notion that predictions of dramatic modern disasters, such as the space-shuttle blowing up, or 911, were "encoded" the Bible? It's all BS, of course. It boils down to playing Boggle with the text; a banal word-search using various skip rates by which a person can hunt for loaded terms in any text at all. And the ancient languages in which the bible was written are particularly suited to the game because there are no letters for vowels. This leaves the searcher free to sprinkle in vowels at will and dramatically increases the probability that some sort of "match" for loaded words can be found. I once wrote an application to hunt for these sorts of hidden "messages" in the text of other books which I downloaded for free from the Gutenberg Project.

I was once a member of a Bulletin Board (in the days before the internet) which was all but taken over by a passionate fellow who was convinced that George H. Bush was the Anti-Christ, and he wanted to warn the world using the Biblically  inspired mathematics by which George Bush's letters summed to the number of the beast, 666. Several of us tried to explain how the game was played, and that his numbers were no more than that, a game; but there was no talking to him. He couldn't imagine how anyone could come up with such a remarkable fit. So I wrote a little program which used brute-force to search for all combinations of numbers which summed to 666, using this fellow's name, John P Boatwright, based on the periodic table of the elements and a quote from the bible linking Satan to the earth. Well, that shut him up good. I even gave him all sorts of statistics about how vanishingly low the odds were that his name would sum to 666, purely by chance; so there was no denying the God's Divinely Revealed TRUTH that HE was the spawn of Satan. I even concentrated on elements with strong parallels to corruption, fire, or Satan. (Such as Nickle, which once had the nick-name 'Satan's Copper' for its heat resistance; or phosphorus, which was first isolated from urine and has a strong association with Sulfur, Fire and Brimstone.)  You can't buy an application to do that sort of thing!

So, 3D is nice and all; and I may one day dip my toes into the water out of pure curiosity, but 3D just isn't in my scope at this time, given the riches I still mine from pure 2D. GL-Basic is light-years ahead of the old Q-Basic, which is why I like it. I especially like the ability to control graphics on a pixel level -a thing I could never do when I programed in Visual-Basic. Basic is slow by its very nature, but it suits my needs and abilities well enough. Cheers!

-CW   
Title: Re: 3D in GLBasic games
Post by: erico on 2013-Mar-23
Not an easy 3d in my book but I can´t be counted as a tried-miss in no way. I really never tried enough of 3d to have an opinion but a couple tests.

There are lots of fronts we could be improving other then 3d, like sound or better support to mobiles or 2d stuff and so on.
I guess it must be really hard to keep up a multiplatform dev tool that can reach it all like I said in some other post about new platforms.

With the constant so many changes in mobiles...I guess it brings a hardcore situation in.

It would be nice to chip in in what exactly is a good path for GLB development but it is really hard to tell.
I have my personal going arounds and that thanks to everyone here :good:... but other fellas may have different opinions and struggles on other fronts.

For me I wait for next release...
After such it sounds better to discuss?

But yeah, I´m on the ´increase 3d´ boat (please please there must be some support to lightwave gasp cogh gaaarh will you push me to try?? I can´t do 2+2 gah!)

Title: Re: 3D in GLBasic games
Post by: AmazingJas on 2013-Mar-23
As a technology, 3D is great. However the sins of my past include many game conversions where I took 2D games into 3D, and I always feel like something was lost in the process. Personally I've fallen back in love with 2D gameplay and graphics, it is the new black. Most of the non-professional 3D games just don't look right to me. I expect a 3D game to look like it's running on the Unreal engine with the same level of detail. 2D games have more character and we seem to be able to accept their flaws more readily.
Title: Re: 3D in GLBasic games
Post by: MacReeg on 2013-Mar-23
I learned programming in the time where C64 and Amiga were the most popular computers in germany. My love for 2D bases on this part of computer history ! ;-)
Title: Re: 3D in GLBasic games
Post by: erico on 2013-Mar-23
AmazingJas, I think of that too, about style in 3d which is hard to find.

But well thinking of it, there are some. I love the frontier elite II flat curved polygons 3d, I like wireframe games. Interstate 76 was great in visual too. There are a few 3d+pixel art that works great, and so on.

It easier to find a 3d styled game on the ´chase for photoreal´ or cartoon and these past years on the ´minecraft style´ but I think it can be put to good use artwise.
Title: Re: 3D in GLBasic games
Post by: spacefractal on 2013-Mar-23
im would pretty sure its could been fun to do a 2d/3d games, using 3d as models, rest in 2d, extractly what we did in Jungool. Here im thinks GlBasic is excellent. Personly its was not 3d im brought GLbasic, due im still like to create 2d games (A game, that took longer time than excepted, hehe).
Title: Re: 3D in GLBasic games
Post by: matchy on 2013-Mar-24
MacReeg, I understand and the Amiga was the first real 3D producer but don't remember doing any AMOS 3D, so 2D goes way back but after dabbling in VB Direct X, DarkBasic and Blitz that GLB3D introduced simple 3D BASIC to me. 
Title: Re: 3D in GLBasic games
Post by: sf-in-sf on 2013-Mar-25
Quote from: backslider on 2013-Mar-22
At the moment I'm developing a pipeline from Blender to GLBasic using the EntitySystem and the main thing is done I think.

Hi backslider!

Is there a way to get any Blender animation export into the ddd format for GLbasic?

I'm busy with my 2D project but would love to introduce some 3D into the next ones. I'm struggling with time and the ddd format.
Title: Re: 3D in GLBasic games
Post by: siatek on 2013-Mar-25
"At the moment I'm developing a pipeline from Blender to GLBasic using the EntitySystem and the main thing is done I think."

Its Awesome ... Im using blender in my work every day