Can't convert my model – Train Fever /forums/topic/cant-convert-my-model/feed/ Wed, 30 Apr 2025 12:24:01 +0000 https://bbpress.org/?v=2.6.13 en-US /forums/topic/cant-convert-my-model/#post-10526 <![CDATA[Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10526 Wed, 01 Oct 2014 09:51:08 +0000 kaminari Hello Friends!

I’m trying to convert a model with TFMV 0.2.2 but it gives me an error every time.

I”m using LightWave 11.5 and this is the error:

Console output:

  1. Loading test.lwo model…
  2. [Assimp] Info, T8176: Load test.lwo
  3. [Assimp] Info, T8176: Found a matching importer for this file format
  4. [Assimp] Info, T8176: Import root directory is ‘.\’
  5. [Assimp] Info, T8176: LWO file format: LWO2 (>= LightWave 6)
  6. [Assimp] Warn, T8176: LWO2: Skipping unknown VMAP/VMAD channel ‘APS.Level’
  7. [Assimp] Info, T8176: Entering post processing pipeline
  8. [Assimp] Info, T8176: OptimizeGraphProcess finished; Input nodes: 2, Output nodes: 1
  9. [Assimp] Info, T8176: TriangulateProcess finished. All polygons have been triangulated.
  10. [Assimp] Error, T8176: Failed to compute tangents; need UV data in channel0
  11. [Assimp] Info, T8176: Leaving post processing pipeline
  12. Model has 1 meshes
  13. Processing mesh “Layer_0” (1/1)…
  14. Packing blob…
  15. Not controlled exception: System.NullReferenceException: Object reference not set to an instance of an object.
  16. in TFMC.Program.Main(String[] Args)

Hope anyone knows what I’m doing wrong… :S ?(

Anyway, is there any “example” train model in LightWave format o 3ds with boggies, animations,…?

Thank you!

 

]]>
/forums/topic/cant-convert-my-model/#post-10527 <![CDATA[Reply To: Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10527 Wed, 01 Oct 2014 10:05:40 +0000 Omich >[Assimp] Error, T8176: Failed to compute tangents; need UV data in channel0

Probably, your model haven’t texture coordinates. Try to map texture on it.

]]>
/forums/topic/cant-convert-my-model/#post-10531 <![CDATA[Reply To: Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10531 Wed, 01 Oct 2014 10:33:52 +0000 kaminari Thanks Omich, I’ll try it.

Currently my model is a simple box, just for try it out.

Therefore, do you know where can I get a complete sample train model in LightWave to be used as a learning base?

]]>
/forums/topic/cant-convert-my-model/#post-10543 <![CDATA[Reply To: Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10543 Wed, 01 Oct 2014 14:37:06 +0000 Omich Olahaldor made video of train creation.

For start, you just should convert each your train parts (housing, bogeys, wheel, animated elements such as doors) into separate .msh/.msh.blob pair. Than I propose to look at the standard transport configs.
Each game configuration file is lua-script, that consist of one function “data”, that returns associative array of values.

Main transport config is \res\models\model\vehicle\%transport_kind%\%transport_name%.mdl
Mdl-file consists of some sections:

  • boundingInfo describes model bounding box, that used by game to detect collision and so on;
  • collider – not sure, what it does;
  • metadata – contains in-game vehicle parameters such as speed, power and so on;
  • lods – refers to some .grp/.msh files.

Msh-files situated at \res\models\mesh\vehicle\%transport_kind%\%transport_name%\%mesh_name%.msh
Each msh file have the same name .msh.blob binary file, that contains mesh data. Msh files contains some generated data, that says to game, how to read data from .msh.blob. Also you should specify materials property to valid .mtl file.

Grp-files situated at \res\models\group\, they just groups some .grp/.msh files into one object, that can by referred in mdl file.

Mtl-files is in \res\models\material\ directory. They describes material parameters. Each .mtl file refers to shader and some .tga texture files in \res\textures\.

For start I suggest to duplicate .mdl file (and files, that refers to) of existing transport and than consistently change it’s values and models.

I am sorry for my bad English.

]]>
/forums/topic/cant-convert-my-model/#post-10565 <![CDATA[Reply To: Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10565 Wed, 01 Oct 2014 18:08:00 +0000 olahaldor Cool! Another LW guy. 🙂

I don’t recall exactly what error messages I had, but in the Surface settings for my model, I disabled “Exclude from VStack”, and set Vertex Normal Map to NONE (if there are any).

]]>
/forums/topic/cant-convert-my-model/#post-10577 <![CDATA[Reply To: Can't convert my model]]> /forums/topic/cant-convert-my-model/#post-10577 Wed, 01 Oct 2014 19:52:36 +0000 kaminari Thank you all for your explanations. Sure I’ll use them. Good to know I can recycle actual bogeys from the game meanwile not modeling a specific ones.

Finally got success in converting a simple “box” after mapping ALL surfaces, but when i visualize the “box” with TFMV only one surface is visualized. By the way I don’t worry about it at this time.

One question, If i toggle subpatch in LW model, when converted with TFMC, the subpatch stills visualize in Train Fever?

Thanks!

]]>