Skip to main content
GameDev.net gamedev.net
🔒 Locked

Texture problem

Started by NinjaCross Aug 29, 2000 at 7:28 AM 0 replies 650+ views
Original Post
NinjaCross
NinjaCross
Hey guy ! i need for a little help. I'', making a 3d engine (you can find some stuffs about it on my web page), but i have a problem on texture mapping. I applied the textures as in the Nehe animated FLAG example. The problem is that if i use high values on texture position (for tiling on poligons), the texture are distorted. How can i generate texture coordinates in a range (0...1, not 0.....10000000 !! , without using high values (the position must be set to 0 when it gains the maximum value, the end of the bitmap) ? Thanks in advance, any suggestion will be appreciated //------------- Making Funny Garbage Codes on http://members.xoom.it/NinjaCross
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.