Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaner territory estimate display #487

Closed
milescrawford opened this issue Nov 11, 2021 · 22 comments
Closed

Cleaner territory estimate display #487

milescrawford opened this issue Nov 11, 2021 · 22 comments
Labels

Comments

@milescrawford
Copy link
Contributor

The dots-on-top view of estimated territory adds lots of unnecessary visual noise to the display. In addition, Katrain puts numbers and dots and other things on top of the stones, which are not compatible with this style. I suggest a contiguous shaded, underneath-stones display, as used by some other analysis programs.

Compare:
Screen Shot 2021-11-10 at 4 53 38 PM
Screen Shot 2021-11-10 at 4 53 23 PM

@sente361
Copy link

This is a feature that I also greatly desire. In my opinion the territory display in Katrain is a major defect. I really like the shading used in LizGoban which also gives the option to display the certainty of territory possession on a scale of 0 - 10.

image

image

@xiaoyifang
Copy link
Contributor

This is a feature that I also greatly desire. In my opinion the territory display in Katrain is a major defect. I really like the shading used in LizGoban which also gives the option to display the certainty of territory possession on a scal

In my opinion ,the display in LizGoban really a disaster,

@sente361
Copy link

In my opinion ,the display in LizGoban really a disaster

It would be best to give users the option of selecting either territory display mode since it seems that different people have opposing opinions on the merits of these two options.

@sanderland
Copy link
Owner

It would be best to give users the option of selecting either territory display mode since it seems that different people have opposing opinions on the merits of these two options.

This is definitely not going to happen, as I think there's already so many options it's confusing.

@milescrawford The clean, shaded view seems potentially better, and it's true I've not revisited this since the very early versions. Do you want to have a go at a PR?

@milescrawford
Copy link
Contributor Author

milescrawford commented Nov 11, 2021 via email

@milescrawford
Copy link
Contributor Author

milescrawford commented Nov 12, 2021

I have something working, but I'm having trouble figuring out how to paint the squares underneath the stones - even when I flip the draw_stone calls after the ownership calls, the transparent ownership boxes are drawn on top, dimming the white stones and other markings instead of just the board below. Still trying to learn how kivy manages z-index...

EDIT: nevermind, I was mistaken.

@sente361
Copy link

@milescrawford Thanks for doing this Miles! (Perhaps you can draw on the LizGoban repository or @kaorahi may help.)

@milescrawford
Copy link
Contributor Author

After my patch, territory and teaching display look like the attached images. If this looks good to people, I can clean things up, run tests (are there docs on how to run the tests?) and submit a PR.
Screen Shot 2021-11-11 at 11 43 48 PM
Screen Shot 2021-11-11 at 11 41 18 PM

@sente361
Copy link

It looks great to me. Well done Miles!

@milescrawford
Copy link
Contributor Author

Okay, a PR's up for folks to discuss/amend. Thanks!

@sanderland
Copy link
Owner

image
Maybe a little intense?

Themable, default 0.7

image

@sente361
Copy link

sente361 commented Mar 1, 2022

@sanderland, has this PR been released? I can't find it in v1.10.1 and it isn't referred to in the manual or amongst the themes.

@sanderland
Copy link
Owner

@sanderland, has this PR been released? I can't find it in v1.10.1 and it isn't referred to in the manual or amongst the themes.

It has not, it's only in the 1.11 branch. I see it's been quite a while and will release this month.

@sente361
Copy link

sente361 commented Mar 1, 2022

Many thanks @sanderland! I know there've been quite a few enhancements made since the last release. Many thanks for your great product!!!

@rooklift
Copy link
Contributor

rooklift commented Mar 5, 2022

@milescrawford What app is your original screenshot from? I'm gonna use this style myself and should probably have a note acknowledging its origins... thanks.

@milescrawford
Copy link
Contributor Author

milescrawford commented Mar 5, 2022 via email

@sanderland sanderland mentioned this issue Mar 7, 2022
@Carton
Copy link
Contributor

Carton commented Apr 3, 2022

Is there an option to switch to the original "dots-on-top view of estimated territory" view? In my opinion, "captured stones" are shown much in a much cleaner way in this "dots-on-top view".

Also, personally I think the new view seems to have more "noise" that I have to turn it off by default.

@paulolops
Copy link

I tend to agree with @Carton, even if I get there is a bit too much option in the app already I really would appreciate to be able to use the old expected territory style (even if it is an option to set in a config file somewhere).

@fishcu
Copy link

fishcu commented Jun 25, 2022

Thirded. Furthermore, I don't see an option to tone down the opacity of the dark / light territory overlay.

@dutchsnowden
Copy link

I fully agree with @Carton, the new style is hard to see for me.

@milescrawford
Copy link
Contributor Author

The opacity is already configurable in themes. It seems possible that the display style could also be made themeable. I would love to review a PR that added this if someone wants to try.

@milescrawford
Copy link
Contributor Author

Also, it appears that this is all getting reworked in #555 - for better or worse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants