[Papervision3D] Convert DisplayObject3D to Bitmap
anthony.cintron at gmail.com
Sat Dec 5 17:36:25 PST 2009
In my previous post, I don't think I asked an accurate question.
I am really looking to add 100 DO3D's to a container. The DO3D's are Collada instances. I am wrapping them around each other making a shape of a circle. Each instance it is at a unique angle. Most importantly, I want to take each instance and convert them to bitmap data objects.
I don't understand why this is so complicated. I think, I'm suppose to handle this through view port, but I'm not sure how.
On Dec 5, 2009, at 5:14 PM, Anthony Cintron wrote:
> Hi All,
> I just started messing with PV3D 2.0 today.
> I loaded a collada file using 'new Collada' and then ran a loop to generate multiple objects of that collada instance. Then I stored each instance into a container which data type is of DisplayObject3D. I now want to loop through each item within container and convert it to a bitmap data object. I tried just changing the individual property of an instance. That change was successful:
> viewport.getChildLayer(planeContainer.getChildByName('post5') ).alpha = 0.5;
> My problem is I can't convert the object to a bitmap to retract it's bitmap data. What am I missing here? Is there a simple way of getting the bitmap data of the object? My goal is to do hitTest on two bitmap data pixels.
> Anthony C.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D