Texture Mapping OpenGl
Posted on 2003-03-02
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
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).
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.