Ola,
I have a big picture to past over a big model. Many mesh.
For the moment, the image is repeated on each polygon.
Is it possible to continue the same image on many poygones? Or must I cut the image??
Thanks
past a big pict on many mesh
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The complete texture is put into a texture coord space going from 0.0 to 1.0 in both axes. Each vertex is assigned a texture coord which maps that vertex to the location within the texture. The texture fragment that is used to color a face is determined by all texture coords of the vertices of the polygon/face. Because textures are often repeated several times you can also use coordinates other than 0.0 to 1.0 which just wrap around, so 1.2 is the same as 0.2.