HowTo/Bogey/mesh

From TrainzOnline
< HowTo | Bogey(Difference between revisions)
Jump to: navigation, search
(Created page with " == mesh == '''This is a compulsory tag.''' Data type is string so it needs to be surrounded by "". This the name of the mesh that is being used within the asset. There ma...")
 
Line 7: Line 7:
 
Data type is string so it needs to be surrounded by "".
 
Data type is string so it needs to be surrounded by "".
  
This the name of the mesh that is being used within the asset. There maybe more than one mesh.
+
This the name of the mesh that is being used within the asset. There maybe more than one mesh.  
 +
 
 +
Trainz uses and can understand two mesh extensions either ".im" or ".trainzmesh". The second one is the current file extension to the mesh. It is created by trainz when an asset is imported into trainz. If a mesh is contained within a sub-directory of the directory containing the config file. Example the sub directory is "meshes" so the text would read "meshes\mesh.im"
  
Trainz uses and can understand two mesh extensions either ".im" or ".trainzmesh". The second one is the current file extension to the mesh. It is created by trainz when an asset is imported into trainz.
 
  
 
If you have the ".lm" extension on the mesh name this point to a text file (LOD file). The mesh tag could also refer to the mesh itself i.e.. industry.im. If this were the case the asset would not have LOD mesh reduction.
 
If you have the ".lm" extension on the mesh name this point to a text file (LOD file). The mesh tag could also refer to the mesh itself i.e.. industry.im. If this were the case the asset would not have LOD mesh reduction.
Line 16: Line 17:
  
 
The ".lm" extension is mostly not used anymore and the LOD detains are contained within the main config file.
 
The ".lm" extension is mostly not used anymore and the LOD detains are contained within the main config file.
 +
 +
In the case of the shadow mesh it will be the name of the shadow mesh.

Revision as of 10:34, 7 February 2022

mesh

This is a compulsory tag.

Data type is string so it needs to be surrounded by "".

This the name of the mesh that is being used within the asset. There maybe more than one mesh.

Trainz uses and can understand two mesh extensions either ".im" or ".trainzmesh". The second one is the current file extension to the mesh. It is created by trainz when an asset is imported into trainz. If a mesh is contained within a sub-directory of the directory containing the config file. Example the sub directory is "meshes" so the text would read "meshes\mesh.im"


If you have the ".lm" extension on the mesh name this point to a text file (LOD file). The mesh tag could also refer to the mesh itself i.e.. industry.im. If this were the case the asset would not have LOD mesh reduction.

So an ".im" or ".trainzmesh" extension is referencing the asset mesh directly where as the "".lm" extension refers to a LOD text file with the mesh information contained within that text file.

The ".lm" extension is mostly not used anymore and the LOD detains are contained within the main config file.

In the case of the shadow mesh it will be the name of the shadow mesh.

Personal tools