PDA

View Full Version : flashing tracks and buildings


macneil
November 22nd, 2007, 04:01 AM
when i lay normal tracks its fine but when i make junctions and 1 track goes across another track the texture of gravel and ties in between the rails sort of flashes.And when i play a night session some buildings flash a bright white does anyone no how to fix this problem

john259
November 22nd, 2007, 04:32 AM
It's usually caused by having two surfaces exactly on top of one another.

Some things to try:

Try switching between OpenGL and DirectX, and/or adjusting your video board's settings. Sometimes this can help.

If the two surfaces are in different assets, try moving or rotating one of them slightly.

If the two surfaces are in the same asset and the problem affects numerous users then try contacting the creator and asking for a fix.

John

macneil
November 22nd, 2007, 05:29 AM
thanks for the advise john ill try them and see if they work

jimisham
November 22nd, 2007, 08:04 AM
Regarding the night sessions, I was sure that I had the flashing trees and buildings problems in both Directx and Open GL.

Then I saw the thread where john259 posted his video card settings. I set my video card to the same settings, and with Directx, the flashing disappears. It still happens when using Open GL. Try Directx and the changes to your video card.

http://forums.auran.com/trainz/showthread.php?t=18645

john259
November 22nd, 2007, 08:49 AM
It's nice to win one for once but it was only by pure luck, I'm totally NOT a video board expert!

John

jimisham
November 22nd, 2007, 10:42 AM
I have to admit that I printed your settings and wrote down my old settings before I made the changes in case it didn't work out. I was about ready to dump Classics when I saw the flashing buildings and trees.
It was also happening with a scenario called NG1300e that I have in TRS2006 that starts at around 5 AM. If I did a 360 degrees around the engine, all the buildings in the background would flash on and off as the background changed.

john259
November 22nd, 2007, 12:38 PM
I have to admit that I printed your settings and wrote down my old settings before I made the changes in case it didn't work out.
Very wise. That's always a sensible thing to do.

John

JCitron
November 22nd, 2007, 12:38 PM
This is a known problem, and it's known as coplanar faces. What's happening is your video card is trying to display two polygons in the same place at the same time, but since it can't it'll switch between the two objects.

The video card adjustments, and Directx settings change the way the video is buffered in memory (Z-buffer) so that helps to eliminate the problem in some cases.

@jimisham - I had that problem too in TRS2006 with some objects that had poor textures. I think it was the alpha channel for the texture. A single object would flash and make everything around it flash too. I ended up deleting those objects are replacing them with suitable replacements.

John