Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2D Games with OpenGL



Hello,

I was thinking about all those graphics you have.
Do you use them all in one level, stage, area, etc. etc.?





In a message dated 9/18/04 4:17:57 PM, email@hidden writes:

>> Yes, slightly, assuming relatively modest object counts (say, a dozen
>
>> layers, one thousand sprites.) You trade per-frame CPU sorting for the
>
>> depth buffer clear time and the per-pixel depth test comparison. These
>
>> are very optimized on recent GPUs though so it won't make a big 
>> difference. You will however also save the VRAM used by the depth 
>> component of the framebuffer, which might be nice if you're already 
>> low on VRAM.
>
>Well every bit of VRAM counts :-)

If you have a sprite that won't show up untill the end of the level, then
you can wait till it is time to load it in VRAM.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.