Did something happen to TextureEnv previews?

Forester1

Well-known member
If I try to look at TextureEnv assets with Open-Preview Asset, I no longer get a preview, just a blank screen with the numbers in the upper left pretty much zero. Has this changed recently? It still works fine if I do it in TRS19, but I am getting nothing in TRS22. Is that an SP5 bug? I am not sure because it is a while since I tried to do it.
 
All of the TextureEnv assets. I can preview them in TRS19, but not in TRS22. All other assets work just fine. Maybe I need to update my graphics driver... Except I do get the preview screen with numbers in the upper right, but all the numbers are zeros and the preview screen is just white.
 
All of the TextureEnv assets. I can preview them in TRS19, but not in TRS22. All other assets work just fine. Maybe I need to update my graphics driver... Except I do get the preview screen with numbers in the upper right, but all the numbers are zeros and the preview screen is just white.
Try your driver, but before you do that adjust your Trainz graphics settings. What this will do is flush the cache and force a rebuild. You can always set the settings back to where you had them afterwards.
 
I have TRS22PE SP5. The Launcher says the Renderer is Direct X11. THe pulldown has no other choices, but when I run DXdiag it says I have DirectX12 installed. It is set like so:
DirectDraw Acceleration Enabled
Direct3D Acceleration Enabled
AGP Texture Acceleration Enabled
DirectX 12 Ultimate Disabled (I don't know how t change this or if I can. I am running a fairly old NVIDIA GeForce GTX 1080, but it works OK for Trainz)

Is there some way I can change Trainz to use DirectX12? I have seen several posts about it recently.

EDIT: I tried changing settings in the Performance tab, but it did not help.
 
Last edited:
I have TRS22PE SP5. The Launcher says the Renderer is Direct X11. THe pulldown has no other choices, but when I run DXdiag it says I have DirectX12 installed. It is set like so:
...
I vaguely recall a message in the Trainz Discord SP5 beta channel that DirectX 12 was removed during testing. Based on what is said in the RoadMap perhaps it will come in the next release (not a bug fix release).

I ran DXDiag on my rig, which includes an RTX2080Ti, and my settings are the same as yours except I couldn't find any mention of DirectX12 Ultimate. I do have all the dev options turned on including the "show errors on legacy calls". The latter is about Trainzscript.

I'm not convinced it is a DirectX issue but more like an asset caching problem. Maybe run PreBuild will help? That can take hours to run depending on the size of your database but you can provide it with a list of textureenv assets so it would just pre build those.
 
Back
Top