Welcome to RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

Kal Development Discuss, [DEV] Geometry Binary Blender Exporter at Kal Online forum; Quote: Originally Posted by gorlian Hey phantom, I made a mesh to test the bone exporter; I can normally export ...




Reply
Thread Tools
[DEV] Geometry Binary Blender Exporter
 
 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
07-27-2008, 04:12 PM
 
Quote: Originally Posted by gorlian View Post
Hey phantom, I made a mesh to test the bone exporter; I can normally export my mesh "Cube", but I can't use "Export all" (Complete to-do) or export the armature (to place in data>monster>Motion) Or do I just have to put the exported mesh into that folder under another name? (My bones are named 001, 002 etc)
Without files I can't be sure if you have done everything correctly, but it sounds like you have. When you're ready to export, under the "Armatures" category a combo box will populate with all armatures in the current scene with "Export" and "Export Animation" buttons on it's right, otherwise, "None available" will be displayed. Select the armature for export and press "Export" button. After you will then need to link the mesh to armature to animation in your *.dat files. I can't remember which and the format but if someone has this information I will add an automatic generator to the exporter. As for the export all, that feature will eventually combine everything into a single *.gb file for something like animated weapons but I'm not sure if it will work.

[Only Registered and Activated Users Can See Links. Click Here To Register...]

I need privileged access to two additional servers for testing purposes just in case either is unenviable when needed. I will do no harm to your server as all testing will be client side, ie. collision detection. PM me if you're interested in helping.
 
 
permalink
 

 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
07-27-2008, 06:36 PM
 
Thanks to Gorlian and his file I've found a bug in extracting animations from an armature when there are none. You can download the fix @ [Only Registered and Activated Users Can See Links. Click Here To Register...] I didn't qualify it for a new version release. The next release will be minor and will include working functionality for rotation and scale, export all, and minor fixes like the one above.

I've been seeing a lot of issues with people not following the bone naming convension so I will look into making that obsolete by correctly sorting the bone heirarchy using the parent relationship instead. This may not happen until collision detection is completed just to punish those who are being too smart or lazy.
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Feb 2008
Posts: 163
08-03-2008, 07:12 PM
 
phantom*

how u import the models? becouse i can import bones but no models...
then u get a 6 lines error or somting (i readed that in console)
do u have the same problems when u are importing armor models?
 
 
permalink
 

 
Blender Rocks

Rank: Member


Reply With Quote
 
Join Date: Mar 2007
Location: Dunno.......
Posts: 562
08-03-2008, 07:47 PM
 
I have, I tried to import bone's once, but didn't see anything, and the armour (as example) import doesn't work either, I used phantom*'s importer to import my armours
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Feb 2008
Posts: 163
08-03-2008, 09:58 PM
 
Quote: Originally Posted by gorlian View Post
I have, I tried to import bone's once, but didn't see anything, and the armour (as example) import doesn't work either, I used phantom*'s importer to import my armours
but how u imported?
 
 
permalink
 

 
Blender Rocks

Rank: Member


Reply With Quote
 
Join Date: Mar 2007
Location: Dunno.......
Posts: 562
08-04-2008, 06:55 AM
 
Quote: Originally Posted by gorlian View Post
I used phantom*'s importer to import my armours
[Only Registered and Activated Users Can See Links. Click Here To Register...]
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Feb 2008
Posts: 163
08-04-2008, 08:58 AM
 
Quote: Originally Posted by gorlian View Post
[Only Registered and Activated Users Can See Links. Click Here To Register...]
thats the 1 i used... so
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Oct 2007
Location: Leicester, UK
Posts: 5
08-05-2008, 08:02 AM
 
>.< wrong formats running. ignor the last comment :P

Last edited by DarkMatter; 08-05-2008 at 06:36 PM.
 
 
permalink
 

 
Gray Fox

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Germany
Posts: 871
08-05-2008, 11:23 AM
 
