nova/ogs white stones.

Comments, questions, rants, etc, that are specifically about OGS go here.
Post Reply
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

nova/ogs white stones.

Post by daal »

In another thread, anoek posted some lovely stone renderings:

anoek wrote:This might be a different kind of simple than what you're aiming for, but since you mentioned coding stones in javascript I thought I'd mention that generating stones procedurally using a simple phong reflection model worked out pretty well for us at OGS:

Image


Are those the stones that other people see on ogs? What I see is this:

novastones.jpg
novastones.jpg (83.42 KiB) Viewed 14292 times


I've complained about how the stones look in nova's forum, because I found the diagonal shading visually displeasing and distracting when looking at a full board, but maybe I was complaining about something others are not experiencing. Here is how a full board looks to me:

novagame.jpg
novagame.jpg (284.8 KiB) Viewed 14292 times


Is this how it looks to you, or are others using the pretty stones from the top images, and if so, how are they selected?
Patience, grasshopper.
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: nova/ogs white stones.

Post by HermanHiddema »

Yeah, I see the stones as anoek posted them.

It looks like the rendering algorithm is broken for you (the OGS board is an HTML5 canvas). What browser are you using?
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: nova/ogs white stones.

Post by daal »

I am using Firefox. Because you asked, I tried going to the site with Chrome, and there the stones were as Anoek posted them. Firefox renders the stones wrong? That's weird.

I guess I can use Chrome as a dedicated OGS client :)
Patience, grasshopper.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

daal wrote: Firefox renders the stones wrong? That's weird.
daal, could you let anoek know about this ? Perhaps post your screenshots to his other link, so he can perhaps fix this bug ?
Splatted
Lives in sente
Posts: 734
Joined: Mon Apr 26, 2010 12:41 pm
Rank: Washed up never was
GD Posts: 0
Universal go server handle: Splatted
Has thanked: 681 times
Been thanked: 138 times

Re: nova/ogs white stones.

Post by Splatted »

I use firefox and it looks fine.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

FF.jpg
FF.jpg (33.35 KiB) Viewed 14242 times
Same bug here. Windows 8. Firefox 29.0.
Splatted
Lives in sente
Posts: 734
Joined: Mon Apr 26, 2010 12:41 pm
Rank: Washed up never was
GD Posts: 0
Universal go server handle: Splatted
Has thanked: 681 times
Been thanked: 138 times

Re: nova/ogs white stones.

Post by Splatted »

I believe so. Try this link. http://online-go.com/game/533578
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: nova/ogs white stones.

Post by HermanHiddema »

daal wrote:I am using Firefox. Because you asked, I tried going to the site with Chrome, and there the stones were as Anoek posted them. Firefox renders the stones wrong? That's weird.

I guess I can use Chrome as a dedicated OGS client :)


I use Firefox too, and they look fine here, so I guess the problem is somewhere else. Could be in the OS, in your graphics hardware or drivers, or perhaps some plugin or add-on to Firefox that is interfering with the rendering in an unexpected way.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

IE shows the correct rendering, but somehow everything looks blurry: the stones and the lines:
ie.jpg
ie.jpg (70.31 KiB) Viewed 14241 times
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: nova/ogs white stones.

Post by HermanHiddema »

One thing to try is to disable Firefox' hardware acceleration: under Preferences -> Advanced -> General uncheck "Use hardware acceleration when available". If that fixes it, it is a graphics hardware/driver issue.
dfunkt
Dies with sente
Posts: 78
Joined: Sun Jan 01, 2012 1:17 pm
Rank: 9k
GD Posts: 0
Universal go server handle: dfunkt
Has thanked: 10 times
Been thanked: 33 times

Re: nova/ogs white stones.

Post by dfunkt »

I'm pretty sure the problem occurs if you use the browser zoom. If you have a high resolution screen and zoom to read the itty bitty text in chat panes then the stone and board rendering screws up.
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: nova/ogs white stones.

Post by daal »

I re-checked the thread I started on the Nova forum last November, and there was a reply last month that the problem occurs on displays with higher PPI density, and there was also a link to another thread there describing the problem in a bit more detail and offering an unfortunately unsatisfactory workaround. Using Chrome works for me.

Edit: I just tried Herman's suggestion of disabling Firefox's hardware acceleration, and it helps on 9x9 boards, but not on 19x19.
Patience, grasshopper.
anoek
Dies in gote
Posts: 50
Joined: Mon Jan 28, 2013 11:18 am
GD Posts: 0
Has thanked: 25 times
Been thanked: 58 times
Contact:

Re: nova/ogs white stones.

Post by anoek »

Yeah.. I'd hoped that problem would fix itself within a couple browser versions, that does not seem to be the case. After this next patch I'll revisit the stone rendering and make sure that problem goes away.
Post Reply