|
-
April 3rd, 1999, 06:03 PM
#1
texture wrapping in direct3d
i have some problems with texture wrapping in direct3d i need to wrap a bmp file around a
blok so that the sides are good i have tested some possibilities but one side is always wrong
and because you can see the 4 sides i need to have them all in the right shape
-
September 26th, 1999, 10:05 AM
#2
Re: texture wrapping in direct3d
hi
I don´t know how Direct3D handles texture mapping but the way textures are used is almost the same every time:
First of all you have a texture that must be split into several tiles which means if you have a triangle, for example, you have to specify the u and v coordinates of the texture in the vertex structures of the triangle, and then the parts of the texture are projected correctly.
I guess that your problem is that the u and v coordinates are not initialized
properly which causes some ugly effects.
hope that helps
ralph
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|