flash on 2010-2-8
/**
* Copyright 084 ( http://wonderfl.net/user/084 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/mVtR
*/
package {
import org.papervision3d.materials.*;
import org.papervision3d.materials.special.*;
import org.papervision3d.objects.primitives.*;
import org.papervision3d.view.*;
public class Main extends BasicView {
public function Main() {
var material:CompositeMaterial = new CompositeMaterial();
material.addMaterial(new ColorMaterial(0xdcdcdc));
material.addMaterial(new WireframeMaterial(0x000000));
var sphere:Sphere = new Sphere(material,500,10,10);
scene.addChild(sphere);
startRendering();
}
}
}