Papervision Carousel
Hey guys I was wondering how to create a carousel like this
with papervision. I created one but the planes just go round and round. I was wondering if it's possible for the planes to keep the same angel as the example of the link. I do not want the plane to rotate itself on the y axis but just move on开发者_如何学JAVA the X/Z axis just going around an object in the middle.
I am using FlashBuilder for this.
If you don't need the planes to rotate you don't need Papervision at all and my advice is to avoid it unless it's necessary.
In your example the x position and size can be easily calculated using sine and cosine function. There is also some blur filter applied when the plane is far from us and you will also have to take care of the z-sorting - that is the close objects are rendered on top of those far from us.
Altogether is't easier than dealing with Papervision and you can customize it much better. And you will learn useful techniques :).
精彩评论