View Full Version : texture problem.
10-13-2000, 12:21 PM
Alright, im trying to load up milkshape models with their corosponding textures. The model loads fine, the texture loads fine. But when i draw them on the screen, and move the camera away, i start getting weird looking lines drawn accros the texture. But if i sepratley load the teture(not with the model) and draw it, i dont get the lines. Is this a problem with tex coords or what? thanks.
maybe a link to a few screenshots of the problem will help out
10-14-2000, 06:54 AM
Heres 2 screenshots. One before camera movement(looks fine )
And one after(with the weird lines)
10-14-2000, 03:05 PM
My guess would be one of two things? I have seen similar artifacts if you use glEnable(GL_POLYGON_SMOOTH); It also might be something with your depth testing?
10-14-2000, 03:34 PM
Thanks for the reply, but it was not either of those. Although i wasnt using depth testing, and was using smooth shading. Enabling/disabling them didnt change it. It cant really be an opengl setting. because i can draw just a straight quad off to the side with the same settings, and it doesnt give the same result. just when loaded from file.
10-14-2000, 05:06 PM
Are you using mipmapping? If so, make sure you have defined all mipmaps down to 1x1.
10-14-2000, 06:40 PM
im not using mipmapping as of yet. this is really weird. Could it be with the normal generation? though i dont see what causing a problem like this. hmm
10-14-2000, 07:00 PM
Fixed it. It was a pathetic solution(usually is) the botton face of the board was intersecting with the top face on the wood board. And it apparently caused problems when rendering. But, now the question is can you texture individual faces of objects in milkshape like you can in 3dsmax? or does anyone have a link to a 3ds file reader? thanks.
10-14-2000, 08:32 PM
Yes, you can texture individual faces in MilkShape3d. There are some tutorials on its website that detail how to do so. http://www.swissquake.ch/chumbalum-soft/ms3d/tutorials.html
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.