Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Tools => Topic started by: The E on November 20, 2010, 06:13:01 am

Title: instance_geometry not found error
Post by: The E on November 20, 2010, 06:13:01 am
So, I have been trying my hand at some model work. Never lacking in ambition, my first project was Steve-O's Wraith (known as the Uriel in WiH).

Now, There are a few things strange here. One, when exporting this model from Cinema4D, and into PCS2, I get the error mentioned in the thread title on the detail1 and detail2 subobjects. In addition, Coordinates seem off; I have to place thruster objects, firepoints, and other stuff a few units above their wanted positions to get them placed correctly in-game.

C4D File: http://blueplanet.fsmods.net/E/Uriel%205.c4d

DAE generated from that: http://blueplanet.fsmods.net/E/Uriel%205.dae

What am I doing wrong here?
Title: Re: instance_geometry not found error
Post by: Angelus on November 20, 2010, 06:22:05 am
can't open the c4d file, but do the other details have a centerpoint ( a helper named centerpoint_detail1, aso)?
If not set one. Do you select everything when exporting to .dae?
Title: Re: instance_geometry not found error
Post by: Spicious on November 20, 2010, 06:34:01 am
It's got an extra detail1 node that doesn't have any geometry as the parent of the one that does. Support for this probably could be added.

Things turning up out of place might be due to helpers having transformations defined; these are currently ignored by the importer. Otherwise, I'd need to have a look at the input.
Title: Re: instance_geometry not found error
Post by: The E on November 20, 2010, 07:01:10 am
Yeah, I figured this out while looking at the dae in notepad++. Fixed it, everything's fine now, thanks guys.
Title: Re: instance_geometry not found error
Post by: Nuke on November 21, 2010, 08:04:54 pm
i kinda wish somone would put all of pcs2's autogen capabilities up somewhere, possibly with model examples. there seems to be lots of features that just aren't documented anywhere. the wiki page (http://www.hard-light.net/wiki/index.php/Collada_Importer) is somewhat hard to find, its woefully out of date, and the descriptions need to be more descriptive. it doesn't give you any idea of what hierarchy to use. there are tutorials that cover this but they are scattered all over the place and sometimes wrong and contradictory, what is needed is a solid reference. so i can go to one place and at a glance know what i need to name it, and what it needs to be connected to to convert properly. its also easier to update than the hodgepodge of forum tutorials floating around out there.
Title: Re: instance_geometry not found error
Post by: pecenipicek on November 22, 2010, 04:19:37 am
The_E, when you have problems with exporting from C4D, bug me, trust me. There is a lot of hidden **** with its exporter, and i know about at least half of the ****ups.


About the stuff being a few points above their positions you left them in C4D, make sure that any helper subobject is at (0,0,0) and stuff like that. Also be careful about rotations on anything thats not a firepoint/thrusterpoint/etc...


Title: Re: instance_geometry not found error
Post by: Spicious on November 22, 2010, 05:46:48 am
i kinda wish somone would put all of pcs2's autogen capabilities up somewhere, possibly with model examples. there seems to be lots of features that just aren't documented anywhere. the wiki page (http://www.hard-light.net/wiki/index.php/Collada_Importer) is somewhat hard to find, its woefully out of date, and the descriptions need to be more descriptive. it doesn't give you any idea of what hierarchy to use. there are tutorials that cover this but they are scattered all over the place and sometimes wrong and contradictory, what is needed is a solid reference. so i can go to one place and at a glance know what i need to name it, and what it needs to be connected to to convert properly. its also easier to update than the hodgepodge of forum tutorials floating around out there.
Try exporting a model with helpers.

About the stuff being a few points above their positions you left them in C4D, make sure that any helper subobject is at (0,0,0) and stuff like that. Also be careful about rotations on anything thats not a firepoint/thrusterpoint/etc...
That's actually on the could be fixed without too much effort list. No one's seemed to have cared about it getting done though.
Title: Re: instance_geometry not found error
Post by: pecenipicek on November 22, 2010, 05:53:09 am
its on the c4d dae exporter level actually if i remember correctly, not PCS2.


when imported back the points are a few units above their originally designated points.



i need to test it properly, but i did manage to get about 12-14 pofs to autogen correctly with all the data intact and all points in their correct positions and stuff. only thing done in pof afterwards was moi data and autopaths...