Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 01:20:33 am
Xith3D CommunityGeneral CategoryGeneral Discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)Blender exporting
Pages: [1] 2
Print
Author Topic: Blender exporting  (Read 5134 times)
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« on: 25. September 2007, 01:48:19 pm »

Hi dudes Smiley

I have a wonderful model animated by kukanani, right? In which format can I export the model, with animations,  to use in xith?


Lucas.
Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 25. September 2007, 01:52:16 pm »

I have a wonderful model animated by kukanani, right? In which format can I export the model, with animations,  to use in xith?

Well, if MD2 doesn't work... IFAIK as long as the new COLLADA loader isn't complete, the Cal3D binary format is the only one. Don't know, how good the 3DS loader is concerning animations.

Marvin
Logged
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #2 on: 25. September 2007, 01:55:41 pm »

I can't find a "Cal3D" option in the export menu  Sad
Logged

Getting my hands dirty Smiley
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #3 on: 25. September 2007, 03:23:57 pm »

Where's the MD5 model loader? I've exported my model to md5 with a good exporter, but I can't find the loader.
Acoording to XIN, there's a MD5 model loade, but it's not released with xith-tk.
« Last Edit: 25. September 2007, 03:29:14 pm by BrazilianBoy » Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #4 on: 25. September 2007, 06:20:47 pm »

Where's the MD5 model loader? I've exported my model to md5 with a good exporter, but I can't find the loader.
Acoording to XIN, there's a MD5 model loade, but it's not released with xith-tk.

Well, it doesn't exist. One day I have to remove that entry from XIN Smiley. IIRC there once was one in Xith, but it was long before my days. Well, we could port a loader from another project. There was a thread about this here on xith.org.

Marvin
Logged
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #5 on: 25. September 2007, 07:57:30 pm »

Well, it doesn't exist. One day I have to remove that entry from XIN Smiley
Well, I feel that the Cal3D support is stronger. But I can't find any exporter script. There's blender2cal3d, but it doesn't work.
Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #6 on: 25. September 2007, 08:42:34 pm »

Well, I feel that the Cal3D support is stronger. But I can't find any exporter script. There's blender2cal3d, but it doesn't work.

Maybe you just have to download the latest blender. Amos will be able to tell you how to exactly do to export from blender to Cal3D.

Marvin
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #7 on: 26. September 2007, 01:25:14 am »

 
Quote
Hi kukanani, hi Dori, you should use this export script :
http://svn.gna.org/viewcvs/soya/trunk/soya/blender2cal3d.py?view=log
Select the latest revision (134 at the time of this writing) and replace the XML = 1 line by XML = 0 to use the Binary format (which is currently the only one which can be loaded).

If anyone wants to compile a tutorial on Cal3D as I did with OBJ Model, it would be *very* welcomed..

this needs to end  up in  Blender Foundation\Blender\.blender\scripts

Logged
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #8 on: 26. September 2007, 02:16:13 pm »

This script isn't working Sad  I'm using Blender version 2.43. The export option doesn't appear!!!
Logged

Getting my hands dirty Smiley
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #9 on: 26. September 2007, 02:49:30 pm »

Try version 2.45...I think that the Cal3D export script comes included with that release...If not, at least I know that it works with 2.45.
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #10 on: 26. September 2007, 07:47:58 pm »

Sorry, but it doesn't Sad
I tried the latest version of Blender, wich is 2.45. The md5 exporter script worked, but the cal3d one didn't. Did you use it without any problems in blender 2.45?

EDIT: and no script included...
Logged

Getting my hands dirty Smiley
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #11 on: 26. September 2007, 09:37:26 pm »

Yeah, I'm using it fine, but my models always load buggy...with their arms, hands, fingers, and sometimes heads moving around in circles...I don't know if it's an exporter problem or a Xith problem or a user (me) problem...
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #12 on: 19. October 2007, 07:31:52 pm »

The MD5 importer works fine (animations not tested yet), but there aren't any normals. Is there a way to create them at runtime?
Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #13 on: 19. October 2007, 09:23:58 pm »

The MD5 importer works fine (animations not tested yet), but there aren't any normals. Is there a way to create them at runtime?

No need to calculate them. This was a bug in the loader. It should be fixed now.

Please tell me, if the normals are correct now. The normals calculation code seems strange to me (remember, that I ported it from kman's loader). If the normals don't face in the correct direction, I will see, if I can fix that code.

Marvin
Logged
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #14 on: 20. October 2007, 12:14:02 pm »

Lightning is working, but I think you should invert the normals, because the lit faces aren't facing the light.

And a little trick was needed to use lightning:
Code:
for(Shape3D shape:playerModel.getShapeNodes()){
shape.getAppearance(true).getMaterial(true).setLightingEnabled(true);
}
Logged

Getting my hands dirty Smiley
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic