Export to RS: missing shapes

I had to do a not too small model… at least not to small when you need to update each shape without the material manager (I hope Paul will be able to provide it soon).

Each shape has :
Railsim keyword TrainBasicObjectDiffuse.fx
no specular or environment map
no normal map
A simple fill with the primary texture.

No change. Still the same shapes missing.

On another subject:
[img:4mg3aqjv]http://amabilis.com/forumattachments/a/tpc/f/50410947331/m/582108045[/img:4mg3aqjv]
Black faces in RS Asset Editor
.
Can you provide a solution for existing models?
I’ll have to make adjustments of the exterior model of the engine because of this.

At least, could you provide a Fill plugin which would simulate individual texturing if all faces with face coordinates?

I stripped down my 3D cab and came up with a small model with the export problem.

If I just move a shape from Main/Group to Main, it is present in the export.

Model emailed to support.

I exported, then imported it back into 3DC. I don’t really understand what the problem is. It seems to be the same in the export as in the original model.

From your explanation, the igs file imported in 3DC is displayed with all the shapes.

The problem is that some shapes are not displayed in RS Asset editor.
Which means that ‘something’ is not fully RS compliant in the igs file.

Maybe it’s related to groups / hierarchy although between the time it worked and now, I believe I only made texture changes and no hierarchy changes.

What is the export doing with groups / hierarchy?
Some hierarchy is needed for wheels, pantographs, for example.

Whatever the problem is with my model, the 3DC user should not have to remove groups and merge shapes before successfully exporting the model to RS (it makes the model less managable for any evolution).

It would be a lot more user friendly if the export could remove any hierarchy except those having special keywords (for wheels, pantographs, etc…).

Yes, I understand. I’m just surprised.

The three shapes have in common that they use TrainBumpSpecEnvMask.fx shader, and each has a separate texture for the specular map. I think the problem is that. Isn’t the specular supposed to be embedded in the alpha channel of the main texture?

3DC just exports the details of the textures used and makes no effort to check if these are suitable for the chosen shader.

Do you recall if specular needs to be in the alpha channel of the main texture? I don’t have the documentation handy.

I looked at a TgPcDx file from BR294 engine and compared to my TgPcDx file.
Yes, the alpha is embedded in BR294 file and not in mine.

I knew that the TgPcDx file should have alpha layer (for specular) embedded in the file.
But I thought the last version of the exporter was taking care of this, using 3DC specular map slot.

It’s been such a long time since I tried exporting…

This might explain why the export made Asset editor freeze and why the rendering is weird in the Asset Editor.
But will it explain the missing parts?

I’m going to make the changes and tell you the results.

Thanks very much!

I opened tgatool2 and exported with ToACE…

… and I’ll have to wait for the material manager plug-in availability (to remove the specular slot).

Tested on stripped down model.

[BLOCKQUOTE class=’ip-ubbcode-quote’][div class=’ip-ubbcode-quote-title’]quote:[/div][div class=’ip-ubbcode-quote-content’]Originally posted by DOM107:
This might explain why the export made Asset editor freeze
[/div][/BLOCKQUOTE]
No change.

[BLOCKQUOTE class=’ip-ubbcode-quote’][div class=’ip-ubbcode-quote-title’]quote:[/div][div class=’ip-ubbcode-quote-content’]Originally posted by DOM107:
why the rendering is weird in the Asset Editor.
[/div][/BLOCKQUOTE]
It looks OK. I’ll have to check the full model.

[BLOCKQUOTE class=’ip-ubbcode-quote’][div class=’ip-ubbcode-quote-title’]quote:[/div][div class=’ip-ubbcode-quote-content’]Originally posted by DOM107:
[b:35eqqpt4]But will it explain the missing parts?[/b:35eqqpt4]
[/div][/BLOCKQUOTE]
[b:35eqqpt4]No. No change.[/b:35eqqpt4]

But at least, with your remark Richard, I now properly export the model.
I checked my TgPcDx file: alpha texture is now present.

So, those parts are still missing?

Can you make a copy of the model and apply a very simple ‘fill’ to each of those shapes and try exporting?

I don’t have Rail Simulator at the moment so I can’t directly test this.

Can you give me an update on this?

I don’t have any problem of missing shapes.
I’ve taken into account the 24 groups limit by saving a model under a new name and moving a whole hierarchy under Main (these objects are in a hierarchy branch dedicated for this move).

The only very annoying problem remainig is <!– l –><a class="postlink-local" href="http://amabilis.com/forum/viewtopic.php?f=7&amp;t=4132&amp;p=23407#p23407">viewtopic.php?f=7&amp;t=4132&amp;p=23407#p23407</a>&lt;!– l –> (black faces with normal maps).

You must be logged in to reply in this thread.

12 posts