Archived

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

paulbird

BindTexture?

Recommended Posts

Apparently "BindTexture" is a fastway to chage textures. But I don''t have this function. I just have to use Tex2D each time I want to load a texture, this is quite slow and seems to cause problems sometimes such as textures not loading if the display is too big. What can I do?!

Share this post


Link to post
Share on other sites
Yes thats what I said, I don''t have glBindtexture.

I can type it into the GL help and it isn''t there. I can''t use it. It doesn''t know what it is. Is it some extra thing in "glaux.h" or something?

Share this post


Link to post
Share on other sites
glBindTexture() is in OpenGL core from v1.1 , so it''s even in crapy verison MS supplies. Check gl header files.

You should never let your fears become the boundaries of your dreams.

Share this post


Link to post
Share on other sites
quote:
Original post by pleja
Speaking about crapy MS version....

How can I use v1.4 on Windows? Download it somewhere, install or what?


no and no.
you can access certain features via extensions.
wait for version 2.0.. it''ll be dandy

-eldee
;another space monkey;
[ Forced Evolution Studios ]


::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

Share this post


Link to post
Share on other sites
quote:
Original post by pleja
Speaking about crapy MS version....

How can I use v1.4 on Windows? Download it somewhere, install or what?


There''s a site called Gamedev.net which has an article called "Moving Beyond OpenGL 1.1 for Windows" right on it''s front page. Not too hard to find.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
if i remember correctly don''t you have to use glBindTexture before Tex2D?


Yes, you do.

The ONLY reason glBindTexture would not be working, is because of a spelling mistake.

glBindtexture != glBindTexture
glbindtexture != glBindTexture

etc.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by paulbird
Apparently "BindTexture" is a fastway to chage textures. But I don''t have this function. I just have to use Tex2D each time I want to load a texture, this is quite slow and seems to cause problems sometimes such as textures not loading if the display is too big. What can I do?!


Do us a favor... kill yourself

Share this post


Link to post
Share on other sites
Gl 1.4 is included in nvidia drivers. So download them to gain access. Lot of extensions migrated to the gl core and some have changed their spec as a result. You can either use extensions or use the core arb + ext/nv/ati extensions. I find it easier to use sgi gl 1.4 docs + gl 1.4 driver. You also want nvidia gl.h and glext.h and wglext.h headers. Their gl.h includes gl 1.4 names and microsoft''s gl.h goes only to 1.1 + some extensions. MS gl 1.1 is not complete as some things that should have been in the 1.1 core are left as extensions under MS gl. I think vertex array is one of them.

Share this post


Link to post
Share on other sites
quote:

You also want nvidia gl.h and glext.h and wglext.h headers. Their gl.h includes gl 1.4 names and microsoft''s gl.h goes only to 1.1 + some extensions.


You really sure NVIDIA provides a gl.h? That file belongs to Microsofts implementation and noone should provide their own to use instead of Microsofts.
quote:

MS gl 1.1 is not complete as some things that should have been in the 1.1 core are left as extensions under MS gl. I think vertex array is one of them.


Please say what 1.1 features are only accessible through extensions. Vertex arrays are most definitely accessible the usual way and not only through the extension mechanism.

Share this post


Link to post
Share on other sites