O3D Experiments

O3D Experiments

If you'd like to install O3D nonetheless, you can still download a copy of the installer I kept for myself here but I was unsuccessful at installing it again myself...
O3D is a Javascript API designed by Google Labs to support high-end 3D hardware capabilities already present in most computers and bring them to your personnal web browser.
Please, install the O3D plug-in by visiting Google Labs before clicking the links below.

Notes :
  Tests are run on Firefox 3.5.1, Internet Explorer 8 and Chrome 2.0.172.37

PatAPI

The PatAPI is a little addition to the O3D API. You can find the sources here.
It's currently featuring :

  System Helpers

  _ Small hierarchy helpers to deal with O3D render nodes & transform nodes
  _ A simple camera manipulation helper to move around the scenes using standard MAYA (i.e. targeted) or UnrealEd (i.e. first person) motion
  _ A post-process chain helper that alleviates the setup of post-process passes
  _ A "scene override" that helps render an entire scene into a specific buffer using a single override material (e.g. Depth pass, shadow mapping)
  _ An Effects Manager that allows you to use the #include directive in your shaders and also manages the concept of "shader interfaces"
  _ A Material Translator helper that substitutes override effects to existing materials based on regular expression matches and also translates shader parameters to ensure compatibility and correct initialization
  _ A "minipack" helper to handle subsets of O3D objects within the actual O3D pack (helps to unload a single scene without hindering the more general objects)

  Rendering

  _ An implementation of the Reinhard tone mapping operator to support HDR scenes
  _ An implementation of the Preetham skylight model for nice environmental scenery
  _ An example of aerial perspective
  _ An example of streamed terrain

    ... And lots of other stuff to come !


PatAPI is CC0
To the extent possible under law, Patapom has waived all copyright and related or neighboring rights to PatAPI. This work is published from France.

Resources:

Here you can find informations about the FBX converter : FBX Converter Page
Here you can find HLSL materials I wrote for 3DS Max and their O3D equivalent : Materials Page

Examples:


Note : The little "[f]" is the 1024x512 version for Linux