Author Topic: Cash prize for Collada - POF support!  (Read 141309 times)

0 Members and 2 Guests are viewing this topic.

Re: Cash prize for Collada - POF support!
Two questions.  First did the misplaced helpers get fixed yet?  I noticed that they still are misplaced.  Second whats the scaling conversion from max, 1 meter = 1 FS meter?
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline DaBrain

  • Screensniper
  • Moderator
  • 212
    • Shadows of Lylat board
Re: Cash prize for Collada - POF support!
Yes, if your unit setup in Max is set to meters, 1m in Max is 1m in FS2.
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Cash prize for Collada - POF support!
Hmm, it seems that something's wrong with exporting DAE files with helpers. In short, it doesn't - even if you say yes to "Export Helpers?".
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
It seems to work for me. Did this start happening recently?

 

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Cash prize for Collada - POF support!
I'm not sure - usually I export ships without helpers because I'm just after their scale or something. I'll retry it now with your latest sig build, though I think I'm already using it.

Which ships did you test it on BTW?
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
The high poly Ares, the Evanglist from 158th and a handful of probably secret models from MT.

  

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Cash prize for Collada - POF support!
Crap, figured it out. The new blender version (2.4.7) seems to have stopped reading helpers and interpreting them as blender empties. Now, while that means one solution is to copy the old script stuff from blender 2.4.5, that's not a very newbie friendly method. :\

I've attached the python script files (both sets) blender uses for collada related things in the hope that you can maybe spot what's going on there? I just have no idea what I'm looking for exactly - but I think it will be somewhere in translator.py, as that seems to be what deals with exporting.

If they've for whatever reason ripped out helper import support that will be a PITA. :\

[attachment deleted by ninja]
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
The biggest difference I can see is that a bunch of semicolons seem to vanished. Is it exporting blender empties as anything?

 

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Cash prize for Collada - POF support!
Yeah, it seems to be - it's just not importing them back in. The empties get converted to whatever they're supposed to be in the POF just fine.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 
Re: Cash prize for Collada - POF support!
Yes, if your unit setup in Max is set to meters, 1m in Max is 1m in FS2.

Actually I don't think it's quite like that...
I've just managed to get my first pof created with Collada, and ummmmm it's kinda HUGE  :lol:

The tape measure shows 18m when I'm in metric, however when I'm in regular max units it's 700.  It looks like it's using the 700 units = 1 fs meter.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
Yeah, it seems to be - it's just not importing them back in. The empties get converted to whatever they're supposed to be in the POF just fine.
In that case it's probably unintentional and should get fixed at some point.

 

Offline Galemp

  • Actual father of Samus
  • Moderator
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Cash prize for Collada - POF support!
Alright tough guys. I have here the mother of all messed up models.

It works as a PMF and can export to DAE.

It will not, however, export to a POF (hangs) or import as a DAE (crashes.)

VA's already tried his hand at it, and it even uncovered a PCS2 bug. But I want to see this model as a POF with a minimum of changes, as it's set up just the way I like it, and it's fully backwards compatible.

Have at it.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
Running it with the debugger seems to reveal heap corruption, but I think that might be fixed now and it seems to import.
It also seems to export to pof from the input dae. Try it.

Edit: There have been some other changes. I'll let you find them for yourselves.
« Last Edit: September 30, 2008, 12:07:18 am by Spicious »

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Cash prize for Collada - POF support!
from the cinema 4D front here, now that r11 is out. all the helpers seem to be out of sync with the scale of the model itself... (one scale used for the model, one, 10 or so times larger used for the helpers...)

tested with karnak, the model was extracted from the pof to dae, will test with some others...


if anyone can point me to some in-game ready (with helpers included... ie, at least subsystem and firepoints...)



also, for some reason the dae's i create with c4d usually punt out detail0 not found. (i just exported via pcs to dae, imported to cinema, exported to dae again witnessed the failure.

might be a problem with c4d's export tho, since my engine helpers dissapeared...

attached in the zip file
hg af.dae is pcs2(just downloaded the executable and the dll from your sig) exported dae
hg afe.dae is cinema 4d exported dae.

[attachment deleted by ninja]
« Last Edit: September 30, 2008, 04:41:17 pm by pecenipicek »
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Water

  • 210
Re: Cash prize for Collada - POF support!

It will not, however, export to a POF (hangs) or import as a DAE (crashes.)

Opened detail 0 mesh - selected the major mesh chunks and deleted but left the greebles in place - saved ok to pof.

Run out of time - is there a link to the textures - will take another look this evening.

 

Offline Galemp

  • Actual father of Samus
  • Moderator
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Cash prize for Collada - POF support!
The textures are in the Karnak release thread in the FS Port Upgrade forum. Click me!

I noticed the glowpoints have been messed up, and all the paths too, but those are rescued easily enough. Thanks SO MUCH Spicious. :D
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 
Re: Cash prize for Collada - POF support!
Question: How are lod levels suppose to be setup?  I've got them attached to as:

  • detail0
    • detail1
    • detail2
    • detail3

But in pcs it shows up as:

  • detail0
    • detail3
    • detail1
    • detail2
  • detail1
  • detail2
  • detail3

The lower lods are there twice, once under detail0 the other seperate.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
It should be:
  • detail0
  • detail1
  • detail2
  • detail3

The subobject hierarchies should pretty much transfer straight across.

I noticed the glowpoints have been messed up, and all the paths too, but those are rescued easily enough. Thanks SO MUCH Spicious. :D
The paths don't seem to be present in the dae and no one has made any suggestions on a complete format for glowpoints.
« Last Edit: September 30, 2008, 10:36:08 pm by Spicious »

 
Re: Cash prize for Collada - POF support!
Strange, I tried that before but didn't work.  Worked this time though.

Oh oh another minor issue.... the front and back are flipped.  The model shows up correctly in max, but in pcs2 your looking at it backwards.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Cash prize for Collada - POF support!
I'm going to blame that on inconsistent input, unless your "up_axis" is "X_UP". It's easy enough to change but I think someone else's model would end up facing the wrong way. I guess this should go on the to be decided list too.