Mailing Lists: Apple Mailing Lists

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

Alternating vertex colors



I'd like to find a more efficient way to specify two alternating vertex colors for vertex arrays, rather than including a complete color4 array in the VAO/VAR, ie "even color, odd color, even color, odd color..." What other options do I have? A vertex program? I can't fall back to a software renderer, and color arrays seem to incur too much overhead, even though they're only generated when the colors change (my VAR arrays are planar, non-interleaved, so I only have to flush the dynamically-changing vertices).
--
Shaun Wexler
MacFOH
http://www.macfoh.com


_______________________________________________
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.