[Papervision3D] PreciseBitmapMaterial crashing browser

John Grden neoriley at gmail.com
Fri Aug 31 08:44:02 PDT 2007


sweeet thanks Rob!

Hey Rob, I had also seen, when appying the Precise materials to an object,
that when I rotated it, I saw cracks or what seemed to be faces not drawn -
not totally sure.  Would changing the ration like Andy talked about help
that out?  or do you know of other issue?

Thanks man, appreciate your help very much,

John

On 8/30/07, Rob Bateman <rob.bateman at gmail.com> wrote:
>
> Hey Pascal
>
> just performed an update in the Away3d sources to combat this - it's a
> limiter that stops the precisebitmapmaterial going past 100 iterations in
> it's renderRec loop (that 100 iterative loops not 100 faces total). You'll
> very rarely hit the limit, in fact it may be too high to stop a stack
> overflow like you are describing.. but set to the right level it definitely
> could.
>
> To any PV developers interested - the updates are in the trunk of the
> away3d repo - look in http://away3d.googlecode.com/svn/trunk/away3d/core/material/PreciseBitmapMaterial.as
> . you're welcome to merge this with your papervision version if you're
> interested in performing the same fix :)
>
>
> atb
>
>
> Rob
>
>
> On 8/30/07, Andy Zupko <azupko at zupko.info> wrote:
>
> >  Are you dealing with large faces really close to the camera?
> >
> >
> >
> > I would try turning the precision down (down == higher number) to see if
> > that helps – you could also try to use more smaller faces instead of one
> > large one.  Just some ideas.
> >
> >
> >
> > *From:* papervision3d-bounces at osflash.org [mailto:
> > papervision3d-bounces at osflash.org] *On Behalf Of *pascal
> > *Sent:* Thursday, August 30, 2007 7:17 AM
> > *To:* papervision3d at osflash.org
> > *Subject:* [Papervision3D] PreciseBitmapMaterial crashing browser
> >
> >
> >
> > Hi,
> >
> >
> >
> > Don't know if anyone's found this but PreciseBitmapMaterial is quite
> > frequently crashing Safari & Firefox for me.
> >
> >
> >
> > It seems to happen when you're viewing the material quite close up. It's
> > hard to debug as it just kills the browser but sometimes Flash manages to
> > pop up this error.
> >
> >
> >
> > Error: Error #1023: Stack overflow occurred.
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             at
> > org.papervision3d.materials::PreciseBitmapMaterial/renderRec()
> >
> >             etc...
> >
> >
> >
> > I've had a quick look at the renderRec function and it's recursive which
> > would explain the stack overflow error, but has anyone got any ideas on how
> > to track down and fix the problem?
> >
> >
> >
> > Thanks,
> >
> > Pascal.
> >
> >
> >
> >
> >
> > _______________________________________________
> > 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
>
>


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


More information about the Papervision3D mailing list