Merlin3D Game Engine


My name is Balázs Jákó, and I am the developer of Merlin3D game engine. I have opened this topic because I would like to get some feedback about the engine and its progress. I would like to know if there is a feature you like or another that you think is missing. Any constructive comments and suggestions are welcome. I will try to use these information to select features to be implemented in the future.

As long as the development is not funded by anyone, the progress is quite slow. :slight_smile:

The engine is a standalone engine, not a BGE replacement, but the current pipeline focuses on importing from Blender3D as many assets as possible.

The engine is a work in progress and it is far from complete. It uses deferred rendering with full dynamic lighting and advanced shader features. There is a tool script that exports many object types directly into the engine from Blender3D, like meshes, lights, materials, etc.

The game logic is fully script based, there is no fancy “Node” based GUI logic editing, only the bare metal Lua code. In return, the development of the logic is quite quick (if you are familiar with Lua and the engine internals), and implementing a complex game behavior is more straightforward than clicking countless GUI elements together. Script support is as all-embracing as possible: all important engine objects can be controlled from script, so the control is (almost) total.

For more details, see:

Thanks for reading.

Ok, money, mouth

Render out a scene in blender, and then in your engine, with all the same everything,

frames per second,

Physics calcs per second, toss a ball @ a wall, show me how cool it is :slight_smile:

let us see, :slight_smile:

thank you for sharing btw

The link didn’t work, here is it fixed. The engine looks great, far beyond Blender.

Add in a google+1 thing?

I like it :slight_smile:

I would just like to see it directly linked to blender to where you can choose a game engine, and hit go,
Don’t logic bricks get compiled into a python script before run time?

Looks very nice! I’m impressed by your skills. Making a game engine certainly isn’t easy! Is it free? If I get much more serious with my game development, I might look into your engine.


The engine looks great. I think I saw it earlier when a member here mentioned that he worked on it, though I’m not sure who it was (or if it was indeed here). The lighting and shadows look really great. I would have to say that the engine is probably fine already. I would only change some things based on personal opinion.

For example, I personally dislike Lua overall, so I would choose Python or possibly C# (or another C implementation) over it, perhaps even ActionScript (if possible to implement), or another easy to use scripting language. Lua just kind of rubs me the wrong way.

Also, I think it’d be a good idea if the tool script allows one to export materials (including node-based materials) from Blender to the engine. That way, you could get visual feedback on your creation while you tweak settings.

It looks very impressive! The graphics are top notch! :slight_smile:

How long time have you used on it (just apprx.)?

Do you have any plans with it? (I.e. license it commercially, or make an open-source collaboration project of out it, like Irrlicht, Ogre. - donate-ware, etc.)

Nice work, nonetheless! :wink:

is there such a thing as a “universal common language”?

like a “most simple terms” code language that can be reported to anything?

like a “raw” language, that it’self is not compiled, but rather it is compiled into C or python, or C++ etc

What is Lua like? How is the community?

Can I port from python over?

RE: Merlin3d
The engine looks pretty snazzy from a brief look over the blog. The deferred rendering & custom shaders really pay off :slight_smile:

For what it’s worth, your artist is pretty damned good too (double kudos if it’s you :slight_smile: ). One of the things about many “single developer” game engines is the lack of decent art makes them look more subpar than their capabilities actually represent. Not so with your videos. The small level, lighting, sounds, decals, etc all provide a good “sandbox” to demonstrate the engine - well done.

RE: Languages & Lua (i.e. BluePrintRandom)
To answer your question regarding a “raw language” - no, there is no “base language” from which all other languages could be automatically compiled into. Python has a very different platform from, say, C# and vice versa. There are commonalities between the two (which is how IronPython is built on .NET) but there are enough differences to make it difficult-to-impossible to compile between them.

Let’s look at the example of Python & Lua (oft raised in these forums and I’m familiar with both). Python has a global namespace meaning any object you want to keep around can be found be code running elsewhere - no exceptions. Lua has the concept of a global namespace, but you can create new, restricted spaces for running certain functions so they cannot access any objects but those the coder wants them to. Python has generators, Lua does not. And so on.

As for the question "What is Lua like?, it’s perfect (in my opinion) for what it is designed for, less so for what it isn’t. It is designed to be a small, fast, thread-safe, easily extended scripting language for embedding in other applications. This makes it ideal for embedding in game engines and the like. Which is why World Of Warcraft and hundreds of other games use it :slight_smile: Lua is not designed to be a standalone scripting language with mountains of libraries one can use to put together any application you can think of on the fly. Python is and fills that niche quite well. As for the community, it’s alive & thriving. One of the more exciting projects in it would have to be LuaJIT by Mike Pall which is seeing execution speeds on certain benchmarks exceeding natively compiled C code :slight_smile:

