This topic is now archived and is closed to further replies.


multiple bitmaps in arrays?

Recommended Posts

Steelrose    122
I''ve been working on my program and have been getting Vertex arrays to work great. But I''ve walked into some snags. Is it possible to use multiple texture bitmaps in a single vertex array. The problem comes from a very complex model. I can''t really use a single texture. So I was wondering if there was an already known method to use multiple bitmaps or if I needed to create one. Thanks in advance.

Share this post

Link to post
Share on other sites
Corrail    133
No, it isn''t possible at current version of OpenGL. I don''t know any extension which supports this.
Half-Life 2 used a clever trick. They''re picking more texutres into one. For example 4 512x512 in one 1024x1024. But there''s a problem with texture anti-alaising, because there pixels from other textures may have affect on the result anti-alaised pixel. The guys from Valve solved this problem but they didn''t say how... :-)
Try this:
(its a german page but there''s a nice picture)


"If it looks good, it is good computer graphics"
"If it looks like computer graphics, it is bad computer graphics"


Share this post

Link to post
Share on other sites