Oh thanks, Joseph. It sounds like I was going about this the wrong
way. I had created 1 object3d with 24 shapes attached to it via
AddPictureWithMask, but if I understand you correctly you suggest
making each panel its own Object3d, with a set of image surfaces
attached and then toggle them via .shape. I will let you know how
this works out.
Thanks much,
+ G
On Oct 14, 2005, at 7:27 AM, Joseph J. Strout wrote:
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>
_______________________________________________
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>
|