PDA

Vollständige Version anzeigen : Height color bug above the slider


Jules Verne
21.July2007, 18:10
Has this happened to anyone else?

I'm not doing anything different, it's happened a couple of times, seems to be random. The color displayed above the isolines height slider will sometimes forget its colors and begin displaying mostly black shades with a few random light blues and reds. However the color and height isn't effected, so just some display bug perhaps?

As the screenshot shows, the isolines are using the correct color and are at the correct height, its just the little color box above the slider that sometimes seems to 'forget' what gradient is being used.

This particular time occured shortly after loading, so no other gradients had been loaded, no filters changed, just working from default.

http://img262.imageshack.us/img262/6223/heightcolorsjj5.jpg

cajomi
21.July2007, 18:47
Before the box above the slider can show the correct color, you must use the selection tool and select an isoline. The heights are not connected to the layer but the singel lines.

Jules Verne
21.July2007, 19:00
Yeah I know. But 99% of the time the color in that box corresponds correctly to whatever height I set the slider at, and works nicely as visual feedback when choosing different heights, and whenever I change the slider, the box displays the gradients shade correctly matching the height I've chosen. It also seems to fix itself if I change terrain resolutions a couple of times.

The bug is that randomly the color box stops following the slider. Like they become disconnected, or the color box suddenly thinks a different gradient is being used when in reality the gradient hasn't been changed.

eg:

Using the full terrain gradient set as an example. (blue to yellow to green to brown to gray)

Normally, if you select the lower heights, you'd get shades of blue, eventually brighter until you reach a sandy color, then on through greens and browns and ultimately grays and finally white.

However, when this bug happens, the little color box decides that the gradient is made up of mostly black shades, interspersed with the odd blue or red in random locations along its "internal" gradient.

Where previously there would have been displayed blue, it shows black, where there should be displayed Green, it shows black, or maybe red, where there would normally be white, it shows black or a dark blue. It gets confused somehow.

It's as if the color box itself has suddenly begun to use a completely different gradient. While it has no effect on actual work, and doesn't effect actual heights or colors in the 2d terrain display or 3d render. It just effects itself.

A very small bug but I thought I should mention it. While it is completely harmless and doesn't effect someone working on a terrain, it could confuse newcomers if it was to happen to them.

cajomi
21.July2007, 19:22
May be after changing the terrain height?

Jules Verne
21.July2007, 19:30
I 'think' what may be triggering it to happen is changing terrain resolutions or switching the coloring from a gradient to the use shader option and back again, but it doesn't seem to happen all the time, just.. randomly lol. Maybe some piece of code is just forgetting to update it fully and its trying to still use both the shader and a gradient at the same time, not clearing itself fully or something?

Being random its hard to track down exactly whats causing it. :( But since its not some disaster creating bug I'd not worry about it right now, its just the only one I've found lol.