Change gradient for f2 view.

Change gradient for f2 view.

Requests for features in the spring code.

Moderator: Moderators

User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Change gradient for f2 view.

Post by smoth »

Google_Frog wrote:
smoth wrote:Image
I see this as a bit of an issue. The texture gives the impression that bots can only walk on the green areas yet they are able to cut across the lower cliff.
FLOZi wrote:Same issue applies with S44 infantry, fwiw.
smoth wrote:then have the devs tweak what the pathing visual actually means.
Image
because to me, red means red... so I tell you what, I will adjust the texture the better match the actual slope intolerance, when the devs do the same.
The f2 view is difficult to discern pathing.

request:
change from a gradient to have color bands:

- passable
- passable with slowdown
- UNPASSABLE.

I don't care about the colors just need some way to see what is actually passable.

it would be a great help to mappers, content devs working on movement classes and players trying to discern
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Change gradient for f2 view.

Post by Google_Frog »

- passable
- passable with slowdown
- UNPASSABLE.
These 3 things are very clear to me from your image. Although a completely different colour for UNPASSABLE wouldn't be a bad thing.
the above
Posts: 18
Joined: 28 Dec 2011, 13:45

Re: Change gradient for f2 view.

Post by the above »

I don't know if it's the case for smoth, but red-green color blindness is common enough. So making the impassable areas blue for example, would make it clear for everyone better than just a different red shade.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Change gradient for f2 view.

Post by AF »

That isn't the only issue

Protanopia:
Image

Deuteranopia:
Image

Achromatopsia:
Image
Attachments
screen00307_achromatopsia.jpg
screen00307_achromatopsia.jpg (4.56 KiB) Viewed 2628 times
screen00307_deuteranopia.jpg
screen00307_deuteranopia.jpg (4.82 KiB) Viewed 2628 times
screen00307_protanopia.jpg
screen00307_protanopia.jpg (4.81 KiB) Viewed 2628 times
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Change gradient for f2 view.

Post by AF »

I suggest we move towards a deep dark red almost black for unpassable, with a hard cut off, then for the rest, a gradient of light green with a tint of blue for passable, and a darker purple for semi passable:

Image
Attachments
ground.jpg
(23.57 KiB) Downloaded 2 times
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Change gradient for f2 view.

Post by smoth »

please don't turn this into an artistic endeavor.

P.S. I don't care about colorblind people.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Change gradient for f2 view.

Post by smoth »

Google_Frog wrote:
- passable
- passable with slowdown
- UNPASSABLE.
These 3 things are very clear to me from your image. Although a completely different colour for UNPASSABLE wouldn't be a bad thing.
Not to me, I can see that it is orange but UNPASSABLE is fairly hard to tell because of the nature of gradients.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Change gradient for f2 view.

Post by Jools »

Green and blue are not good colour choices either. They are the same in Japanese.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Change gradient for f2 view.

Post by smoth »

ao and midori are not the same even when it was the same midori was a shade of ao.. try again :)
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Change gradient for f2 view.

Post by Pxtl »

To me the big problem is that it's gradual. Why is it gradual? Passability isn't gradual - either the unit can go there or it can't. Full-speed-to-slowdown should be gradual, but slow-vs-impassable isn't gradual.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Change gradient for f2 view.

Post by knorke »

Until this (maybe) gets fixed:
You can use a test unit with slopeMod=0 to check your maps for pathing.
That gives very clear red/green borders with no gradient.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Change gradient for f2 view.

Post by Forboding Angel »

Google_Frog wrote:
- passable
- passable with slowdown
- UNPASSABLE.
These 3 things are very clear to me from your image. Although a completely different colour for UNPASSABLE wouldn't be a bad thing.
Same here, but I also see the point of the OP.

Here is an interesting footnote. The allterrains in evo have a slope tolerance of 60 iirc (which means they can quite literally go up 90 degree slopes), but still, slopemods actually do affect them. I consider this a feature, a really nice one for that matter, but I always thought it was curious. I assume that by setting a unit to 360 degree slope tolerance, the entire pathing map would be very green.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Change gradient for f2 view.

Post by Google_Frog »

I don't see how it is a large problem. There is no gradient between passable and impassable, it clearly jumps from orange to solid red.

Image
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Change gradient for f2 view.

Post by AF »

smoth wrote:please don't turn this into an artistic endeavor.

P.S. I don't care about colorblind people.
If it were an artistic endeavour I would not have chosen butt ugly colours.

You asked for improved colours because what we have is not clear enough to discern accurately, I provided a suggestion.

Green with a tint of blue: Because green means go in most cultures, and the blue differentiates it for colour blind people, look at the green in traffic lights

Purple: Because Orange is too close to red, and it's not that close to green

Dark red: because it contrasts heavily with the other two colours.

It also sets up dark as impassable and light as passable as a secondary mechanic for gauging passability, rather than relying purely on colour.

If I wanted an artistic alternative: I would draw an opaque red line around the impassable areas, with a 50% translucent red area covering anything that wasn't impassable or totally passable.



Whatever helps colour blind people normally helps people who aren't colour blind. In this case it's the dual scheme of colour and luminosity.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Change gradient for f2 view.

Post by AF »

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Change gradient for f2 view.

Post by knorke »

I don't see how it is a large problem. There is no gradient between passable and impassable, it clearly jumps from orange to solid red.
imo not clear enough: the difference is noticeable but only if you know know there is one and see the colors side by side.

Image
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Change gradient for f2 view.

Post by Forboding Angel »

^^ yeah, that makes a lot more sense tbh
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Change gradient for f2 view.

Post by FLOZi »

+1 from me to knorkes suggestion also.

(AF's is fine too but I guess would require more engine dev time)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Change gradient for f2 view.

Post by FLOZi »

https://github.com/spring/spring/commit ... fcbab92d21
F2 view: make unpassable squares purple (better contrast)

07ffe9c943
Browse code
jK authored just now
http://springrts.com/dl/buildbot/defaul ... -g05df319/
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Change gradient for f2 view.

Post by jK »

Image

Image
Attachments
f2_view_2.jpg
(59.76 KiB) Downloaded 2 times
f2_view.jpg
(74.66 KiB) Downloaded 2 times
Post Reply

Return to “Feature Requests”