Page 1 of 5

UnionBytes Engine

Posted: Sun Dec 29, 2013 10:05 pm
by Artus
Update: 07.02.2014

Hello PB community,

As promised we release today the DEMO of our 3D Engine!
This Demo is based on an Engine which is still very young und still in development,
so we will be happy to get feedback and bug report.

To run the Demo you will need:
Graphic card with
OpenGL 3.3
Windows
CPU with SSE 2 support (Mostly all CPUs since Intel Pentium II :-) )

We would be happy if you could post your system stats, as Processor, Graphic card, Windows, Ram and how does it run (smoothly, laggy or buggy ^^).

Of course we are happy to get feedback to the DEMO itself, too.
The DEMO includes the source code only of the Demo itself, not of the engine! It gives you just a look on, how easy to use the engine is.

To get further Information about the controls and licenses please read the Readme.txt file.
You will be able to dispense unlimited Balls with physics and light, as well as you can shoot unlimited glowing balls with lights.
The only limit is only your PC system ;) They just disappear after a few seconds, but between are unlimited.
Small lights faster than big ones, so mostly if you look from distance it will have a higer performance (because of deferred shading),
but I have an old GeForce 460 graphic card and it's possible to spawn over 700 lights with still 60 FPS.

I hope I didn't forget something^^, so enjoy the demo.

Download Link:
http://www.unionbytes.de/downloads/UBE_ ... -02-07.zip (Approx. 18 MB)

ScreenShots:
Please click on the Image to enlarge and see it in full size.
ImageImageImageImageImage



Original Post:

Hello,

after long time of absence, i want give you all a small preview of our 3D Engine, which is completely programmed in PureBasic and only for PureBasic. A few years ago I asked Fred to make it possible to use shader on Sprites, unfortunately he said that it was not possible at this time. So I started to program my own 2D Engine which had the possibility to use shader. After I bought a lot of OpenGL books, I managed it.
One year later STARGATE joined the team and we started to change it to a 3D Engine because we both dont like the ogre engine. Slowly we master one step after another, and learn tons of new things. (The possibility to give 2D sprites, normalmap and other shader is still available)
I will start, so post pictures from our progress, from time to time. And when the time comes, we will release a Demo to get feedback.
We try to keep the PureBasic style in our Engine so close as possible, so her are a sample code and a screen shoot.
I hope a few people are interested in, and I will post another one soon.

Greetings from Germany
UnionBytes http://www.unionbytes.de/ (German)
Arthur

Code: Select all

Global Object_Rocks.i = UBE_CreateObject(#UBE_ANY, Mesh_Rocks, UBE_Material("Rocks"))
UBE_MoveObject(Object_Rocks, 17, -0.5, -15)
UBE_ScaleObject(Object_Rocks, 1.5, 1.5, 1.5)																	
UBE_SetObjectBody(Object_Rocks, #UBE_COLLISION_BODY_MESH)
UBE_SetObjectShadow(Object_Rocks, #True)

...

UBE_ExamineKeyboard()
UBE_ExamineMouse()
UBE_ExamineParticleEmitters()
	
If MouseLocked
		UBE_RotateCamera(0, -UBE_MouseDeltaX()*0.2, 0, #UBE_RELATIVE|#UBE_WORLD)
		UBE_RotateCamera(-UBE_MouseDeltaY()*0.2, 0, 0, #UBE_RELATIVE|#UBE_LOCAL)
EndIf
Image

Re: UnionBytes Engine

Posted: Sun Dec 29, 2013 10:51 pm
by True29
;) looks good :D

Re: UnionBytes Engine

Posted: Sun Dec 29, 2013 11:47 pm
by luis
Sure it's interesting, out of curiosity some questions:

1) will you make it available or it's just for your use ?
2) if 1) = .T. -> will you make available as a library, dll, or in source form ?
3) is it cross platform or what platform is supported ?
4) is it written entirely in PB without using any third party library ?
5) does it use the 2D game lib from PB or it's totally independent from it ? (from what you wrote I understand it does not use PB ogre at least)
6) what version of opengl does it requires as a minimum ?
7) does it support use of extensions on modern gl versions and does it automatically fallback to less-efficient but more compatible code if required ?

