문제

I've been trying to get my game engine to display textures, and I finally got it working. I used the UV coordinates from the 3ds model, however the textures are displaying differently.

This is the rendering in 3ds max: alt text

and this is the opengl rendering in my game engine: alt text

why are the textures layed out like that? I supplied texture coordinates from the 3ds file generated... does anyone know why this is happening?

도움이 되었습니까?

해결책

I found out the problem... 3DS Max automatically scaled the texture to have an equal width an height, or else it will display weirdly like above...

다른 팁

From looking at your picture I can only assume that UV coordinates have been assigned to different vertices that they are assigned to in 3DS Max.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top