
jsc3d
JSC3D has moved to GitHub
Introduction
Welcome to JSC3D. This project provides a 3d object viewer for presenting 3d models and small scenes on a web page. JSC3D is coded entirely in Javascript and requires an HTML canvas to perform rendering and interactions.
JSC3D does not target at a serious all-purpose 3d engine. It is made especially for online design sharing and product exhibition. JSC3D is built on pure Javascript software rendering using 2d canvas technology as well as an optional WebGL back-end that provides more efficient rendering. It is designed to be widely compatible with most major browsers that support HTML5 Canvas feature. JSC3D has been tested on Opera, Chrome, Firefox, Safari, IE9 and more. A modified edition for Microsoft IE versions less than 9 is also available.
Features
- CAD Style Orthographic View
- Z-Buffering
- Fixed Directional Lighting (Headlight)
- Render as Points
- Render as Wireframe
- Flat Shading
- Smooth Shading with Crease Angle
- Texturing
- Mip-mapping
- Environment Mapping
- Multiple Graphic Qualities (0.5x0.5, 1x1, 2x2 FSAA)
- Picking
- Dual Render Back-ends (WebGL, Software)
- Built-in Loader for Wavefront obj File
- Built-in Loader for STL File
- Optional Loader for Autodesk 3DS File
- Optional Loader for OpenCTM File
- Multi-touch Based Control on Mobile Devices
Live Demos
Support for IE
IE9 already makes good support for canvas element, on which JSC3D has been tested to run smoothly.
For other older IE versions (IE7 and IE8), JSC3D provides a slightly modified version which utilize Adobe Flash plugin to simulate an HTML5 compatible canvas and renders on it. You can see some IE7 and IE8 compatible demos here. Please note that you should have installed and enabled Flash plugin on your browser to run these.
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/test_ie_compatible.html'>http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/test_ie_compatible.html
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/avatar_ie_compatible.html'>http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/avatar_ie_compatible.html
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/bmw_ie_compatible.html'>http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/bmw_ie_compatible.html
Some documents can be found in the http://code.google.com/p/jsc3d/w/list'>wiki section. A detailed description of JSC3D's programming interface is availabe http://jsc3d.googlecode.com/svn/trunk/jsc3d/docs/index.html'>here. You can also check out the demos from the http://code.google.com/p/jsc3d/source/checkout'>respository as guidance for advanced applications.