UnionBytes Engine

Everything related to 3D programming
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

UnionBytes Engine

Post 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
Last edited by Artus on Fri Feb 07, 2014 9:08 pm, edited 2 times in total.
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Re: UnionBytes Engine

Post by True29 »

;) looks good :D
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: UnionBytes Engine

Post 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:
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: UnionBytes Engine

Post 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.
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UnionBytes Engine

Post 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
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: UnionBytes Engine

Post 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 :)
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Re: UnionBytes Engine

Post 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:
“Fear is a reaction. Courage is a decision.” - WC
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UnionBytes Engine

Post 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
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: UnionBytes Engine

Post by applePi »

the scene looks great, i look forward to try it.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Re: UnionBytes Engine

Post by flaith »

Thanks Artus, will wait to try it :mrgreen:
“Fear is a reaction. Courage is a decision.” - WC
User avatar
AndyLy
Enthusiast
Enthusiast
Posts: 228
Joined: Tue Jan 04, 2011 11:50 am
Location: GRI

Re: UnionBytes Engine

Post by AndyLy »

The picture looks good. And there is a video (I have not found)? Maybe bad looking.
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UnionBytes Engine

Post 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
Last edited by Artus on Wed Jan 01, 2014 2:59 pm, edited 1 time in total.
Artus
Enthusiast
Enthusiast
Posts: 104
Joined: Wed Feb 25, 2009 10:29 pm
Location: Germany
Contact:

Re: UnionBytes Engine

Post 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
Last edited by Artus on Wed Jan 01, 2014 8:42 pm, edited 2 times in total.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: UnionBytes Engine

Post by IdeasVacuum »

Impressive 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
AndyLy
Enthusiast
Enthusiast
Posts: 228
Joined: Tue Jan 04, 2011 11:50 am
Location: GRI

Re: UnionBytes Engine

Post by AndyLy »

Yes, it looks very very good. You guys are cool.
'Happiness for everybody, free, and no one will go away unsatisfied!'
SMsF town: http://www.youtube.com/watch?v=g6RRKYf_Pd0
SMf locations module (Ogre). Game video: http://www.youtube.com/watch?v=ZlhBgPJhAxI
Post Reply