Page 1 of 1

Labels overlapping the Red Selection Cursor in 1.6.0pre

Posted: 05.01.2009, 23:45
by t00fri
Chris,

just in case you forgot, here is a reminder how things look without a rotation of the selection cursor by 45 degrees for galaxies and globulars

galaxy
ngc1003.jpg

globular
NGC6638.jpg


Fridger

Re: Labels overlapping the Red Selection Cursor in 1.6.0pre

Posted: 06.01.2009, 00:13
by chris
Try changing this line in renderCrosshair (in render.cpp):

Code: Select all

        float theta = (float) i / (float) markCount * (float) (2 * PI);


to this:

Code: Select all

        float theta = (float) (PI / 4.0) + (float) i / (float) markCount * (float) (2 * PI);


Let me know your opinions. I think that it's an improvement--it doesn't just lessen label overlap, the 45 degree orientation also reduces obvious aliasing artifacts.

--Chris

Re: Labels overlapping the Red Selection Cursor in 1.6.0pre

Posted: 06.01.2009, 01:08
by t00fri
chris wrote:Try changing this line in renderCrosshair (in render.cpp):

Code: Select all

        float theta = (float) i / (float) markCount * (float) (2 * PI);


to this:

Code: Select all

        float theta = (float) (PI / 4.0) + (float) i / (float) markCount * (float) (2 * PI);


Let me know your opinions. I think that it's an improvement

Aah! Good and simple. Doesn't look bad at all.

Incidentally, Stellarium also uses a similar selection cursor type with an inverted arrow quartett rotated by 45 degs. I have to "sleep one night" over the new looks. But so far it seems a clear improvement...

it doesn't just lessen label overlap, the 45 degree orientation also reduces obvious aliasing artifacts.

--Chris

Yes, we agree here, too..

Other opinions?

Fridger