[Papervision3D] Single vs. multiple onEnterFrame

Felix Turner felixturner at gmail.com
Sun Apr 1 22:11:46 EDT 2007


I don't think there's much difference in terms of efficiency. The overhead
of having multiple enterFrame handlers is very small, especially compared to
the complexity of rendering a 3D scene.
 
- Felix
www.airtightinteractive.com
  _____  

From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org] On Behalf Of Anthony Tambrin
Sent: Sunday, April 01, 2007 7:31 PM
To: Papervision3D at osflash.org
Subject: [Papervision3D] Single vs. multiple onEnterFrame


Hi all,

This is more of a general flash question. But I reckon it's the heart and
soul of pv3d applications :)

Question is:

Which one is more efficient?
A. All processing is centralized in the main Sprite ENTER_FRAME event
handler, i.e. run()
B. Objects have their own ENTER_FRAME event handler

Which one will run more efficiently, and thus, faster?

Cheers,
Anthony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070401/9e77cf3b/attachment.htm


More information about the Papervision3D mailing list