Quote: Originally Posted by DarkMatter View Post
upon import and export i get this error "Python Script Error, Check Console" :)
You deserve a punch in your face.
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Feb 2008
Posts: 163
08-05-2008, 08:12 PM
 
this is the error u get in console when u try to import models.

(i have python installed on my pc)

struct.error: unpack requires a string argument of length 6
 
 
permalink
 

 
The Omega

Rank: New Blood


Reply With Quote
 
Join Date: May 2007
Location: Belgium
Posts: 108
08-07-2008, 03:28 PM
 
ok i got my exporter working -.-

but i created a new shield , but when i export it .. ingame it shows nothing ^^

anyone got an explanation? , i used an old model of a sword , took some things i needed , edited shit into a shield

edite positioning etc , export , nothing ingame ^^

please answer for one time

greetz

Last edited by lovmonkey; 08-17-2008 at 08:57 PM. Reason: next step
 
 
permalink
 

 
Gray Fox

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Germany
Posts: 871
08-20-2008, 03:57 PM
 
I've got a problem after I try to export a file , I'm getting a Syntax Error on line 336

quote: SyntaxError: invalid Syntax
File "swordfish_export.py" , line 336
finally:
^

same problem at importing files

any solution?!
 
 
permalink
 

 
Gray Fox

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Germany
Posts: 871
08-27-2008, 12:57 PM
 
^bump^ D:
 
 
permalink
 

 
|MoK| |TeaM| |L3AD3R|

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Posts: 402
08-28-2008, 07:43 PM
 
After Exporting and importing exported model:

[Only Registered and Activated Users Can See Links. Click Here To Register...]
Nothing in game... FILE ATTACHED


After deleted vertex groups: (import exported model)

[Only Registered and Activated Users Can See Links. Click Here To Register...]

If i waana change vertex group names then i get "..." error when try to export
Attached Files
File Type: rar M025_B1.rar (19.5 KB, 8 views)

