It is currently Fri May 02, 2025 4:29 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
Offline
 Post subject: sgf to 3d pretty picture
Post #1 Posted: Fri Dec 28, 2012 3:16 am 
Lives in gote

Posts: 628
Liked others: 45
Was liked: 98
Rank: KGS 3k
Universal go server handle: 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.

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #2 Posted: Fri Dec 28, 2012 4:33 am 
Gosei
User avatar

Posts: 1582
Location: Hong Kong
Liked others: 54
Was liked: 544
GD Posts: 1292
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.

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #3 Posted: Fri Dec 28, 2012 5:42 am 
Lives with ko

Posts: 294
Liked others: 47
Was liked: 94
Universal go server handle: MSGreg
tchan001 wrote:


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

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #4 Posted: Fri Dec 28, 2012 5:53 am 
Lives with ko

Posts: 159
Liked others: 5
Was liked: 36
Rank: EGF 3d
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

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #5 Posted: Fri Dec 28, 2012 5:56 am 
Lives in gote

Posts: 628
Liked others: 45
Was liked: 98
Rank: KGS 3k
Universal go server handle: Alguien
I meant something more like this goban but generated dynamically from an sgf.

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #6 Posted: Fri Dec 28, 2012 6:19 am 
Lives with ko

Posts: 294
Liked others: 47
Was liked: 94
Universal go server handle: 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

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #7 Posted: Fri Dec 28, 2012 11:51 am 
Lives with ko

Posts: 159
Liked others: 5
Was liked: 36
Rank: EGF 3d
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.

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #8 Posted: Sat Dec 29, 2012 5:33 pm 
Dies in gote
User avatar

Posts: 66
Location: Atlanta, GA, USA
Liked others: 70
Was liked: 29
Rank: KGS 2 kyu
GD Posts: 48
KGS: 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.


This post by Darrell was liked by: Phelan
Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #9 Posted: Sat Dec 29, 2012 7:20 pm 
Lives in gote

Posts: 370
Liked others: 91
Was liked: 254
Rank: Weak
glGo has a 3D display option. I don't remember how pretty it was, but it's one quick and dirty option.

Top
 Profile  
 
Offline
 Post subject: Re: sgf to 3d pretty picture
Post #10 Posted: Sun Dec 30, 2012 6:39 am 
Gosei
User avatar

Posts: 1449
Liked others: 1562
Was liked: 140
Rank: KGS 6k
GD Posts: 892
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

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group