I’m not sure if I have mentioned this before, but I have a method of exporting simple object graphics scenes to a web page using [x3dom]. Check out this example of sending a graphics hierarchy containing a polygon (the cow data set from the IDL distribution) to an [interactive display][x3dom-example] on a web page.
This is currently a proof of concept and works for views, models, and polygons with simple properties only, but expanding to more classes and properties should be straightforward. I have done similar things for various other new destination classes for outputs such as [POV-Ray][povray] and [anaglyphs].
[x3dom]: http://x3dom.org “x3dom – Home”
[x3dom-example]: http://michaelgalloy.com/wp-content/uploads/2011/09/cow.html “x3dom example”
[povray]: http://michaelgalloy.com/2009/02/20/pov-ray-destination-v02.html “POV-Ray destination 0.2”
[anaglyphs]: http://michaelgalloy.com/2006/06/16/anaglyphs-mggr3dconverter-and-mggrwindow3d.html “Anaglyphs: MGgr3DConverter and MGgrWindow3D”