  | | | 3D feedback <was 3d member > | 3D feedback <was 3d member > 2004-03-26 - By NoiseCrime
Back
-- -- Original Message -- -- From: "Thomas Williams" <t@(protected)>
> but the main performance problem is that in order to work, the 3d sprite > must be dts=false. that makes it much slower. So i need to find a way to get > the image from the stage with 3d sprite using dts = true.
Unfortunately in all the tests I did, I found actually grabbing the image from a w3d member was slower than doing it non-dts via copypixels! Also using the openGL rendered performed faster then DX7 (something like 15%). Granted this could be very dependant on machine performance and 3D card, but overall I seam to remember deciding that non-dts was simply faster (and more realiable). The only benifit of using member.image is that the member does not need to be a sprite on stage and the rendered frame will be updated each time you get the image, allowing for multiple images to be extracted within a single frame (just remember to use image.duplciate() is assigning the image to a varible in this case)
I forget whats been discussed on this thread but the main issues when dealing with grabbing images are
1. You provide the bitmap as a power of 2 2. Use #low or #lowfiltered quality textures if possible to avoid creating mipmaps 3. Be realistic in the size of the image being grabbed - i.e. going above 256x256
Noisecrime 2004
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |