Introducing js3ds – a Javascript parser for .3ds
Came home very tired today and saw this tweet by @Sirokos. Now, that of course was a challenge!
In the near future I’m planning to do some experiments with WebGL and Javascript. Of course I need to be able to load some cool 3DS models then. So… started coding an hour ago and presto! Basics are done within the hour! I admit: I’ve done a Actionscript version some years ago (coded it for Papervision).
The javascript version is very basic still: only meshes (vertices, faces and uv’s) for now. Materials etc. will follow if I find time.
Again: have fun!






January 27th, 2010 at 11:35 am
Any connections to google O3D project?
And where is the demo link?
January 28th, 2010 at 5:25 pm
[...] On thing that’s going to be important for WebGL going forward is the ability to load up objects that have been designed in 3D modeling tools like Blender, Autodesk 3D Studio or Google SketchUp. There are two ways of doing this — by converting the tools’ files into a JavaScript-friendly format like JSON, or by writing code to load the files directly in JavaScript. Tim Knip has started work on the latter kind: js3ds, a 3DS import library for JavaScript. [...]
February 5th, 2010 at 4:29 pm
[...] into your JavaScript code. People are working on tools to import existing 3D graphics formats like 3DS, but an alternative route is to get the 3D modelling tool to output JSON or some other format you [...]