Last question, “Can you port Python to Lua?” The answer to that depends on what you are porting. Most basic logic is simply expressions which port over very easily. The difficult part of any porting job is the LIBRARIES you rely on. If you are using specific Python libraries, it’s unlikely the job will be easy to port over unless there has been a Lua equivalent created (same goes for vice versa, Lua to Python). For game engines that have both a Lua & a Python scripting interface, the changes are very easy and (in general) run faster & use less memory with Lua.

Thank you for your detailed answer :slight_smile:
I may try a port over for this if I see a huge CPU gain, as I have a very complex game in the works,

it is a complex beast but it should pay off,

It looks like a neat engine, but for now, I will see about waiting for the final result of the second phase of the BGE harmony project as it seems most of the advantages at this point stem from graphics.

To note; a developer known as Kupoman is developing an inferred lighting system for the BGE, something which is more advanced in general than deferred lighting because it has full support for transparent objects among other things.

Good work so far, but I still think the BGE will remain a viable option for me considering what is currently being developed and the fact that porting some of my projects over would be a tremendous amount of work (especially the complex logic which I would have to start over in using a language I’ve never learned).

I wouldn’t say inferred lighting is “more advanced than deferred lighting” as it IS deferred rendering, just with a stippling hack special case for transparency. While a clever hack, it is exactly the same as standard deferred rendering except when rendering alpha transparency… and there are some major limitations it imposes on lighting that as well

More details can be found in the original paper which describes what it is, the limitations involved, and how it can be incorporated in a standard deferred rendering pipeline. Not trying to be a pain, it’s just that there are quite a few people that think that inferred rendering is the next step up from deferred rendering (which is the next step up from forward rendering) when it is simply a special case transparency trade-off in the larger scope deferred rendering techniques.

Why not help me… I have designed a “completely parallel computer”

I need a chip manufacturer for this and a few other designs I have

check out

Off topic chat ->optical computer 2 (this is just what I am giving away) :slight_smile:

In the case of the BGE itself, we at least have the logic bricks which can be used for some of the heavier logic if needed (considering the fact that they do run native C++ code).

As for Lua vs. Python, how much flexibility does Lua provide for cases where you need to add non-game specific elements to a game (like saving everything to a file and then browsing those files.)? Do you think it be easier for the Blender devs. to just patch Python to allow multi-threaded processing since there’s been so much work on it over the years?

Your engine looks very good, what type of license will be using? and will it have support for android?

We have made a Blender render that shows the difference (or similarity) between engine render and Blender render. I will post it here as soon as I find it . :slight_smile:

There is a demo video showing the physics working. The simulation uses Bullet at the time being, but PhysX is supported for some extent, so the speed is mainly depends on them.


This seems to have nice graphics features. How do you handle materials and shaders ?

I Would like to see the coding part

How are objects managed ?

Is this a per-object scripting where the script is attached to an object with the editor ?
Or is this a code oriented engine, where you handle the main loop of the game yourself and handle everything by code ?
I mean :

  1. Engine initialisation
  2. Assets loading
  3. Game Loop
  4. Exit

What about cinematics ?

Any SDK release planned ? Free version (for non-commercial) and Pro version maybe ?

What about the Licensing ? What would be good is one like unreal : a base price around 100$/200$ then depending on the game benefits, you can take a small percentage on it.

Do you have a website for the engine ? I can only find the blog, this thread, a facebook page, and a youtube channel, where i couldnt find the informations i was searching.

This needs additional things :
A website, linking everything.
A forum
A wiki with basic tutorials
A documentation, api for the engine and the lua scripting

Very nice frames per second,
nice clipping distance
nice everything

is there a engine level LOD? :slight_smile:

I love your work,
why not just make your own environment I can buy and link to blender ?
you need a full game, to demo this to a big company…

Could you just use python but a much smaller library?
not that I hate Lua, (I just don’t know it yet)
better yet, make it so you can choose? if your library is python it uses it?
(I know that would be an insane amount of work)

what else?

I watched the video, I believe the BGE can already do quite a bit of those graphical effects with sunlamp shadows, 2D filters, and node shaders.

As for Bullet vs. PhysX, I thought I read on the Unity forums a long time ago about a rumor that Nvidia has crippled the CPU-only version of that engine to ‘encourage’ the use of their GPU’s to do it. I’m not sure where that stands now, but a lot of Unity games on Kongregate tend to get bogged down a bit when there’s more than a dozen or so physics objects on screen. (though I can’t say for sure if it’s due to that allegation).

EDIT: Sorry for the duplicate message, the forum glitched on me and gave the impression that my post didn’t go through.

Please delete.