<< April 6, 2009 | Home | April 8, 2009 >>

Side trip to ogre4j

As I had much difficulties importing my ogre-meshes in jme2 I had a look at ogre3d. And I have to say it is amazing! But C++ based… so not exactly my world, but with lots of bindings to alternative programming languages. e.g. python, C# AND java ( Ogre4J )

I had a look and found an eclipse-plugin. Wow,…seemed to be great. But after installation without any instructions for that plugin I didn’t exactly know how to go on. I found some instruction how to go on without plugin so I tried to mix it up what seems to be a big mistake.

So I tried the instructions how to do it manually. That seemed to work until a certain point where a jni-exception was thrown when the Sample-Application tried to load a mesh:

Parsing scripts for resource group Internal

Finished parsing scripts for resource group Internal

Mesh: Loading zuh.mesh.


# An unexpected error has been detected by Java Runtime Environment:


# Internal Error (0xe06d7363), pid=2160, tid=3812


# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86)

# Problematic frame:

# C [kernel32.dll+0x12aeb]


# An error report file with more information is saved as:

# D:\windows_radakan\Ogre4jTest\hs_err_pid2160.log


# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.



Wow,…what an error! And finally even me understand the people argueing against such jni-bindings. It is impossible to see where exactly the problem is. So,…nothing for me! JMonkeyEngine will stay my engine. (And if I really should switch someday I will do it in c++)

BTW: The python-binding seems to be a bit more stable.

And from tomorrow(today) on I will on JMonkeyEngine, Blender and my RPG-Engine again…..


Ok…after watch in the errorlogs that were generated I found following (readable) errormessage:

00:40:23: Finished parsing scripts for resource group Internal
00:40:23: Mesh: Loading zuh.mesh.
00:40:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource zuh.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)

And there we are. I copied the zuh.mesh file in the project-directory and not (as it was written in the instructions) in the media-directory. So my fault! I will for sure have an eye on the project also I am quite sure it is nothing for me. And even the following test of importing another mesh-worked without problem…. Argh…I was so sure minutes ago…

Here a screenshot:

screenshot of ogre3d java-binding.

screenshot of ogre3d java-binding.

10 days until Ludumdare #14

Well, lot happend since LD#13! Since then I am coding (for private purpose) nearly every day with lots of fun and full of will to learn more more and more. LD#13 activated me again so I am really happy I found that competition and I am still very sad that I didn’t find it much earlier.

Nevertheless my 2nd real LD is knocking at the door and this time my main goal is to finish. Not like last time where I published more or less a buggy demo.

To achive that I have to

  • keep the game simple and easy to understand for persons != me :-D
  • sleep enough and also leave home for some time
  • set my own deadline so it is enough time for packing the application

10 days 17 hours 1 minutes left means for me to get up at 5 am to start the compo. In order to be able to work until the last second I took holiday for the day after. Wouldn’t be healthy to go that day.

But one is already fix. I will again use JAVA, again use JMonkeyEngine for OpenGL-Stuff, using blender for creating 3D-Models and gimp for painting-works. This time I won’t have to learn so much basics during the compo and there will (hopefully) no brass band in front of my window (it was christmas-market and it took me quite some time to think about how I could mute them :D )

Can’t wait until the voting-period begins….

(And on Sunday 2009/04/26 the PyWeek will start where I want to gather first python experiences!)

<< April 6, 2009 | Home | April 8, 2009 >>