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!

Tags: , , ,

3 Responses to “Introducing js3ds – a Javascript parser for .3ds”

  1. zproxy Says:

    Any connections to google O3D project?

    And where is the demo link? :)

  2. WebGL around the net, 28 Jan 2010 | Learning WebGL Says:

    [...] 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. [...]

  3. WebGL around the net, 5 Feb 2010 | Learning WebGL Says:

    [...] 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 [...]

Leave a Reply