[Papervision3D] Noticed something odd with helloMouse3D and interactiveDrawingTest

John Grden neoriley at gmail.com
Tue Aug 21 11:50:58 PDT 2007


yeah, and that's in the MovieMaterial.updateBitmap - correct?

On 8/21/07, De'Angelo Richardson <dialeoson at yahoo.com> wrote:
>
> Yea. That's what I mean. It resizes when you draw a circle on the edge of
> the material. That circle bleeds out and changes the size of the movieclip.
> So, if this is done like this:
>
> if( autoResize && Math.floor( movie.width ) != bitmap.width || Math.floor(
> movie.height ) != bitmap.height )
>   {
>    // Init new bitmap size
>    initBitmap( movie, movieTransparent );
>    // Init texture
>    texture = movie;
>   }
>
> instead of leaving it automatic like this:
>
> if( Math.floor( movie.width ) != bitmap.width || Math.floor( movie.height) !=
> bitmap.height )
>   {
>    // Init new bitmap size
>    initBitmap( movie, movieTransparent );
>    // Init texture
>    texture = movie;
>   }
>
> One would have more control.
>
> -De'Angelo
>
>
> ----- Original Message ----
> From: John Grden <neoriley at gmail.com>
> To: papervision3d at osflash.org
> Sent: Tuesday, August 21, 2007 7:23:12 AM
> Subject: Re: [Papervision3D] Noticed something odd with helloMouse3D and
> interactiveDrawingTest
>
> interesting D - My first thought is: when would it be resizing anyway?  I
> guess if the animated flag is true, then it checks the size etc and so
> on...hence your thought about a flag to say "redraw, but do it based on the
> original size"  basically, right?
>
> On 8/21/07, De'Angelo Richardson <dialeoson at yahoo.com> wrote:
> >
> >   There's a little bug in both. Yet again I found a solution. I noticed
> > that MovieMaterial changes size when you draw at the edge. If there would be
> > a setting in MovieMaterial like autoResize:Boolean or something so that it
> > wont resize when you don't want it to when you draw close to the edge.
> > Here's a screenshot of what's happening. You can also test out the demos and
> > find what I've noticed.
> >
> > -De'Angelo
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> >
>
>
> --
> [  JPG  ]
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070821/b4dc380a/attachment-0001.html 


More information about the Papervision3D mailing list