suyashmshephertz Posted April 11, 2014 Share Posted April 11, 2014 Hey everyone, I have started to learn webGL recently. I am very curious to learn how these 3D engine are developed. I want to know how these engines organize shaders, programs and vertices in form of classes. I tried to look at Three.js but it's source code is very complex to start with.Do you guys know of some basic 3D engines??? Quote Link to comment Share on other sites More sharing options...
d13 Posted April 11, 2014 Share Posted April 11, 2014 It's worth taking a look at GLSL.js: http://greweb.me/2013/02/glsl-js-a-javascript-glsl-library-dry-efficient/ It abstracts away the messy WebGL API and lets you code pure GLSL directly on the fragment shader. UPDATE: Try this: https://github.com/gl-modules/gl-now gl-modules is a set of tools to help you build your own WebGL renderer. It comes with the game-shell module, which you mouse/pointer interactivity, DOM/canvas interfaces and a very robust game loop.gl-now is game-shell plus the some of the other gl modules. Quote Link to comment Share on other sites More sharing options...
thephox1982 Posted June 18, 2014 Share Posted June 18, 2014 Hey everyone, I have started to learn webGL recently. I am very curious to learn how these 3D engine are developed. I want to know how these engines organize shaders, programs and vertices in form of classes. I tried to look at Three.js but it's source code is very complex to start with.Do you guys know of some basic 3D engines??? Sorry to say, about the easiest I've seen as far as getting dirty (coding things rather than point and click do it for you engines) are Three.js and Babylon.js If you wish to get easier than those you will have to go with the almost everything is coded for you game engines which typically cost money.Note I am not saying in any way it's wrong to do so, but I found both Three.js and Babylon.js easy to get into, a month of learning and I was off on my way to making an MMO project but then again I been programming since age 9 so I admit what may seem easy for me may not to others who are still learning the ropes. Quote Link to comment Share on other sites More sharing options...
Blender man Posted June 24, 2014 Share Posted June 24, 2014 Blend4Web is easy-to-use WebGL engine which uses Blender as the primary authoring tool for 3D scenes. Quote Link to comment Share on other sites More sharing options...
TheRealCutterSlade Posted July 3, 2014 Share Posted July 3, 2014 Have a look at Pixi.js. It's a thin layer over WebGL and helped me a lot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.