Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Blender 3D and Xith  (Read 1265 times)
0 Members and 1 Guest are viewing this topic.
Offline Schabby

Junior Devvie

The Receding Brow Worm will eat your code!

« Posted 2005-05-05 16:10:27 »


Does anyone have some experience with Blender 3d export formats and Xith? I tried the AC3D and OBJ loader, but both don't seem to work properly (or maybe i'm doing something wrong).

Any hints or advices about how to load objects into Xith that were built with Blender are much appreciated...


Offline ssstratton

Senior Newbie

7 years commercial java - still learning...

« Reply #1 - Posted 2005-05-06 18:05:59 »

Have you tried the newdawn loader? I have used it successfully to load obj files saved from art of illusion.

Let me know if you would like a sample file to try.

Here's my loader:

           BranchGroup bgasteroid = null;
       try {
             bgasteroid = new OBJLoader().load("./asteroid.obj");
       } catch (Exception e) {

Replace solarSystem.getRootGroup() by your root node...

 Andy Stratton
Offline Amos Wenger

Senior Devvie

Everything's possible, but not everything's fun...

« Reply #2 - Posted 2005-05-07 07:05:18 »

Blender has bad plugins for import/export.

In fact there is two python scripts to import/export Wavefront OBJ.
One of them add Import and Export menu items, but it doesn't work well.
The other just add the "OBJ.." item in the import menu but you you can export with it ( there is a dialog box ).

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Schabby

Junior Devvie

The Receding Brow Worm will eat your code!

« Reply #3 - Posted 2005-05-07 15:47:07 »


Thanks for your help!

I tried both: the OBJ loader and the AC3D loader and even and ASE exporter which is originally intended for Unreal custom models. I got the AC3D loader working as far as I can tell now. But I'm still wondering, why the textures (and other stuff) are loaded from some kind of classpath related resource pool. E.g.:

URL url = new String().getClass().getClassLoader().getSystemResource(modelFilename);

After replacing them with a static (new File (modelFilename)).toURL() command, it worked in my environment.  But I guess I contaminated the code by that... Smiley


Pages: [1]
  ignore  |  Print  

EgonOlsen (40 views)
2018-06-10 19:43:48

EgonOlsen (21 views)
2018-06-10 19:43:44

EgonOlsen (42 views)
2018-06-10 19:43:20

DesertCoockie (188 views)
2018-05-13 18:23:11

nelsongames (123 views)
2018-04-24 18:15:36

nelsongames (122 views)
2018-04-24 18:14:32

ivj94 (862 views)
2018-03-24 14:47:39

ivj94 (123 views)
2018-03-24 14:46:31

ivj94 (759 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!