My personal projects page

Welcome to my personal section of this site. I'm using XVR since almost 2 years now and I'm starting to have quite a few examples lying around on my laptop. I'll post here the projects I have accumulated so far and the new one that I'll make. Ideally I will post also the source scripts and the data... it's only that most of my code is uncommented and it would take me plenty of time to fix that so... don't be too demanding and try to make the best use of what it's listed here. ;)

3D statistics in XVR

3D Statistics in XVR

I decided to write this app to have a really tiny script example doing useful things. The script byte code it's just 3k and it does not download any additional data. Even on a dial-up connection it downloads in less than one second. I wrote it all using the very useful OpenGL wrapping that XVR exposes. Anyone familiar with OpenGL will not have any trouble to understand what is going on in the code. The demo also show how to pass parameters from JavaScript to XVR at run time.

See the on line demo

Download the full project


Bouncing Ball

Bouncing Ball

When I wrote this demo I was toying with the idea of writing a physic simulation directly into XVR Script to see how efficient the compiler/interpreter were. The simulation is pretty simple but I think at 30k (including the models and textures) it proves some points. (Updated: thanks to Walter Aprile for his contribution on soft shadows)

See the on line demo

Download the full project


The Museum of Pure Form.

The Museum of Pure Forms

This is actually in the front page of an EU-funded project that I was (and I'm still) involved in. The data involved is more complex (and includes per-pixel lighting od laser-scanned sculptures) but the script it's still quite simple. The model of the room was created in 3DStudio Max using the useful "rendering to texture" feature for the illumination. The script also exposes an example of two ways communication between XVR and Flash. The 3D is in the section "VIRTUAL GALLERY".

See the on line demo



Slide show

Slide Show

I wrote this  simple demo  one afternoon after a conference I've attended. One of the presenters was using an Apple Mac to show some kind of power point sideshow and there was some nice 3D transition involved. I never finished to write the script but it's still interesting to have a look at.

See the on line demo



OpenGL Wrapping

Slide Show

I One of the most interesting aspect of XVR is the low-level access to HW-Accellerated OpenGL API that it provides. To demonstrate how simple is to use OpenGL inside a XVR app, I wrote this simple apple showing a spinning cube using a standard material. Low level OpenGL programming open almost unlimited possibilities: if you are brave enought (and you like display lists), you can write your own 3D engine directly in XVR.

See the on line demo

Download the full project


© 2004 - 2005 Franco Tecchia