Author
Topic: Blender Scene Exporter (OpenSource) (Read 7521 times)

I'm here to show you a little project i've been working last days. It is a small scene exporter that allows to use Blender as a Sandbox (create/edit Objects, Camera, Lights and Actors).

It is, in fact, a re-build of my old scene exporter (http://www.jpct.net/forum2/index.php/topic,2531.0.html). Unfortunately i lost the source code of the old one, so i decided to re-implement it as an opensource project, this way everyone can test and suggest improvements. I don't think it will be a big tool, but can help to create small 3D scenes for JPCT. I know, there is a lot of tools and ways to create scenes for JPCT, but i like Blender scripts and this will help my students in a University Project that uses JPCT.

How it Works?1. Create a 3D scene in Blender, add Lights and a Camera, add Some Actors (this is the cool part) and export. The script generates a xml file, exports each object into a 3DS file and collects all textures used in the scene.2. Create the Actors in Java following a small pattern that i designed ("IActor" interface).3. Copy&Paste JPCTBlend Core Java classes (the importer) to the JPCT project and load the xml.4. Run.

Very cool !But my Blender can't export JpctBlend Scene(.xml) ! how i can to do get it ? "script_export_v1.py" import is error!

This will be available on JPCTBlend next release and you'll need to add it by hand from Blender's "properties >> Addons" Menu. Make sure to download last version of blender. Thanks for your comment, next JPCTBlend will be released soon.