Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebGL framework - what's the best choice? X3DOM?

I'm about to start a Web application that will use interactive generated 3D content. Aim is to let it run natively in the browser, i.e. no Flash is allowed, only JavaScript + HTML5.

Apart from using pure WebGL it's better to use a lib that will offer a more high level interface.

The approach of X3DOM looks great for me - and it looks like it's supposed to become native in the browser and the lib will pave the road.

But after my first impressions I'm not sure if it's lightweight enough. Apart from the 400kb JS-File it slows down Firefox.

The features I need are not many. The whole scene set up could be easily done by "hand". But I need user interaction including to figure out where the user clicks. And later I want to be able to load and insert 3D objects in a common file format.

PS: Browsers of choice are Firefox and Webkit based ones. Desktop and Mobile ones. I don't care about IE.

PPS: Yes, I know the question: WebGL Framework

like image 393
Chris Avatar asked Dec 12 '22 07:12

Chris


1 Answers

X3DOM is great when you come from an X3D background (and developed by great people), but if you have no preference watsoever, Three.JS would be my pick.

like image 56
wildpeaks Avatar answered Jan 14 '23 22:01

wildpeaks