Jump to content

stormEngineC

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zackmann08 (talk | contribs) at 22:16, 18 July 2016 (removing thumb from infobox per WP:INFOBOXIMAGE). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

StormEngineC
Original author(s)Roberto González Domínguez
Initial releaseFebruary 3, 2011 (2011-02-03)
Written inJavaScript
TypeJavaScript library
LicenseMIT License
Websitestormcolour.appspot.com/stormenginec

StormEngineC is a 3D graphics library written in JavaScript and using several HTML5 features like WebGL, WebCL and WebSockets. It provides an easy way to load objects in OBJ and Collada format and add the physical simulation for them. The source code is free and is hosted in GitHub.

Features

Usage

The basic source code for initializing a small scene in StormEngineC:

<script src="js/StormEngineC/StormEngineC.class.js"></script>
<canvas id="example" width="1024" height="512"></canvas>

<script>
    stormEngineC.createWebGL({'target': 'example',
                              'editMode': true});
        
    var node = stormEngineC.createNode();
    node.loadObj({'objUrl': 'resources/obj/cornellbox.obj'});
</script>

History

StormEngineC comes from the author's intention to provide a means for displaying 3D scenes in the web browser and enable a physical system with gravity and collisions for objects easily.

Initially written in Java and called StormEngineJ, Appearing the first public specification of WebGL, was ported to JavaScript since this brought benefits with respect other 3D visualization methods in a web browser. For example, does not require additional plug-ins for the viewing.

The first version of the library was published on Google Code in February 2011. At the moment, has not been offered a stable version for this.

From version 1.2 was introduced a rendering system based on path tracing with the option able to be used as render farm, and some facilities for starting up a game server using Node.js.

See also

References