[Papervision3D] anyone know how to solve this?
cy_1989
marieyi.tan at gmail.com
Sun Feb 20 06:14:15 EST 2011
Mice, i try to follow your method but i still continue to get the error
message or that the sphere doesn't appeared when i run the program. Below is
my coding , can you tell me what when wrong ?
public function GestureSq()
{
rendering = new BasicRenderEngine
camera = new Camera3D;
scene = new Scene3D;
viewport = new Viewport3D(800,600);
sphere = new Sphere(null,100,100);
layerSphere = new Viewportlayer (viewport,sphere);
layerSphere.addChild(sphere);
addChild(layerSphere);
rendering.renderScene(scene,camera,viewport);
layerSphere.addEventListener(GestureEvent.GESTURE_ROTATE,
gestureRotateHandler);
layerSphere.addEventListener(GestureEvent.GESTURE_SCALE,
gestureScaleHandler);
}
--
View this message in context: http://papervision3d.758870.n4.nabble.com/anyone-know-how-to-solve-this-tp3310096p3315054.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list