Jump to content
  • Advertisement
Sign in to follow this  
Marmin

OpenGL OpenGL texture problem with Windows 7 upgrade

This topic is 3295 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've recently installed a windows 7 upgrade Kit. The problem I have is that the textures of my project are totally screwed. I'm starting to analyze the situation: 1) I haven't changed anything in the code, at all 2) I had no texture problems in Xp, Vista 3) On the same computer, all worked fine in Vista Should I do some sort of tweaking in windows 7 to have opengl work properly? It might be a simple problem, but I'm in the debugging process of my project and I'm just confused now as I have not changed anything in my computer setup and code except for having upgraded to Windows 7. The last thing I need is rewriting the ogl code.

Share this post


Link to post
Share on other sites
Advertisement
I moved over to windows 7 with no problems at all with openGL, even my really old projects worked fine. So bearing that in mind I didnt change any windows settings to get GL to work, it should just be fine, ensure you have latest graphics drivers that may be causing an issue?

Also it would be useful to know how you mean "screwed" what do they look like?

How are these textures loaded into the project? if your using some windows code to look in and enumerate directories then that could be also the issue not just GL.

Share this post


Link to post
Share on other sites
You said you installed a Win7 upgrade kit, doing upgrades between versions of windows is always a tricky thing. After you upgraded did you reinstall your video drivers? If not try that and let us know if that helps.

Share this post


Link to post
Share on other sites
It's one big mess. It seems the wrong texture numbers are displayed, rotated . I tried a little code modification but the bug seems persistent. It doesn't make sense. Windows tells me the latest drivers are installed.

Share this post


Link to post
Share on other sites
if the wrong textures are being displayed sounds like it might be an issue to do with your texture manager or material system whatever you use not openGL, if openGL is rendering textures then it shouldnt be doing anything wrong...the textures may also appear rotated because if a texture is mapped to the wrong object the UV's might not be right for that texture.

Just go back to basics mapping a single texture to a single polygon and see if that comes out correctly then you can look as to why the wrong textures are being applied..

are you using the same compiler to build this code? or just running an exe?

Share this post


Link to post
Share on other sites
I think I found the main problem; it only displayes the last texture I loaded. f.e. out of an array of textures it will only display the last texture. Even if I feed it texture[1] . No code changed whatsoever, in vista I didn't have this problem.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!