I exported it to use in Jmonkey engine
and jmonkeyengine uses ogre xml
so to be direct : I exported it to ogre engine using blender 2.49 + export script
if you want I can give you errors when I run the engine, + when I exported it.
I exported it to use in Jmonkey engine
and jmonkeyengine uses ogre xml
so to be direct : I exported it to ogre engine using blender 2.49 + export script
if you want I can give you errors when I run the engine, + when I exported it.
Yea, show me the errors ur getting and I might be able to fix it or at least see why itās not working.
I tried to export the tree twice
first time only the left tree (and I merged them --> Cylinder)
second time I exported only the above thing.
version1 : I deleted everything except the tree in left and I merged it with Ctrl J --> Cylinder
then exported it
ā> I get 2 files
Cylinder.mesh.xml
Cylinder.material
version2: I just exported the Plan.005
ā>2 Files
Plane.005.mesh.xml
Plane.005.material
then I imported them into the engine
version 1 with material :
I get this log + high CPU usage, and the program cant start --> no screen shoot
Apr 26, 2011 12:10:23 PM Material parameter being set: {0} with type {1} doesnāt match definition type {2} Texture
WARNING: Texture2D
Apr 26, 2011 12:10:23 PM com.jme3.scene.Node attachChild
INFO: Child (Sky) attached to this node (Root Node)
Apr 26, 2011 12:10:23 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Pre Shadow
Apr 26, 2011 12:10:23 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Post Shadow
Apr 26, 2011 12:10:23 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Default GUI
Apr 26, 2011 12:10:23 PM com.jme3.renderer.Camera <init>
INFO: Camera created (W: 80, H: 80)
Apr 26, 2011 12:10:23 PM com.jme3.scene.plugins.ogre.MaterialLoader readPassStatement
WARNING: Unsupported pass directive: vertex_program_ref
Apr 26, 2011 12:10:23 PM com.jme3.scene.plugins.ogre.MaterialLoader readPassStatement
WARNING: Unsupported pass directive: {
Apr 26, 2011 12:10:23 PM com.jme3.scene.plugins.ogre.MaterialLoader readPassStatement
WARNING: Unsupported pass directive: param_named_auto
Version 1 without material : (I delete it, or doesnt import it) ā> it is like in pic: version 1 without material
ā¦log about something, I just cutted itā¦
Apr 26, 2011 12:11:24 PM Material parameter being set: {0} with type {1} doesnāt match definition type {2} Texture
WARNING: Texture2D
Apr 26, 2011 12:11:24 PM com.jme3.scene.Node attachChild
INFO: Child (Sky) attached to this node (Root Node)
Apr 26, 2011 12:11:24 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Pre Shadow
Apr 26, 2011 12:11:24 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Post Shadow
Apr 26, 2011 12:11:24 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Default GUI
Apr 26, 2011 12:11:24 PM com.jme3.renderer.Camera <init>
INFO: Camera created (W: 80, H: 80)
Apr 26, 2011 12:11:24 PM com.jme3.scene.plugins.ogre.MeshLoader load
WARNING: Cannot locate ogre13/Cylinder.material for model ogre13/Cylinder.mesh.xml
Apr 26, 2011 12:11:24 PM com.jme3.scene.plugins.ogre.MeshLoader applyMaterial
WARNING: Material palm tree trunk mat not found. Applying default material
Apr 26, 2011 12:11:24 PM com.jme3.scene.plugins.ogre.MeshLoader applyMaterial
WARNING: Material leaf mat/TWOSIDE not found. Applying default material
Apr 26, 2011 12:11:24 PM com.jme3.scene.Node attachChild
INFO: Child (Cylinder-geom-1) attached to this node (Cylinder-ogremesh)
Apr 26, 2011 12:11:24 PM com.jme3.scene.Node attachChild
INFO: Child (Cylinder-geom-2) attached to this node (Cylinder-ogremesh)
Apr 26, 2011 12:11:24 PM com.jme3.scene.Node attachChild
INFO: Child (Cylinder-ogremesh) attached to this node (Root Node)
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_WorldViewMatrix is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_Shininess is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_UseMaterialColors is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_Diffuse is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_Ambient is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_Specular is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_CameraPosition is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_WorldMatrix is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_UseMaterialColors is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_NormalMatrix is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_SphereMap is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_HardwareShadows is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_FilterMode is not declared in shader.
Apr 26, 2011 12:11:24 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_PCFEdge is not declared in shader.
Version 2 with material (in the log it says it cant locate the material file ā¦) --> I cant upload the fourth pics, the above thing is still red, but looks smaller, not so that big like in the pic of version 1
Apr 26, 2011 12:28:14 PM Material parameter being set: {0} with type {1} doesnāt match definition type {2} Texture
WARNING: Texture2D
Apr 26, 2011 12:28:14 PM com.jme3.scene.Node attachChild
INFO: Child (Sky) attached to this node (Root Node)
Apr 26, 2011 12:28:14 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Pre Shadow
Apr 26, 2011 12:28:14 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Post Shadow
Apr 26, 2011 12:28:14 PM com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Default GUI
Apr 26, 2011 12:28:14 PM com.jme3.renderer.Camera <init>
INFO: Camera created (W: 80, H: 80)
Apr 26, 2011 12:28:14 PM com.jme3.scene.plugins.ogre.MaterialLoader readPassStatement
WARNING: Unsupported pass directive: emissive
Apr 26, 2011 12:28:14 PM com.jme3.scene.plugins.ogre.MaterialLoader readPassStatement
WARNING: Unsupported pass directive: depth_write
Apr 26, 2011 12:28:14 PM com.jme3.scene.plugins.ogre.MeshLoader load
WARNING: Cannot locate ogre13/Plane.005.material for model ogre13/Plane.005.mesh.xml
Apr 26, 2011 12:28:14 PM com.jme3.scene.plugins.ogre.MeshLoader applyMaterial
WARNING: Material leaf mat/TWOSIDE not found. Applying default material
Apr 26, 2011 12:28:14 PM com.jme3.scene.Node attachChild
INFO: Child (Plane.005-geom-1) attached to this node (Plane.005-ogremesh)
Apr 26, 2011 12:28:14 PM com.jme3.scene.Node attachChild
INFO: Child (Plane.005-ogremesh) attached to this node (Root Node)
may be because the exporter couldnt find the textures file, may be because I merged the tree, may be because of unsupport passes(dont even know what they are),may be ā¦ I dont know, there are too many maybe ^^
Wow. O_o thatās a lot of errors. The one about CPU usage might be due to not having a good graphics card. The other messages are beyond what I know about importing errors. Maybe blender canāt convert to XML format, but i thought it could
Iāll look around and see if its supported in ogre ge.
EDIT:
Ok, I found the solution You need the ogre exporter for blender in order to convert the . Blend to an XML. Heres the link to the download plug-in page. Hope that works for you!
http://jmonkeyengine.org/wiki/doku.php/sdk:model_loader_and_viewer
It didnt work for me
JMP is very buggy for me I will try to recreate and reexport another tree with your tut later
may be it will somehow work ^^
thatās strange, i thought for sure that would workā¦ OK, well ill put the tutorial up as soon as i get home from school tomorrow.
hi
did something occurred when you went home from school yesterday ?
like thunderbolt of love :eyebrowlift:
Hmmm, well I was going to put up the tutorial but I wanted to redo it because the trees didnāt look as good as the ones I uploadedā¦ What is Thunderbolt of Love? XD
thunderbolt of love is like love from first look
I thought when you went home from school you fall in love with a girl and got lost :evilgrin:
lol, ok i get itā¦ ;D you still want the tut on my palm trees, or r u over it yet?
I got the thunderbolt of love from your palm tree :evilgrin:
so of course I still want it ^^
Hi,
wont you make that tut anymore ?
Hey, xieu90,
Iv been pretty busy with school lately so thats why i havent gotten to making it. I will for sure have it up by the end of the weekend, ok? Sorry for the wait
File doesnāt exists
just take your time
I can wait ^^
Oh, oops I moved it to a different folder, it should work now, sorry about that
Nice tree! Vivid image! You should apply for patent! O(ā©_ā©)O
@Schwaberry,
ahah, no i dont think so Im making a tut on how to make them, its really quite easy. You can check out my youtube channel here> www.youtube.com/stickyvids15
Niceā¦ grt job. i wish i could make smethng like tht.
thanks mate, did you paint the texture yourself?