Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Papervision3D Essentials

You're reading from  Papervision3D Essentials

Product type Book
Published in Sep 2009
Publisher Packt
ISBN-13 9781847195722
Pages 428 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Papervision3D Essentials
Credits
About the Authors
About the Reviewers
1. Preface
1. Setting Up 2. Building Your First Application 3. Primitives 4. Materials 5. Cameras 6. Moving Things Around 7. Shading 8. External Models 9. Z-Sorting 10. Particles 11. Filters and Effects 12. 3D Vector Drawing and Text 13. Optimizing Performance

Measuring performance


When we speak of performance in a Papervision3D context, we mean everything that relates to how fast Papervision3D can render a scene. Each do3D that is placed somewhere in a scene needs to be calculated. Even when objects are not within the view frustum of a camera, they have a small footprint on the CPU. During each render, Papervsion3D has to decide which triangles are within the view frustum and which triangles are not. Camera-facing surfaces that are placed inside the view frustum have the highest CPU footprint. They need to be projected and then drawn on the screen. Drawing the faces with materials is the most CPU-intensive task.

In order to optimize performance, we first need to know how to measure it. One way to do this is looking at the Activity Monitor on the Mac, or at the processes tab in the Task Manager on Windows. In both utilities, you can look for Flash or the browser used for publishing with Flex Builder or Flash Builder. However, most of the time...

lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}