NBengine..amateur engine in the making

Discussion about everything. New games, 3d math, development tips...
Post Reply
Escen
Competition winner
Posts: 167
Joined: Sun Jul 19, 2009 11:27 am
Location: the Netherlands
Contact:

NBengine..amateur engine in the making

Post by Escen »

Hello guys... started my-own engine and world editor.
I know it´s not Irrlicht related but all lessons and inspirations are coming from this community.
Don't worry I'm still using Irrlicht but wanted to show you how pieces learned are coming together in this project.
Still under construction of course, but this is a small list of features so far:
-scene manager
-post-processing manager
-lua scripting
-bullet physics (with constrains control)
-multi-texturing
-terrain painting, almost working correctly ;)
-engine and editor are two separated executables
-debugging mode
-own mesh import with physics constrains.

Had some FPS drop during recording
https://www.youtube.com/watch?v=_yViKiIL-dY

Thanks guys.

Image
Last edited by Escen on Thu Apr 28, 2016 7:50 pm, edited 1 time in total.
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: NBengine..amateur engine in the making

Post by CuteAlien »

So ... what stands NB for? Looking good so far!
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Escen
Competition winner
Posts: 167
Joined: Sun Jul 19, 2009 11:27 am
Location: the Netherlands
Contact:

Re: NBengine..amateur engine in the making

Post by Escen »

So ... what stands NB for?
NooBengine...lack of skill or knowledge.
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: NBengine..amateur engine in the making

Post by CuteAlien »

Hehe, OK (was my first guess, just didn't dare mentioning in case it stands for something else).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
chronologicaldot
Competition winner
Posts: 684
Joined: Mon Sep 10, 2012 8:51 am

Re: NBengine..amateur engine in the making

Post by chronologicaldot »

@cutealien - You and me both.

Not bad for a "noob" engine. Nice feature set.
I do have to wonder why so many people pick lua for scripting. I don't see its advantages as compared to other languages.
As I doubt you did this in C, what bindings did you use for Lua?
Escen
Competition winner
Posts: 167
Joined: Sun Jul 19, 2009 11:27 am
Location: the Netherlands
Contact:

Re: NBengine..amateur engine in the making

Post by Escen »

@ chronologicaldot
do have to wonder why so many people pick lua for scripting. I don't see its advantages as compared to other languages.
As I doubt you did this in C, what bindings did you use for Lua?
Great, I was hoping for this question, I'm getting in unfamiliar terrain here.
I'm using toLua++ http://www.gamedev.net/page/resources/_ ... gine-r2596

I picked toLua++ as a binder mainly for two reasons.
-it was relative easy to setup.
-getting the result I wanted.(for now)

I'm exposing my entire engine through my scene-manager, this way I'm able to handling most detail from Lua.
Mainly for now I'm using lua to initialize objects and controlling wind forces en sun stuff, this gives me no problem...
I got it all working but wondering if I'm getting into speed problems when using toLua++ as AI controller and I'm not sure there is a better way of scripting.
Didn't do any further research yet but maybe you can advise me on this.
chronologicaldot
Competition winner
Posts: 684
Joined: Mon Sep 10, 2012 8:51 am

Re: NBengine..amateur engine in the making

Post by chronologicaldot »

Escen wrote: I picked toLua++ as a binder mainly for two reasons.
-it was relative easy to setup.
-getting the result I wanted.(for now)
Good reasons. Never heard of toLua++, and here I'd already seen a large list of Lua->C++ bindings.
Escen wrote: I'm exposing my entire engine through my scene-manager, this way I'm able to handling most detail from Lua.
Mainly for now I'm using lua to initialize objects and controlling wind forces en sun stuff, this gives me no problem...
I got it all working but wondering if I'm getting into speed problems when using toLua++ as AI controller and I'm not sure there is a better way of scripting.
Didn't do any further research yet but maybe you can advise me on this.
Any time you use an interpreted language, things slow down. That said, it's best to try to minimize the number of times your program has to reference the Lua document(s). Use Lua as a base to set things up (perhaps generic settings), but after setup, there should be minimal if any intervention of the scripted language. That said, you can setup your scene, but then the Lua would initiate stand-alone functionality.
If you're looking for real speed out of an interpreted language, it helps using one that pre-compiles into a byte-code, like D (though again, the speed will depend on the implementation of the bindings you choose). A byte-code is really just a faster way for the program to process commands. Syntax is just rules for programmers.
Escen
Competition winner
Posts: 167
Joined: Sun Jul 19, 2009 11:27 am
Location: the Netherlands
Contact:

Re: NBengine..amateur engine in the making

Post by Escen »

Hello guys, here an update of my engine... still an Irrlicht fan :D
https://www.youtube.com/watch?v=t3TfORthUOQ

Image
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: NBengine..amateur engine in the making

Post by Vectrotek »

This is the stuff! Great!
Post Reply