Texture Mapping

  • Follow


Can anyone send me a link to an example of texture mapping without using the
glu library?

Thanks.

Alfredo.


0
Reply Alfredo 11/18/2004 12:05:41 AM

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06

in this tutorial you will see glu.h and glaux.h header files, but they
are not used for texture mapping

glu is used for setting perspective camera, u can use some other way
(glOrtho??), to remove dependence of glu.

glaux is used for loading image from bmp file, if you can load image
urself then no need to use glaux.

Saurabh

0
Reply Saurabh 11/18/2004 6:08:27 AM


I was able to use GlFrustum instead of gluPerspective, so I eliminated the
dependency on glu.
Now, do you or anybody else have a link to an example of how to load a
bitmap manually?.
I cannot use glaux, and this is a linux implementation, so I cannot use the
windows' LoadBMP function either.

Any suggestions?
is there an equivalent function to LoadBMP in linux?
thanks

"Saurabh Garg" <saurgarg@gmail.com> wrote in message
news:1100758107.673542.63640@z14g2000cwz.googlegroups.com...
> http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06
>
> in this tutorial you will see glu.h and glaux.h header files, but they
> are not used for texture mapping
>
> glu is used for setting perspective camera, u can use some other way
> (glOrtho??), to remove dependence of glu.
>
> glaux is used for loading image from bmp file, if you can load image
> urself then no need to use glaux.
>
> Saurabh
>


0
Reply Alfredo 11/18/2004 8:06:15 PM

Alfredo Macias wrote:
> I was able to use GlFrustum instead of gluPerspective, so I eliminated the
> dependency on glu.
> Now, do you or anybody else have a link to an example of how to load a
> bitmap manually?.
> I cannot use glaux, and this is a linux implementation, so I cannot use the
> windows' LoadBMP function either.

Try http://openil.sf.net


Malte
0
Reply Malte 11/18/2004 8:50:10 PM

3 Replies
192 Views

(page loaded in 0.07 seconds)

Similiar Articles:













7/14/2012 1:00:35 PM


Reply: