开发者

What framework is google body browser built upon (if any)?

Can someone help me understand which framework (if any) is Google Body browser developed with?

OK, it's WebGL and Javascript, but are they using some GWT e开发者_Go百科xtension that allows WebGL interaction or are they writing the js by hand and then minifying or some other framework?

Any help appreciated.


The library it's using is called tdl.js http://code.google.com/p/threedlibrary/

And here's the Google I/O session on the Google Body Android port http://www.google.com/events/io/2011/sessions/3d-graphics-on-android-lessons-learned-from-google-body.html

[edit]

Google Body was open sourced, woop! http://google-opensource.blogspot.com/2012/01/google-body-becomes-zygote-body-built.html

You can check out the source code from http://code.google.com/p/open-3d-viewer/


there are several gwt webgl libraries/wrappers: http://code.google.com/hosting/search?q=gwt+webgl&projectsearch=Search+projects

I think they mentioned some webgl library in an googleio session, can't quite remember, but if you want to go for webgl and gwt, there might be some interesting sessions to watch. http://www.google.com/events/io/2011

If they didn't use GWT, they most probably wrote js and compiled it using Google Closure Compiler(Which gives several advantages over writing vanilla js), that's how google does it.


It's using Google Closure Library (and compiler).

GWT generates code with a $gwt_version variable (and other functions and variables with gwt in their name), and that's not the case here. Looking for "goog" in the code of the Body Browser, you'll find a mention of goog.structs.SimplePool which is a Closure Library class: http://closure-library.googlecode.com/svn/docs/class_goog_structs_SimplePool.html

I don't know of any framework around WebGL (apart for things like ForPlay which totally abstractize it, so the same code can run in WebGL or canvas —or actually a plain JVM or even Flash as ActionScript—, but that's something entirely different, and GWT-based as far as ForPlay is concerned)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