Triangle Clouds And Jaggie Edges...

By Snacko, Feb 11, 2014 in Help!!

Posted February 14, 2014

Fortunately, modern GFX cards just eat it up!

large.DD-Signature.jpg.345348946893195d2fb36046bbc90daa.jpg.0269149e41488d6f21ef7162130cde40.jpg

B-52 Electronic Warfare Officer (EWO) veteran Jack Donovan’s natural response, when he was introduced to the tactics and mission details. His exact reply was: “you want me to fly in the back of a little tiny fighter aircraft with a crazy fighter pilot who thinks he’s invincible, home in on a SAM site in North Vietnam, and shoot it before it shoots me, you gotta be shitting me!

Posted February 14, 2014

Just fooling around with a bit of math here - 1920 x 1080 = 2,073,600 pixels.

 

At 30 FPS thats 62,208,000 AA algorithm passes every second

 

I've seen posted performance figures of 196,317,394,651 operations per second(!) for the GTX580. To put it another way, just under 200 gigaflops (I kid you not)

 

So assuming the AA algorithm involves less than 3155 operations we should be OK.

 

Before anyone comments I appreciate that the graphics cards do a lot of things over and above AA calculations but it was an interesting experiment.

 

Jabo

new sig copy.jpg

Posted February 14, 2014 · edited Feb 14, 2014 by Tolwyn

If you don't see a decrease in performance using Antialiasing, then, of course, it's personal taste. :)
 
And using nvidia control panel is the way to change your settings AS LONG as the extensions are enabled in conf.ini (do NOT use il2setup anymore, it's completely out of date).
 
I find turning it off helps me not only in performance, but also seeing dots in the distance.
 
In doing more research on the cloud issue, I've determined the following and I'll break it down very high-level.
 
The game, to save CPU and GPU cycles will render polyobs with less detail that the game thinks you cannot SEE. Clouds are static objects in each map. They aren't dymanic. They are always the same. So their rendering algorhythm is likely static for programmatic reason. How they are drawn/rendered is by what the game assumes you can literally see. This is known as LOD. Polygon Face Occlusion, Hidden Surface Determination, etc.
 
Now that being said, as you pan, clouds drawn in front of you that look normal, will likely "shift" into a lower LOD and looking full right, the clouds that were at your 12 o'clock that looked nice and fluffy, SHOULD look pointy and silly. Kinda like how you can focus on a plane in external view and zoom (move camera) slowly away from it, the LOD will change. In some cases, the LOD2, LOD3 for planes (the YAK comes to mind) actually appear LARGER than their LOD1 and LOD0 (highest detail) counterparts.
 
You COULD try to force nvidia to a fixed LOD bias ( http://www.tweakguides.com/NVFORCE_6.html ) and see if that helps.
 
Texture Filtering - Negative LOD Bias: LOD is the Level of Detail, and in some games you can alter the LOD Bias using various settings to sharpen details on screen. In such cases, you should set this setting to Allow, however note that altering LOD Bias can introduce aliasing (jaggedness to lines and edges) and shimmering. Since Anisotropic Filtering can also improve the sharpness of images without adding to aliasing, I recommend that you change this setting to Clamp for games in which you use any level of Anisotropic Filtering to give you better overall image quality.
 
So, at the original code's max FOV of about 105 to 110 degrees, it assumes you can't see clouds outside of this range and will render them with less detail. YOU SHOULD SEE clouds in front of you, and within the 110 degrees normally... even if you use 3 monitors; but on the edges, the clouds will/may take on a more "simplistic" shape to save rendering work through the OpenGL API (and likely DirectX as well).
 
Since you likely make up a small percentage of people using a 3rd-party application to render the game at a HUGE FOV across 3 monitors, they likely aren't going to address it (that's not saying you're a bad person, it's just not a priority... well, you may smell funny, but we still love you).
 
Since I don't have access to the sourcecode, this is an pretty good educated guess as to why CLOUDS are rendered with the funkiness as they are. You can try to tweak with the SKY settings or whatever controls cloud detail, but my guess is each setting will still be slaved to the rendering "corner cutting".

Posted February 14, 2014

At that high level I do understand what you are saying, but the main thing was the jaggies that were annoying since they are right in front of you most of the time.  So, I'm going to live with the clouds.  When I brought them up the other day only 2-3 people spoke up and said they never see those.  Nobody said that 'did' see them, so I though I had something basically wrong with my settings.

 

But how do you know that I smell funny?  In the winter I don't bathe so my skin doesn't dry out.  Hmm..

Posted February 17, 2014

Oh. I thought the triangle-ish clouds was from the edges. My polygon LOD theory I think isn't the answer, then.

Posted February 25, 2014 · edited Feb 25, 2014 by Mayhem

You can try using a cloud mod or another one if you're already using one. From what I've seen when I did some altering of cloud textures it has a lot to do with how the clouds were faded out at the edges of the texture area.  If the cloud image reaches the border of the texture area before being faded it contributes greatly to this. Basically the cloud texture files are of set resolution like 640x480 or whatever they are (I don't recall offhand) with a picture of a cloud in the middle. If the picture of the cloud reaches the border of the 640x480 area before being faded out it helps make the clouds look like shit. That said, they way the clouds are rendered in the game inherently causes this angular effect to a greater or lesser degree depending on texture files being used. In other word using different cloud textures might possibly reduce the appearance of the phenomenon but I don't think there is any way to completely eliminate it.

 

It's been some time since I messed with this so I'm working off memory. There may be a setting in the conf.ini if I recall that can have a small effect on this as well but what it was eludes me right now.

Sign in to reply.