>On Thursday 2010-09-02 21:41:05 +0100, Robert Norris wrote: >> 1. In the calculation of the colour used (especially for the height mode) >> what is the point of the '+1' here: >> vdl->gcsgradient[(gint)floor((change - vdl->min_elev)/(vdl->max_elev - >> vdl->min_elev)*(DEM_N_GRADIENT_COLORS-2))+1] >> >> If it is removed, it means when you increase the min elevation, elevations >> below this level drawn using the zero index i.e. in blue. >> Hence it's then like rising sea levels and a global warming simulator! >> Looks much better than the default brown.
>That may be an accidental commit by me. When I wrote the gradient mode, >I also did a lot of experimenting. >David It looks like it came from the original DEM merge. Re my own point 2: I was playing around with the alpha value to overlay maps on top of the DEM, which looks alright - except the default blue is a bit too 'strong', and thus hard to make out map detail around the coasts. And since I live in Portsmouth (UK), it's quite an obvious thing to look at! Thus maybe change the default blue to a slightly lighter shade - 'light blue' seems to work well. Possibility could keep colour property; but make that apply to the sea level / min elev colour. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/