Author Topic: Blender-cob-pof-cob-Blender  (Read 2994 times)

0 Members and 1 Guest are viewing this topic.

Offline NucNuc

  • 24
Blender-cob-pof-cob-Blender

Perhaps a noob question.

From Blender 2.42a up to 2.48a there are two python scripts in the blender folder when unpacked for import and export to cob:

"""
Name: 'TrueSpace Hierarchy -FS2- (.cob)...'
Blender: 244
Group: 'Export'
Tooltip: 'Export selected meshes with hierarchy to TrueSpace File Format (.cob)'
"""

and

"""
Name: 'TrueSpace (.cob)...'
Blender: 232
Group: 'Import'
Tooltip: 'Import TrueSpace Object File Format (.cob)'
"""

Can anybody explain to me what's wrong with these and why the collada export/import as described in the wiki is necessary ?

(or tell me where the thread is that deals already with this question)

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Blender-cob-pof-cob-Blender
Collada export/import works for many other modelling programs that cannot output cobs. From the looks of it it isn't 100% necessary for Blender users, but for people that you know, don't use Blender or TrueSpace, it's nice. (unless the wiki said that collada is necessary for blender, in that case, ignore me - I don't know which article you're talking about).

Aside from that fact, cobs have some issue with smoothing (like the model is either 100% smoothed or not smoothed at all or something), someone else could probably explain this better than I could. I might even be just plain wrong.
(´・ω・`)
=============================================================

 

Offline esarai

  • 29
  • Steathy boi
    • Minecraft
Re: Blender-cob-pof-cob-Blender
I'll try to explain it better.  There is nothing wrong with the script called "TrueSpace Hierarchy -FS2-."  The other script didn't do hierarchy properly and was useless for FS converting.  TrueSpace tends to be a pain when compared to Collada.  I use Blender for all my FS stuff, and I find that the Collada option is easier and more satisfying than TrueSpace.

General requirements for a successful TrueSpace-to-FS conversion are that all the textures had to be in their own objects, which then have to be combined back into the main object inside truespace and then saved as a cob again and then converted into the FS format.  All the smoothing groups have to be edge-splitted so that they will be correctly drawn, and in several cases they just do not work.  Occasionally there either is no smoothing or the object is all in the same smoothing group and looks terrible.  Also, there are axis inversions that occur along the way, which gets a little confusing. 

As a Blender user experienced converting things for FS through both these methods, Collada exporting is a lot easier to use.  It may look like chaos to set up, but it is well worth the effort and is less hair-pullingly frustrating than TrueSpace.  The axis inversions do not happen, no texture subobjects are necessary, and smoothing groups are recognized.  However blender itself does not support smooth groups, so you have to do the edge-splitting anyways.

TrueSpace has limitations regarding model size.  Too much detail makes the "cleaning" of the .cob file take forever.  On my largest ship, it took me three hours just to get the turrets parented to the hull, and another three to get all the detail boxes correctly set up.

Collada completely negates the need for truespace, is generally more error-free than truespace, and is done in a way that makes naming a large quantity of objects a lot faster.  In the TrueSpace method, every object that set up turret firepoints and paths had to have very specific names that made using Blender's "Batch Object Name Edit" script ineffective.  The firepoints need to be named "turretXX-fpYY," and can't have Blender's ".00X" tag that denotes duplicate objects in the name.  Collada only has two object names (turretXX and helperXX) that must be unique, but only one XX needs to be defined per turret since you can duplicate the turret, clear its mesh and replace the "turret" in the name with "helper." This makes these scripts much more useful.  Also, Collada ignores the ".00X" tag and makes naming objects go a lot faster.

I noticed that the FS -> TrueSpace -> Blender conversion always destroyed the location information for the ship's subobjects, making them all appear at the origin and crapped the hierarchy.  Collada preserves the hierarchy and subobject data.  If you're planning on doing any renders with FS ships in them, Collada is the way to go.

In fact, forget TrueSpace and learn the way of the Collada.  You have a choice between anger, agony and frustration or pleasure, happiness and satisfaction here.

There's a reason many of us refer to TrueSpace as "TrueCrap."
<Nuclear>   truth: the good samaritan actually checked for proof of citizenship and health insurance
<Axem>   did anyone catch jesus' birth certificate?
<Nuclear>   and jesus didnt actually give the 5000 their fish...he gave it to the romans and let it trickle down
<Axem>and he was totally pro tax breaks
<Axem>he threw out all those tax collectors at the temple
<Nuclear>   he drove a V8 camel too
<Nuclear>   with a sword rack for his fully-automatic daggers

Esarai: hey gaiz, what's a good improvised, final attack for a ship fighting to buy others time to escape to use?
RangerKarl|AtWork: stick your penis in the warp core
DarthGeek: no don't do that
amki: don't EVER do that

  

Offline NucNuc

  • 24
Re: Blender-cob-pof-cob-Blender
 :) Thanks a lot you really helped me making up my mind.

(And now I have to go learning blender-ing.)
« Last Edit: August 12, 2009, 01:28:03 pm by NucNuc »