I've been trying to get a plugin to repeat a texture across a polygon
using GL_REPEAT for its GL_TEXTURE_WRAP_{S,T} parameter.
Unfortunately, this doesn't seem to work. If I recall correctly, in
QC Tiger there was a distinction for some patches where you could
select their texture repeat mode, or if the textures went to
Rectangles versus GL_TEXTURE_2Ds (I'm guessing the latter meant
"square power of two-sized image"). Was support for this removed in
Leopard (if it existed at all)? If so, is there a way to accomplish
this task? My initial thought is to use a GLSL shader, and have the
fragment shader do the wrapping; this is pretty simple, but if
there's a way to do it in plugin code first I'd love to hear about it.
(I'm assuming that texture-repeating isn't working because GL believes
that the textures its working with in QC are all rectangular now, as a
design simplification -- if this isn't the case, please let me know.)
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]