sgf to 3d pretty picture

For discussing go computing, software announcements, etc.
Post Reply
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

sgf to 3d pretty picture

Post by Alguien »

It would be nice to have a web where you could open an sgf (by upload, text paste or link) and would display a rendering of the position on a nice goban with a beautiful background.

You could use it to build desktop backgrounds with your greatest moves, to open hard tsumego and read them in a nice setting or go over your dgs/ogs games.

I wonder if I'll ever have time to recover my 3d painting programming skills to make such an app.
User avatar
tchan001
Gosei
Posts: 1582
Joined: Wed Apr 21, 2010 6:44 pm
GD Posts: 1292
Location: Hong Kong
Has thanked: 54 times
Been thanked: 534 times
Contact:

Re: sgf to 3d pretty picture

Post by tchan001 »

Second Life Go Center
http://www.notabene-sl.com/slgc/
http://tchan001.wordpress.com
A blog on Asian go books, go sightings, and interesting tidbits
Go is such a beautiful game.
msgreg
Lives with ko
Posts: 294
Joined: Sun Nov 13, 2011 10:58 am
GD Posts: 0
Universal go server handle: MSGreg
Has thanked: 47 times
Been thanked: 94 times

Re: sgf to 3d pretty picture

Post by msgreg »

tchan001 wrote:Second Life Go Center
http://www.notabene-sl.com/slgc/
Sensei's
"Alas, it is closed, as of 2012-Feb-03"
Founder, Central Mississippi Go Club
Free tips and resources for clubs and teaching
Go Kit Club Pack - pack of 13x13 go sets for clubs
Go Tin - very portable go
kivi
Lives with ko
Posts: 159
Joined: Mon Mar 21, 2011 7:14 am
Rank: EGF 3d
GD Posts: 0
Has thanked: 5 times
Been thanked: 36 times

Re: sgf to 3d pretty picture

Post by kivi »

The request reminded me of the banner at tasuki's tsumego page. He writes about how he made it and source files maybe available etc. See here: http://tsumego.tasuki.org/?page=faq
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

Re: sgf to 3d pretty picture

Post by Alguien »

I meant something more like this goban but generated dynamically from an sgf.
msgreg
Lives with ko
Posts: 294
Joined: Sun Nov 13, 2011 10:58 am
GD Posts: 0
Universal go server handle: MSGreg
Has thanked: 47 times
Been thanked: 94 times

Re: sgf to 3d pretty picture

Post by msgreg »

Alguien wrote:I meant something more like this goban but generated dynamically from an sgf.
Very interesting. That was rendered with Blender and Luxrender, both free open-source programs. Though it took 30 hours. :-(

If you don't want a different camera angle, it might be possible to reduce that time by only re-rendering the board top and stones.

In any case, those two programs look to be programmable from python, so it seems possible to create a script that will do it!!
Founder, Central Mississippi Go Club
Free tips and resources for clubs and teaching
Go Kit Club Pack - pack of 13x13 go sets for clubs
Go Tin - very portable go
kivi
Lives with ko
Posts: 159
Joined: Mon Mar 21, 2011 7:14 am
Rank: EGF 3d
GD Posts: 0
Has thanked: 5 times
Been thanked: 36 times

Re: sgf to 3d pretty picture

Post by kivi »

Those scenes (in Blender or other) most probably represent the stone positions in 2D and map onto the board, which then gets rendered into 3D, with camera and light direction etc.

Parsing sgf to convert into 2D representation is not difficult. So, if you get the source of one of those scenes, then we could write a script that takes a sgf file and outputs the code snippet for stone coordinates in the expected format. Then you paste that into the scene source and render. But this probably can't be a web service as it requires too much computation time.
User avatar
Darrell
Dies in gote
Posts: 66
Joined: Wed Apr 21, 2010 7:05 am
Rank: KGS 2 kyu
GD Posts: 48
KGS: Darrell
Location: Atlanta, GA, USA
Has thanked: 70 times
Been thanked: 29 times
Contact:

Re: sgf to 3d pretty picture

Post by Darrell »

Alguien wrote:It would be nice to have a web where you could open an sgf (by upload, text paste or link) and would display a rendering of the position on a nice goban with a beautiful background.
Have you seen this? http://www.voilamonsieur.com/products/u3dc/u3dc.html
It is not web-based, but instead of a static picture, it can replay the entire game on a 3D rendered board. You can take a screenshot at any move.
lemmata
Lives in gote
Posts: 370
Joined: Thu Feb 23, 2012 12:38 pm
Rank: Weak
GD Posts: 0
Has thanked: 91 times
Been thanked: 254 times

Re: sgf to 3d pretty picture

Post by lemmata »

glGo has a 3D display option. I don't remember how pretty it was, but it's one quick and dirty option.
User avatar
Phelan
Gosei
Posts: 1449
Joined: Tue Apr 20, 2010 3:15 pm
Rank: KGS 6k
GD Posts: 892
Has thanked: 1550 times
Been thanked: 140 times

Re: sgf to 3d pretty picture

Post by Phelan »

Darrell wrote:
Alguien wrote:It would be nice to have a web where you could open an sgf (by upload, text paste or link) and would display a rendering of the position on a nice goban with a beautiful background.
Have you seen this? http://www.voilamonsieur.com/products/u3dc/u3dc.html
It is not web-based, but instead of a static picture, it can replay the entire game on a 3D rendered board. You can take a screenshot at any move.
He also used to have a Go Screensaver that would replay games in 3D with beautiful boards and a lot of visualisation options. I still have it installed, but I think he stopped working on it.
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go
Post Reply