Articles about javascript’

Aug 6, 2010

X3DOM Exploration #2: Creating Geometry with IndexedFaceSet

Posted by Dennis in 3D, WebGL 5 comments

In my previous post about X3DOM I covered some of the very basics. I used a <Box> object and slapped a Twitter avatar on it. In this post I’m going to use the <IndexedFaceSet> element to create geometry dynamically.
Read them pixels
For this example I’ve used a PHP-script that loads an image, resizes it to an [...]


Jul 23, 2010

Visualizing Last.fm data with WebGL, GLGE, jQuery

Posted by Dennis in 3D, WebGL 3 comments

I’m a jQuery newbie so I thought I’d try it out in combination with WebGL. It makes a great example together with the GLGE library for WebGL.
Mind you, there are better ways to do tunnels in 3D. This demo is meant to demonstrate how specific things work with GLGE.
An explanation of what’s going on can [...]


Jun 23, 2010

Hands-on WebGL: Basic GLGE Tutorial

Posted by Dennis in 3D, WebGL 2 comments

In a previous tutorial I explained how to draw a triangle on the screen with pure low-level WebGL. A lot had to be done before anything could be drawn to the screen: define shaders, set up matrices, create shader programs, depth testing, vertex attributes, etc. Pretty interesting stuff if you’re into the technical details of [...]


Mar 19, 2010

Blender to WebGL Exporter - Animation Support

Posted by Dennis in 3D, Blender, WebGL 5 comments

I just added the option to export frame animation to native WebGL. WebGL is low level and doesn’t natively support interpolation or bones animation. This is why it exports all vertex data for each frame. So use with care, because the generated JavaScript files can be very large! Next step will be to look at [...]


Mar 15, 2010

Blender to WebGL exporter

Posted by Dennis in 3D, WebGL 3 comments

A month ago I posted a preview of some Blender to WebGL JavaScript exports. I haven’t had the time to add that many features to it, but I decided to put it on Google Code anyway. At the moment it exports to:

Native WebGL
SceneJS
GLGE

The export options are very basic at the moment. Hopefully I’ll find time [...]


Feb 4, 2010

Blender to WebGL JavaScript Exporter

Posted by Dennis in 3D, WebGL 8 comments

I’ve been playing with this technology lately and I have to say: WebGL is hot stuff. Through the HTML5 <canvas> element you can add hardware-accelerated 3D graphics to web pages. There’s no need to install a separate plug-in. It isn’t available in current browser versions however. You’ll need to install nightly builds of Firefox, Chrome [...]


Dec 8, 2009

Book Review: Unity Game Development Essentials

Posted by Dennis in 3D 1 comment

Flash offers a lot of cool features to play with. The last few years we’ve seen an abundance of 3D engines which have all been optimised to run on a very limited platform. The results are very impressive and have spawned many ground breaking and visually stunning online experiences.
Despite all this many developers are frustrated [...]


Oct 15, 2008

3DMLW - Open Source 3D Markup Language for Web

Posted by Dennis in 3D 3 comments

There’s an interesting article about 3DMLW in the latest issue of BlenderArt magazine. 3DMLW is anĀ Open Source platform for creating 3D and 2D interactive web content. In their own words:
“3DMLW is a Open Source technology for creating and displaying 3D and 2D content on the web through common web-browsers. This technology includes four parts:

3DMLW markup [...]


Feb 20, 2008

3D Silverlight 1.0: Simple Collada parser

Posted by Dennis in 3D 5 comments

A while ago I made a very simple Collada parser that was written in JavaScript and drew on a HTML 5 <canvas>.
Silverlight 1.0 also makes use of JavaScript so converting it seemed like a good excercise. You can see it here. Fortunately I didn’t have to change much. Only the way in which the lines [...]


Feb 19, 2008

Programmatic drawing with Silverlight

Posted by Dennis in Uncategorized No comments

I’ve finally set myself to doing something with Microsoft’s Silverlight. After reading some of the basic stuff I have to say it looks promising. I can’t wait for C# support though, JavaScript is making my life miserable again :P.

I’ve taken a code sample (written in BASIC) from and old book and converted it to JavaScript. [...]