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

0 Members and 2 Guests are viewing this topic.

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Cash prize for Collada - POF support!
Is there a link for the converter? I've read through this entire thing and seemed to have missed it *rubs eyes*

It's in Spicious's sig.

 
Re: Cash prize for Collada - POF support!
Thanks found it, but can't run it, "The application has failed to start its side-by-side configuration is incorrect. Please....."

Which build of pcs should I use with it?
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 chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Cash prize for Collada - POF support!
I just used the PCS2.0.3 installer, and then swapped the executables.  Seemed to work fine.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: Cash prize for Collada - POF support!
Ok I was running 2.0.2, but even with 2.0.3 it still complains about this.
Let me try googling it.

Edit: ok only tow results, and one was from me.  What VC runtime are you using?
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!

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Cash prize for Collada - POF support!
2008

Thanks :)  I had the same problem as Scooby, and that seems to have fixed it.

 
Re: Cash prize for Collada - POF support!
Yup that solved that problem, on to the next one.

I can't seem to get pcs2 to actually import a single object. It'll convert it, and even give the textures but no mesh data.
The object should be called detail01 right?  (i've tried detail0, detail01 and detail1)

Also are the export settings correct? no bake matrices, do use relative paths, use normals, triangulate, and xrefs but no tangents/binomals and export animation?
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!
Should be detail0.

Try checking that the node actually has an id of "detail0". I think the 3ds samples had "-node" added to all the nodes. Hmm, maybe it needs a warning if it doesn't find LOD 0.

As for settings: no idea, but I think normals sound sensible.

  
Re: Cash prize for Collada - POF support!
I do see detail0-mesh in the dae file.
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!
That's good, anything else with detail0?
It expects to find a visual scene containing everything.
I'd suggest exporting a pof and basing things off that.

 
Re: Cash prize for Collada - POF support!
Ok i've renamed it to XML so notepad++ can collapse the layers so I can read them better.

I think the <library_geometries> is where the actual object/vertex data is stored in correct?

The exported max file is <geometry id="detail0-mesh" name="detail0">
while the exported pof is <geometry id="detail0-geometry" name="detail0-geometry">

I've renamed every occurance of -mesh and still nothing.

edit: is there a working demo model I could use?
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 chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Cash prize for Collada - POF support!
The Language option in the menu allows you to override the detected language without needing to rename the file :)

VA and others posted some testing models earlier in this thread, some of them import ok currently, others don't meet the new input requirements.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Cash prize for Collada - POF support!
Hmm ... no matter how much fiddling I do with the file, I have not been able to get the importer to open any of SketchUp's DAE files correctly.  It opens them, seems to load the textures, but refuses to load any of the geometry :mad:.  Not sure if you want to take a look at this, since SketchUp is kind of a fringe application in the world of FS modding, but if you want I can provide a couple of SU-exported DAEs...

 
Re: Cash prize for Collada - POF support!
Hmm ... no matter how much fiddling I do with the file, I have not been able to get the importer to open any of SketchUp's DAE files correctly.  It opens them, seems to load the textures, but refuses to load any of the geometry :mad:.  Not sure if you want to take a look at this, since SketchUp is kind of a fringe application in the world of FS modding, but if you want I can provide a couple of SU-exported DAEs...

Thats what I'm getting too.
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!
The geometry naming doesn't matter. The important things are in <library_visual_scenes>.

 
Re: Cash prize for Collada - POF support!
Thanks for the explanation Spicious :D
That explains quite a bit with many of the formats I have tried as well with other 3D applications.
That would seem a fundamental key with the compatibility of platforms in terms of all the geometry showing up.
Makes it one hell of a lot easier trying to figure out what went wrong with the platform conversion process.
Many thanks for your work and guidance!!!!
It explains the inherent need for UVW mapping in the platforms as well based on my limited knowledge.
« Last Edit: August 12, 2008, 10:58:29 pm by KewlToyZ »

 
Re: Cash prize for Collada - POF support!
Ok I'm seeing this:
Code: [Select]
  <library_visual_scenes>
    <visual_scene id="epee19.max" name="epee19_max">
      <node id="detail0-node" name="detail0" type="NODE">
        <translate>-0.000011 -121.371 5.26339</translate>
        <node id="detail0-node_PIVOT" name="detail0_PIVOT" type="NODE">
        <node id="Object03-node" name="Object03" type="NODE">
        <node id="Box09-node" name="Box09" type="NODE">
      </node>
      <extra>
      <extra>
    </visual_scene>
  </library_visual_scenes>

Group detail0 contains Object03 and Box09. The node's name attribute seems correct.
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!
The id is the important one though. Each subobject node should have an <instance_geometry> linking to its geometry too.

 
Re: Cash prize for Collada - POF support!
Code: [Select]
        <node id="Object03-node" name="Object03" type="NODE">
          <translate>0.000021 -102.244 37.7643</translate>
          <instance_geometry url="#Object03-mesh">
            <bind_material>
              <technique_common>
                <instance_material symbol="orig_Standard_2" target="#orig_Standard_2">
                  <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/>
                </instance_material>
              </technique_common>
            </bind_material>
          </instance_geometry>
        </node>

and in the instance_geometries:
Code: [Select]
    <geometry id="Object03-mesh" name="Object03">
    </geometry>

It appears it's prefixing the url attribute in instance_geometry with a "#" sign.
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!
That should be fine if you want a subobject named Object03 or possibly Object03-node.

A find and replace of "-node" with nothing should fix the -node problem.