±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: Kaczor
New Today: 0
New Yesterday: 0
Overall: 6640

People Online:
Members: 0
Visitors: 79
Total: 79
Who Is Where:
 Visitors:
01: Community Forums
02: News Archive
03: Community Forums
04: Member Screenshots
05: Downloads
06: Photo Gallery
07: Community Forums
08: Community Forums
09: Community Forums
10: Community Forums
11: Community Forums
12: Community Forums
13: Home
14: Community Forums
15: Community Forums
16: Community Forums
17: Photo Gallery
18: Community Forums
19: Community Forums
20: Community Forums
21: Community Forums
22: Home
23: Community Forums
24: Community Forums
25: Community Forums
26: Photo Gallery
27: Photo Gallery
28: Community Forums
29: Community Forums
30: Community Forums
31: Downloads
32: Community Forums
33: Community Forums
34: Photo Gallery
35: Community Forums
36: Photo Gallery
37: Community Forums
38: Community Forums
39: Community Forums
40: Community Forums
41: Community Forums
42: Community Forums
43: Home
44: Downloads
45: Downloads
46: Community Forums
47: Community Forums
48: Community Forums
49: Community Forums
50: Community Forums
51: Community Forums
52: Photo Gallery
53: Home
54: Community Forums
55: Statistics
56: Community Forums
57: Community Forums
58: Community Forums
59: Community Forums
60: Member Screenshots
61: Home
62: Community Forums
63: Statistics
64: Community Forums
65: Community Forums
66: Community Forums
67: Community Forums
68: Community Forums
69: Community Forums
70: Community Forums
71: Community Forums
72: Community Forums
73: Community Forums
74: Community Forums
75: Community Forums
76: Community Forums
77: Community Forums
78: CPGlang
79: Photo Gallery

Staff Online:

No staff members are online!
Blinking clouds with SP2/Acceleration :: Archived
A forum for Microsoft's Flight Simulator X
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ›  FSX

Topic Archived View previous topic :: View next topic  
Author Message
Uhu_Fledermaus
Aircraft Demolition Expert

Offline Offline
Joined: Nov 28, 2004
Posts: 4369
Location: Blaricum, The Netherlands ~GMT+1
PostPosted: Tue Feb 26, 2008 8:59 am
Post subject: Blinking clouds with SP2/Acceleration

Found this so I shamelessly copied it to share it with you fella's


Hey guys. I know a lot of people have been experiencing flashing clouds since SP2 and Accel came along, where entire sections of clouds will just blink out for a few frames and then return, particularly around cities or airports. It's pretty annoying and has put an enormous dent in my FSX video work, ruining shot after shot.

So after an *insane* amount of investigation and testing I figured out that this was caused whenever high polygon objects come into view, such as unique buildings, jetways, aircraft carriers, marinas etc, especially those contained in the files that make up the global scenery layer. This occurs primarily with Nvidia hardware but on older ATI cards as well.

Anyway if you are experiencing flashing clouds and they have been driving you as nuts as they have me (equivalent to two pieces of styrofoam being rubbed together ) then read on, I found a fix:

The ultimate culprit lies in the material handling of the cloud shader.

Go to this folder:

FSX\ShadersHLSL\misc

There you will find a file called SwarmCloud.fx. Make a backup copy of this file somewhere. (as always no crying if you don't do this step)

Open the original SwarmCloud.fx in notepad or wordpad and then look down about 20 lines down from the top. You will see this entry:

bool NewMaterialUsage = true;

Change its value from true to false. Make sure to keep the semi-colon.

Save and close the file.

Now, go to C:\documents & settings\<your username>\Local Settings\Application Data\Microsoft\FSX\

(If you can't get to this folder make sure that "show hidden & system files/folders" is turned on in your windows folder options.)

(This is the XP path by the way, Vista users will have to hunt for their equivlalent in the users folder.)

You will see a folder there called: Shaders.

Either move that folder out of there or delete it. Don't worry, FSX will build a new one the next time you run it. It contains a cache of the compiled shaders. This folder must be removed to ensure that the change you made to the cloud shader file above will be compiled and used on FSX's next run.

That's it. Run FSX and enjoy very solid and reliable clouds! I haven't seen any other bugs or oddities crop up from this change. I've had a few friends who were also experiencing flashing clouds test it as well, one on nvidia, the other on ATI, and their clouds stay perfectly put now.

Six days of work to come up with this simple solution, ugh. I mistakenly came at it from the scenery angle thinking it was some kind of texture conflict, guess I enjoy taking the long way around, hehe. On the upside I now know a ton more about FSX's scenery and memory management than I ever wanted to. I've also seen a big reduction in the stupid black square thing on the beacon lights and vasi etc, could be related, not sure. Eradicating that is my next challenge.

Disclaimer: I have only tested this on DX9 under XP pro 32. I have no idea if there will be any difference in behaviour on Vista or under DX10, hence the backup.



fled
Cool
Back to top
View user's profile ICQ Number MSN Messenger Photo Gallery
401RCAF_Jel
Power User

Offline Offline
Joined: Jan 05, 2005
Posts: 614
Location: Hiding in Sherwood Forest
PostPosted: Tue Feb 26, 2008 12:10 pm
Post subject: Re: Blinking clouds with SP2/Acceleration

I've not expereinced it with my Nvidia gear but still a very handy tip, thanks Fled Mr. Green

_________________
System: Mobo - Asus P5N32 E-SLI, RAM - Corsair 2GB 6400C4 DDR2, Graphics - GeForce 8800GTS 320mb GDDR3 PCI-Express, Proccessor - Intel CPU Core 2 Duo E6600 2.40GHz 1066FSB LGA775 4MB cache.
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ›  FSX
Page 1 of 1
All times are GMT - 6 Hours

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.