| 1 | [[TOC]] |
| 2 | |
| 3 | == Exporting Errors == |
| 4 | |
| 5 | Sometimes when the artist in working on a model and gets it done, he might face some issues when trying to get the models he did into Pyrogenesis. |
| 6 | This page is dedicated to document and help you to identify the errors and their known solutions. |
| 7 | |
| 8 | == Requeriments == |
| 9 | |
| 10 | Each model must comply with a set of pre-determined requeriments by the engine. If the model doesn't fulfil all of the requeriments, the engine will pop up an error identifying where it failed. |
| 11 | Example: |
| 12 | |
| 13 | {{{ |
| 14 | error: art/meshes/structural/classical_towncenter.dae: Assertion not satisfied (line 569): failed requirement "mesh has single set of polygons" |
| 15 | }}} |
| 16 | |
| 17 | == Known requeriments errors and their solution == |
| 18 | |
| 19 | === "mesh has single set of polygons" === |
| 20 | |
| 21 | This error may appear if the model has non-connected vertices or edges. |
| 22 | |
| 23 | '''Fix''': In Blender, to discard this possibility, enter face selection mode, select all with "A" and hide all the selected faces with "H". |
| 24 | Then change the selection mode to vertex, and hit "A" to see if there's any "lost" vertex or edges and delete them. After that, unhide everything (with "Alt+H") and re-export the model. |
| 25 | |
| 26 | === "Found too many possible objects to convert" === |
| 27 | |
| 28 | This error is caused by several objects in the same .dae file. The engine can only read one object at the time per Collada file - excluding prop_points and armatures. |
| 29 | |
| 30 | '''Fix''': When exporting, you should use the "Export Selected" option in the Collada exporting menu - this option is present in both Blender and 3ds Max. |
| 31 | |
| 32 | Make sure to only have 1 object selected - no cameras, lights, other objects, etc - an re-export the model. |
| 33 | |