I encoutnered a little problem trying around with Belnder and jMe. So I modelled a little scene. ( It’s not supposed to look good. )
I made the needed changes a.s.o and was able to convert it to j3o without errors. But as we all know: In our world no errors dosnt mean that all works as expected.
So… without any more words. Screenies say more than words.
The blender material doesn’t works fine in jmp, you have to create a j3m material in jmp if you wanna have good results ;). Did you already see the jmp video :Working with Materials?
Did you just told me that i have to make my own materials for each Model I export to use it? Where is the point to that… Why cant the importer handle the original material definitions? >_<
Have you ever heard of “Ogre Meshes Exporter” ? Did you already see the hello_animation_tutorial ? This tutorial loads a model exported by ogre meshes exporter. I think better you install this exporter in your blender ( But this exporter is supported just on blender .49b ).
Sorry, I think there is some kind of misunderstanding.
My problem was ( and still ist in some way or the other ), that materials exported from Blender are not shown the way i want them to or how they were declared originally.
So the problem is somehow about the topic, that i want to use ogremesh and -scene, but I’m not able to because of - to me - unknown reasons.
Hmm! Ok! You’ll never get in a better result if you continue using blender materials, then unfortunatelly you have to create j3m materials for better results ;).
KiroSei, read the manual of the OgreXML exporter to see what options it supports for exporting. Remember Blender is for static rendering/raytracing of images while jME does live rendering on a GPU.
I read a lot of stuff now and came to the conclusion, that jme dosnt support one option of Alphablending or so… I just changed it to modulate and wow. Finally it works
It dosnt look nice, but thats not JMEs but my fault. I’m just not made to model things.
When i render this model on the SceneViewer, the model is all black (with a point of light, like this picture from KuroSei, http://img816.imageshack.us/i/blendinjme.png)
But, when i edit the material file, and change this second "pass" tag, changing the "diffuse 0.0 0.0 0.0" to "diffuse 1.0 1.0 1.0" the picture looks nice.
My problem is, what can i do on blender to export my model without this second "pass" tag, or, at least, changing this "diffuse 0.0 0.0 0.0" value?