sandy
Sandy is a Flash 3D engine, available in 3 versions: AS2, AS3 and Haxe
Sandy Haxe port
http://www.flashsandy.org/haxe
install Sandy:
haxelib install sandy
known error:
in file
sandy\core\interaction\TextLink.hx
in line number 68 :
var openA : EReg = ~/<A.*?\>/i;
replace it by line
var openA : EReg = ~/<A.*?\\>/i;
Z-sorting bug ( on js target for instance )
if the scene doesnt seem to render correctly (z-sorting ) , you can modify the the renderDisplayList in the renderer class :
package sandy.core; [...] class Renderer{ [...] public function renderDisplayList( p_oScene:Scene3D ):Void [...] //at line 83 here is the diff --- return (a.depth>b.depth) ? 1 : a.depth<b.depth ?-1:0; //remove that line +++ return (a.depth>b.depth) ? -1 : a.depth<b.depth ?1:0; // add that line
version #15117, modified 2012-07-18 02:35:39 by camus