Texture Mapping & OPENGL

Started by
2 comments, last by senem 16 years, 7 months ago
Texture Mapping & OPENGL I want to cover a teapot surface with a figure. I want to tile the figure on teapot. 1-) How can I do it? 2-) How can I find a sample code for it?
Advertisement
Hey,
I won't help you with texturing, but here is a code that creates teapot from scratch (at least it looks like):
http://www.opengl.org/resources/code/samples/simple/teapot.c
There are two texture methods : Normal Mapping or Displacement Mapping.
Which one is suitable to cover a surface like teapot?
Object(teapot) is a 3d model. But texture mapping will be 2d mapping. Figure is 2d.

This topic is closed to new replies.

Advertisement