I'm writing my game/demo library too in opengl from total scratch, it's still in its infancy but it's fun and extremely educational !
Probably the most interesting part is doing it, more than eventually use it :wink:

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 12:12 am
by Samuel
Nice screenshot. Looks like you guys put a lot of hard work into your project. :D

I'm a big fan of Ogre3D. So, I can't say I would be willing to use your engine over the Ogre engine.

That doesn't change the fact that what you guys are doing is very impressive.
I look forward to seeing more about your engine in the future.

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 12:35 am
by Artus
Hello,

@True29: Thanks^^

@luis: True i forgot a few important things ^^
1. It will be available for other people too, maybe for a small donation (Not sure now) ;)
2. and it will be a dll.
3. Until now, only Windows. (Because I only work on windows)
4. Yes it’s written entirely in PB without using any third party library.
5. It’s completely independent form 2D Lib and Ogre (4), first because I don’t like Ogre and second I want to have the full control. ;)
6. Minimum will be Open GL 3.1, if you want to use shader in 2D (GLSL 1.40). I try my best to keep it, otherwise it will need 3.3 too. For whole 3D stuff, OpenGL 3.3 (GLSL 3.30) will be the minimum.
7. So if you want a pure 2D version it will use only functions from 3.1 and less, for 3D it will use OpenGL 3.3 to 4.4 in this two areas it will do all automatically.

8. What else I have to say is: that it will never be such a big engine like ogre, unreal etc., for this, I don’t have time with family (Wife + child ) +job + side study on some kind of chemistry bachelor. BUT it will have all what you will need to make games and what is really important too, and makes it more useful for me then “big” engines, it will be easy to use! And the user will have still the full control!

@Samuel: Thanks. Yes, we put already a lot of hours and red bull in it ;)


Greetings from Germany
UnionBytes http://www.unionbytes.de/ (German)
Arthur

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 12:51 am
by luis
Artus wrote:and second I want to have the full control. ;)
Same reason for me here !
And thanks for replying to the many questions :)

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 3:36 am
by flaith
Really interesting :D
Just a question, my laptop is stuck with opengl 1.4, does your library will work with my 'poor' configuration ?
For your information, I want to use 2D only :wink:

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 11:09 am
by Artus
@flaith: How old is this laptop^^ No i don't think so, because we use vertex buffer objects and vertex arrays even in 2D for a high performance and shader which requires OpenGL 3.1 (GLSL 1.4).
But we will release a demo so will have the chance to test it.

Greetings from Germany
UnionBytes http://www.unionbytes.de/ (German)
Arthur

Re: UnionBytes Engine

Posted: Mon Dec 30, 2013 1:58 pm
by applePi
the scene looks great, i look forward to try it.

Re: UnionBytes Engine

Posted: Tue Dec 31, 2013 2:54 am
by flaith
Thanks Artus, will wait to try it :mrgreen:

Re: UnionBytes Engine

Posted: Tue Dec 31, 2013 3:54 pm
by AndyLy
The picture looks good. And there is a video (I have not found)? Maybe bad looking.

Re: UnionBytes Engine

Posted: Tue Dec 31, 2013 8:06 pm
by Artus
Hi AndyLy,

i can post a video thats no problem, but at the moment i optimize the sprite and font system. Maybe in 1 or 2 days ^^, i can upload one. ;)

Greetings from Germany
UnionBytes http://www.unionbytes.de/ (German)
Arthur

Re: UnionBytes Engine

Posted: Wed Jan 01, 2014 2:59 pm
by Artus
Hello,

Here is a small video, what I made in the last few hours:

http://www.youtube.com/watch?v=Qt_sied0aiI

Greetings from Germany
UnionBytes http://www.unionbytes.de/ (German)
Arthur

EDIT: I reuploaded the video, because i added a few things, and a screenshot:

Image

Re: UnionBytes Engine

Posted: Wed Jan 01, 2014 4:39 pm
by IdeasVacuum
Impressive 8)

Re: UnionBytes Engine

Posted: Thu Jan 02, 2014 10:38 am
by AndyLy
Yes, it looks very very good. You guys are cool.