hi,
thanks for response.

i didnt quite catch you there. i know copyPixels is performing better
but in my case i don't have a source bmd.

this line is how i get my bmd:

////////////////////////////////////////////////////////////////////

bmdbd.draw(myView3D); // myView3D:View3D

////////////////////////////////////////////////////////////////////

so thats how i get my source bmd.

main problem is that view3D must constantly be visible.

my aim is to let away3D render the data in hidden background and show
it scaled up to boost rendering and postprocessing performance.


On Aug 30, 8:57 pm, Fabrice3D <[email protected]> wrote:
> you should avoid draw(), use as you do a source and destination bmd
> but insteadd I would use copypixel and then apply filter or  
> colortransform.
>
> Fabrice
>
> On Aug 30, 2009, at 3:28 PM, tain wrote:
>
>
>
>
>
>
>
> > is it possible to manipulate View3D bitmap data, like smooth scaling
> > or color transformation?
>
> > i tried few methods but i cant do it.
>
> > best result i got is to create new bitmap and bitmap data, then strech
> > bitmap data and redraw it (with clipped view3D) every frame.
> > but the bad side is that the View3D must be visible to read its bitmap
> > data.
>
> > i used it with this code:
>
> > //init
>
> > bmdbd=new BitmapData(100,100,true,0x00000000);
> > bmp=new Bitmap(bmdbd);
> > bmp.smoothing=true;
> > bmp.scaleX=bmp.scaleY=4;
>
> > //every frame
>
> > bmdbd.fillRect(new Rectangle(0, 0, 100, 100), 0x00000000);
> > bmdbd.draw(myView3D);
>
> > this is the result (i used Basic_Phong example for render):
>
> >http://ivan.zebra-ds.hr/3d/streched.html

Reply via email to