I like to ask the community about your opinions and experiences with it. I think it is a simpler alternative to Blender and might be good for programmes that don’t have moderate modelling skills yet. Therefore I’ll have a try
Ok. I’m going to have to try that method out. I tried doing something very similar before with the work flow being SketchUP -> Blender -> Ogre -> JME. The results… weren’t pleasant. Basically the model that Blender got a hold of from the export was total I figured this was just because SketchUP was slightly insane or something so I gave up on that endeavour. But THIS method looks a bit more straight forward and potentially less irritating. Thanks!
Today I have tested Google Sketchup and the import into JME3 for the first time. After some video tutorials where I learned some basics like greating faces from edges and how to handle the Z-Fighting problem I really can say that I like it.
The Ogre exporter comes with a simple GUI that allows to set some path values. So that was really easy.
The imported model then results in a Node with three child meshes. In order to get the physics working I only had to use a mesh accurate collision shape which includes the nodes children:
CompoundCollisionShape complexShape =
By using "OgreXMLConverter.exe" guided in the video above, Can i export 5 .obj houses and corresponding positions to use in JME3 ?
I need to select and take some actions on seperated object.
Have you attempted doing what you described above?
It’ll be easier to help you if you can describe a particular step in the process that you can’t get past.
I found that 5 houses are not imported as 5 different objects (java object).
To picking 5 houses as i want, in stead of 5 houses I designed only 1 house and use a loop to create 5 houses. It’s OK for picking (as the example Hello Picking).
But its inconvenience is the need know where each house located. If we use Google Sketchup to design all houses and buildings, we don’t care them.
Finally, my question is how to pick each objects in a model which is built by Google Sketchup in JME3 ?
I don’t know, it sort of sounds like you might have multiple geometries but each contains bits of multiple houses.
To be honest the best way to do this is to build all your objects separately and then combine them within jME (either programatically or using the scene composer in the SDK which was developed for just this purpose0.