At 9:26 PM -0700 10/13/05, German W. Bauer wrote:
I have a setup where I created a RB3DSurface with 24 surfaces using
AddPictureWithMask, each of the pictures is 24-bit + Alpha and
400x400 pixels. All images are supposed to get swapped out
periodically (approx every 8 secs) with new images.
This works well if I have a 6x4 testarray of images looking onto the
images directly, however it gets unbelievably slow when the camera
also moves. I wanted to created a "fly-by" motion with the camera,
while the images on surfaces get swapped.
That should be no problem.
I was tearing down all objects and then recreating the surfaces,
then updating the rb3dsurface.
You shouldn't have to tear or recreate anything. Just add all the
pictures ahead of time to the surface, and "swap" among them by
assigning to the .Shape property.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|