change progressive mesh to LOD

G'day! :wave:

PEV's tool PM2IM will convert Progressive meshes to Indexed Meshes. Which will work all the same.

Cheers! :)

Jake.
 
You can change .pm to .im with Pev's tools but without the Blender, GMAX, or 3DS source you won't be able to create the lower level of detail meshes for lod.

Only the content creator can do this.

Cheerio John
 
It hasn't worked for me.
I have forced this loco through several incarnations of Trainz but it looks like progress has finally caught up with me.
Maybe a new GS-4 will appear to supplement the lack of steam in TS12.
Thanks guys.
 
It hasn't worked for me.
I have forced this loco through several incarnations of Trainz but it looks like progress has finally caught up with me.
Maybe a new GS-4 will appear to supplement the lack of steam in TS12.
Thanks guys.

Do you mean the conversion of .pm meshes to .im didn't work, or that you've done that and the loco doesn't work? PM2IM will reliably convert .pm to .im, but the config.txt also needs to be amended with mesh-tables that point to .im files instead of .pm. Did you do that?
 
I used the conversion but I wasn't aware I had to change the config file.
Thought it was all automatic.
What do I have to do to the config file?

Bernie.
Joined up - Looked for the GS4 but couldn't download.
Seems to be a problem with the site.
 
Last edited:
I used the conversion but I wasn't aware I had to change the config file.
Thought it was all automatic.
What do I have to do to the config file?

Bernie.
Joined up - Looked for the GS4 but couldn't download.
Seems to be a problem with the site.

Currently the config.txt file looks for a .pm file, so that needs to be changed to a .im file. However you are running TS12 so you also need a mesh table entry something like:

mesh-table
{
default
{
mesh "asset_body/body.im"
auto-create 1
}
}

Have a look at <kuid2:217096:300004:1> you may also need to change the bogey entries in the config.txt file.

If you are changing to lod then you'll need the lod meshes, look at <kuid2:58422:1082:2> and you'll see the mesh reference is .LM this refers to a separate file xyz.lm.txt which contains pointers to the lod meshes.

Cheerio John
 
Good work boys. I now have the loco running without errors or warnings.
I didn't realise that the "pm" within the quotes in the mesh line had not changed automatically
Changing this to "im" fixed the problem.
 
Last edited:
Good work boys. I now have the loco running without errors or warnings.
I didn't realise that the "pm" within the quotes in the mesh line had not changed automatically
Changing this to "im" fixed the problem.

We only have this feature working in AssetX.

All the PM2IM tool does is remake the mesh and re-name it. The user has to alter the config.txt.

I have, at last, developed a bullet proof config.txt parsing routine so some of little niceties like this may be added in the future.
 
Great.
Thanks.
Got the Cab Forward while I was at it.
I had to leave my previous one behind in 2006 because I couldn't get it to upgrade.
Now I have it again thanks to your information.
Learned a lot this Thread.
Thanks all.
Stuart.
 
Back
Top