[Papervision3D] anyone know how to solve this?

Tony Brown tony.brown.357 at gmail.com
Mon Feb 21 05:26:37 EST 2011


Is pv3d still being developed ?
I moved to Away3D

2011/2/21 Cédric Muller <wif at benga.li>

> Good news thing is: You can do it on your own. Why should someone do it for
> you ? I tend to think assistance is not good for average people (look below,
> you will find the link).
>
> *
> Please remove me from this mailing list. Thank you. Please, please.
> *
> On Mon, Feb 21, 2011 at 10:06, Rohit Maheswaran <rohitmah at gmail.com>wrote:
>
>> *
>> *
>>
>>
>> On Mon, Feb 21, 2011 at 4:01 PM, Joachim Baur <post at joachimbaur.de>wrote:
>>
>>> Hi,
>>>
>>> you can't do "addChild(layerSphere);" - the PV3D-viewport is the right
>>> object to use:
>>> addChild(viewport);
>>>
>>> You add all other PV3D-objects to the scene in order to make them
>>> visible:
>>> scene.addChild(layerSphere);
>>>
>>> Joachim
>>>
>>>  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);
>>>>
>>>>         }
>>>>
>>>
>>>
>>> _______________________________________________
>>> Papervision3D mailing list
>>> Papervision3D at osflash.org
>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20110221/bd092987/attachment.html>


More information about the Papervision3D mailing list