문제

I would like to combine bitmaps to one texture and apply it to a cylindric primitive. The cylinder will be rotating or better: the texture should moving along the cylindric-surface and therefor you should see only one (up to 3 textures at the same time). For better understanding: it's my intention to create somehow a poster-pillow with a undefined number of posters on it. By clicking on the pillow, it should rotate to the next poster but you will see always parts of the previous/next poster.

My question is: How can I load the texture dynamically but also how to combine, load/unload posters on the run ?

Thanks in advance

도움이 되었습니까?

해결책

I'm not very familiar with papervision, but I'd look into simply supplying a BitmapData as texture, then you should be able to change that bitmap elsewhere in your app and have the texture update on the fly.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top