Now that Blender 2.57 (stable) is officially released, does anybody know if exporter plugin that would be compatible with JMP is being developed?
Or maybe someone could recommend the most efficient path for importing models into JMP from Blender?
Iāve been able to get scene, mesh data perfectly fine out of 2.57 with materials, havenāt tried animation data yet.
Are you using this exporter?
Yeah, sorry to not clarify. Yep, there are a few things to look out for⦠stuff like the default material blend of āzero oneā isnāt supported and emissive materials afaik but switching things around works well.
Iāll see if i can this weekend, but honestly there is nothing to it⦠install the addon in 2.57 like any other and File->Export->Ogre .scene hit enter. That auto gens your materials, meshes etc. Just make sure to have everything selected first.
The blend mode one zero should work in the latest ogre importer from SVN.
Thereās also now a workaround for transparent materials as well, so they should work too
Momoko_Fan said:
The blend mode one zero should work in the latest ogre importer from SVN.
There's also now a workaround for transparent materials as well, so they should work too
Tried to update to the lastest nightly builds to hopefully get these updates however now scene that were fine before aren't loading at not getting much info...
[java]
-> com.jme3.scene.plugins.ogre.SceneLoader.startElement(SceneLoader.java:287)
-> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
-> com.jme3.scene.plugins.ogre.SceneLoader.load(SceneLoader.java:352)
-> com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:240)
-> com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:373)
-> com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:383)
-> client.scenes.tests.GuyTestScene.init(TestScene.java:53)
-> client.application_states.SceneState.onMenuStateChanged(SceneState.java:61)
-> client.application_states.MenuState.setState(MenuState.java:49)
-> client.MinionMasterClient.simpleInitApp(MinionMasterClient.java:148)
-> com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:223)
-> com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:123)
-> com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:199)
-> java.lang.Thread.run(Unknown Source)
[/java]
Any ideas what's changed in the asset loading? Using blender2ogre 0.3.5 for this.
I was able to import a scene exported via version 0.3.6.
The error you have looks like an XML parsing issue, the exported file might be corrupt.
Exporting again should fix the issue, if not, could you please post the problematic file?
Momoko_Fan said:
I was able to import a scene exported via version 0.3.6.
The error you have looks like an XML parsing issue, the exported file might be corrupt.
Exporting again should fix the issue, if not, could you please post the problematic file?
javascript:insert_tag_url('forum-topic-form','reply_text','<a href='','');
Sure can! Re-exported with 0.3.6
http://www.bitflipgames.com/tests/ortho_gui.zip
and loading with [java]Spatial foo = app.getAssetManager().loadModel("ortho_gui.scene");[/java]
now gives me
[java]Unsupported pass directive: {0}Loaded material definition: {0}Unsupported pass directive: {0}Unsupported pass directive: {0}Unsupported texture_unit directive: {0}Unsupported texture_unit directive: {0}Unsupported texture_unit directive: {0}Unrecognized version number in dotScene file: {0}Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})Child ({0}) attached to this node ({1})No matching jME3 LightType found for OGRE LightType: {0}Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
null
-> com.jme3.scene.plugins.ogre.SceneLoader.startElement(SceneLoader.java:287)
-> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
-> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
-> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
-> com.jme3.scene.plugins.ogre.SceneLoader.load(SceneLoader.java:352)
-> com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:240)
-> com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:373)
-> com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:383)[/java]
Fixed in SVN ā¦
The file is not compliant with the spec, I guess because they are still working on the blender exporter
Great, can you tell me specifically whatās out of spec so I can bring it to the blender exporterās attention?
Under the dotScene dtd: http://www.ogre3d.org/tikiwiki/DotSceneFormat
The following values are permitted for the light type property:
point, directional, spot, radPoint
However the 0.3.6 Blender exporter is writing the light type as "sun", which is not allowed.
Do keep in mind that the Blender2Ogre (dotScene-) exporter is not official.
Make sure to keep an eye on the official Blender 2.5 Exporter for Ogre. (Iām āSadrā on that forum btw). Youāll notice thereās been some talk about merging the two projects, but it appears they will remain separate, and with fair reason at that. Only one problem about the official exporter so far: There doesnāt seem to be any usable code available just yet
Hopefully thatāll change sooner rather than later.