PDA

View Full Version : How to include texture from picture to gluSphere?



schailan
05-21-2002, 01:16 AM
hi all,

might be possible to get an example of code using mapping texture from jpeg or rgb format file to an GLUquadricObj*?.

thx

bakery2k
05-21-2002, 01:39 AM
Check out the quadratic tutorial at nehe.gamedev.net

schailan
05-21-2002, 03:35 AM
Originally posted by bakery2k:
Check out the quadratic tutorial at nehe.gamedev.net


this url does not exist!!!
have u got any code?

bakery2k
05-21-2002, 03:41 AM
The site must be down, it certainly exists. Try again later.

schailan
05-21-2002, 03:47 AM
Originally posted by bakery2k:
The site must be down, it certainly exists. Try again later.


yes ok but i need some code for example!!!

schailan
05-21-2002, 04:03 AM
Originally posted by bakery2k:
The site must be down, it certainly exists. Try again later.


In fact, i work under linux OS so i'd rather get example under system X window

bakery2k
05-21-2002, 04:08 AM
The openGL code is identical no matter what OS you use.