Last edited by 007luk1; 08-29-2008 at 08:43 AM.
 
 
permalink
 

 
]> KalGods Project <[

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Manchester
Posts: 887
09-01-2008, 04:54 PM
 
i got errors too, i know these screenshots of errors are no good....

but wtf lol
Attached Images
File Type: jpg wtf.jpg (130.6 KB, 20 views)
 
 
permalink
 

 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
09-05-2008, 05:46 PM
 
Quote: Originally Posted by matynator View Post
this is the error u get in console when u try to import models.

(i have python installed on my pc)

struct.error: unpack requires a string argument of length 6
You could've at least specified the file(s) you've tried importing.

Quote: Originally Posted by Keppi View Post
I've got a problem after I try to export a file , I'm getting a Syntax Error on line 336

quote: SyntaxError: invalid Syntax
File "swordfish_export.py" , line 336
finally:
^

same problem at importing files

any solution?!
Download below. When over writing the *.py files, look for *.pyc, which are compiled versions and delete them as well.

Quote: Originally Posted by 007luk1 View Post
After Exporting and importing exported model:

[Only Registered and Activated Users Can See Links. Click Here To Register...]
Nothing in game... FILE ATTACHED


After deleted vertex groups: (import exported model)

[Only Registered and Activated Users Can See Links. Click Here To Register...]

If i waana change vertex group names then i get "..." error when try to export
Download below. I believe I had fixed this problem with Gorlian. Your file was of no use. You should have saved your modifications in a *.blend file and attached it instead.

Quote: Originally Posted by CptKenpachi View Post
i got errors too, i know these screenshots of errors are no good....

but wtf lol
*.blend files are my best friend. I won't re-distribute any of the models and once a bug has been fixed I will distroy the evidence.

Quote: Originally Posted by Phantom* View Post
...The next release will be minor and will include working functionality for rotation and scale, export all, and minor fixes like the one above...
[Only Registered and Activated Users Can See Links. Click Here To Register...]

The above is an in-development release to version 0.0.4 unstable and contains a few bug fixes.

Development has been preocupied with my fixed PS3 and my [Only Registered and Activated Users Can See Links. Click Here To Register...]. This is nothing new and you'll should be use to my laziness by now :P
 
 
permalink
 

 
Gray Fox

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Germany
Posts: 871
09-05-2008, 05:59 PM
 
Quote: Originally Posted by Phantom* View Post

Download below. When over writing the *.py files, look for *.pyc, which are compiled versions and delete them as well.
I did that and now I'm getting the same Syntax Error on line 338.
 
 
permalink
 

 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
09-05-2008, 08:34 PM
 
Quote: Originally Posted by Keppi View Post
I did that and now I'm getting the same Syntax Error on line 338.
What version of python do you have installed? Type: "python --version" in a console window. You will need python 2.5.x. [Only Registered and Activated Users Can See Links. Click Here To Register...]
 
 
permalink
 

 
Gray Fox

Rank: Member


Reply With Quote
 
Join Date: Sep 2006
Location: Germany
Posts: 871
09-05-2008, 11:56 PM
 
Quote: Originally Posted by Phantom* View Post
What version of python do you have installed? Type: "python --version" in a console window. You will need python 2.5.x. [Only Registered and Activated Users Can See Links. Click Here To Register...]
It's working now , it was my mistake I had a too old version of blender ... could've known that.

Anways thanks for the help Phantom even if I wasted your time :P
 
 
permalink
 

 
|MoK| |TeaM| |L3AD3R|

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Posts: 402
09-06-2008, 12:17 AM
 
Imported G1 Sword...Try to export it and than import it or try it in game :gun_smili

Quote: Originally Posted by 007luk1 View Post
After Exporting and importing exported model:

[Only Registered and Activated Users Can See Links. Click Here To Register...]
Nothing in game... FILE ATTACHED
Same error all time
Attached Files
File Type: rar untitled.rar (31.9 KB, 9 views)

Last edited by 007luk1; 09-06-2008 at 09:29 AM.
 
 
permalink
 

 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
09-06-2008, 11:25 PM
 
Version 0.0.4 Unstable (Special thanks to: Gorlian, 007Luk, and Salvation)
  • Fixed import UV coordinate layout
  • Fixed export file writing mode to 'write binary' (cause for the majority of Windows client problems)
  • Fixed exporting vertex weights for versions 10 and lower (may represent new problems)
  • Fixed exporting animations when none are present
  • Added exporting functionality for scale, rotation, and flipping normals (defaults: right handed to left handed)
The next version will focus on fixing more bugs, completing export all functionality, and attempting to solve collision meshes.
 
 
permalink
 

 
Monster Member

Rank: New Blood


Reply With Quote
 
Join Date: Aug 2006
Location: Shawshank
Posts: 179
09-07-2008, 06:40 PM
 
Version 0.0.5 Unstable Quick Fix
  • Fixed armature exporting
  • Fixed weight exporting
  • Fixed export scale and rotation
Looks like I have to re-evaluate the source code (what a mess) because each new fix breaks something else. In it's current state, 007Luk, has made some progression by creating new armour and attempted new monsters which didn't work out in game because of the missing collision mesh and therefore wouldn't take damage when attacked. What can I say? it's a work in progress...
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Feb 2008
Posts: 163
10-18-2008, 10:36 PM
 
reupload plz the file is deleted
 
 
permalink
 

 
aka Reb3lzrr

Rank: Member


Reply With Quote
 
Join Date: Aug 2006
Location: boskoop
Posts: 596
10-19-2008, 09:52 AM
 
*Phantom,

Could you release the full GB structure again? I remember you released it on KZ a few months back, but that site is gone... :(

I would really appriciate it :)

Thanks,
 
 
permalink
 

Reply

Tags
milek = pizzamonster

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 04:55 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RaGEZONE © 2001 - 2008





 
Evade Blackbelt School