An efficient algorithm for ray casting of CSG animation frames
✍ Scribed by Sanna, Andrea ;Montuschi, Paolo
- Publisher
- John Wiley and Sons
- Year
- 1998
- Tongue
- English
- Weight
- 260 KB
- Volume
- 9
- Category
- Article
- ISSN
- 1049-8907
No coin nor oath required. For personal study only.
✦ Synopsis
This paper presents a new algorithm to generate ray-cast CSG animation frames. We consider sequences of frames where only the objects can move; in this way, we take advantage of the high screen area coherence of this kind of animation. A new definition of bounding box allows us to reduce the number of pixels to be computed for the frames after the first. We associate a CSG subtree and two new flags, denoting if the box has changed in the current frame and if it will change in the next frame, with each box. We show with three examples the advantages of our technique when compared with an algorithm which entirely renders each frame of an animation. Intersections with CSG objects may be reduced to about one-fifth, while the rendering may be computed up to four times faster for the test sequences.