Link to home
Start Free TrialLog in
Avatar of dani333
dani333

asked on

Texture Mapping OpenGl

Hi,
I need to do a texture mapping on a 3D object,
cube mapping,sphere mapping and cylinder mapping.
My program now,includes the ability to load
*.skl format,then *.obj/*.off and then *.wgt(weights
file).
I have hierarchy window which has a tree of all the
skeleton bone heirarchy,i have also sidebar with bitmaps
buttons,and a toolbar with three buttons(cube,sphere,cylinder).
for example:
When i choose cube from toolbar,then one of the bmp file
by pushing the specific bitmap button,and then push a bone from the hierarchy window, after that the chosen bone should be with the specific texture.
Any help with some algorithm,explane about the three
texture mapping technics (projection calculate),opengl code...

Thanks a lot.
ASKER CERTIFIED SOLUTION
Avatar of JackNCalvin
JackNCalvin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dani333
dani333

ASKER

Hi,
Thanks for your help,please send me your
URL with the full source code of the program.

Thanks again:-)
Avatar of dani333

ASKER

Don't forget give me your URL.
Thanks...
dani333:

Sorry about the delay.  I was away for the past couple days.  Here are the URLs:

http://www.cse.psu.edu/~jmeyer/maze/

The main file is maze2.cpp.  Have fun :)

-jack-
Avatar of dani333

ASKER

Thanks I have another problem...

Lets say I have 3d object like an human body ,
on this object i'm applying some diffrent texture, some of the texture will be blended with each other on the intersections parts,
now that all the textures are applied on the object i want
to save the texture in (one!) bitmap file and of course remap the u,v coordinates of the object to correspond
to the new merged texture.
how can i do it ?