Official website for Web Designer - defining the internet through beautiful design
FOLLOW US ON:
Author: Steve Jenkins
21st April 2009

Flash tip: Avoid nasty 3D model clipping

SUPPORT FOR QUADTREE FROM PAPERVISION3D MAKES RENDERING EASIER

Flash tip: Avoid nasty 3D model clipping
SUPPORT FOR QUADTREE FROM PAPERVISION3D MAKES RENDERING EASIER

IF ANYONE HAS used Papervision3D, they will know the difficulties of re-creating a full 3D engine inside Flash. One of the main problems that is instantly noticeable is that when two models are very close together, often the triangles merge together so that bizarre clipping angles take place. This instantly shatters the illusion that you’re actually working in 3D and takes away from the models, which have lovingly been created and imported to your project.
Papervision has now managed to alleviate this problem thanks to its new support for QuadTree. QuadTree works by subdividing the screen into smaller sections, and this resolves the conflicts that occur between triangles. Some of you may be familiar with another open
source 3D engine called Away3D, which was actually the first 3D engine to incorporate QuadTree support. Thanks to its open source nature, the developers of Papervision3D have been able to port the QuadTree support from Away3D directly over.
This not only gives improvement to the Papervision3D engine, but the developers also hope that it would make way for some really innovative new features to be brought to the project. To take advantage of this new feature, simply download the latest version of Papervision3D
and use the QuadrantRenderEngine class.

Tags: ,
  • Tell a Friend
  • Follow our Twitter to find out about all the latest web development, news, reviews, previews, interviews, features and a whole more.

    What's your opinion?

    Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

    Be nice. Keep it clean. Stay on topic. No spam.

    * Required fields