Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Strange rendering on windows XP.  (Read 1730 times)

0 Members and 2 Guests are viewing this topic.

Nyrus

  • Newbie
  • *
  • Posts: 7
    • View Profile
Strange rendering on windows XP.
« on: December 20, 2011, 05:59:00 pm »
Hello, I'm having a bit of trouble with 3d rendering on windows xp.

When I compiled and ran my win32 application in ubuntu with wine, it works properly.



But when I run it on Windows XP, it looks like the polygons are messed up.




I'm not sure if this is a problem related to my intel integrated graphics card,
 as it worked fine on linux. I asked my friend who has windows 7 to test it
and it rendered correctly for him. So its either a hardware problem or a
windows xp problem. Or possibly a driver problem?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Strange rendering on windows XP.
« Reply #1 on: December 20, 2011, 06:08:02 pm »
Do you use anything from the graphics module? If not, then it has probably nothing to do with SFML.
Laurent Gomila - SFML developer

Nyrus

  • Newbie
  • *
  • Posts: 7
    • View Profile
Strange rendering on windows XP.
« Reply #2 on: December 20, 2011, 06:26:15 pm »
Yes I am using libsfml-graphics. And I'm not really sure what is causing this. And why it acts this was only on my windows xp installation and why it works properly in wine and windows 7. Just thought someone might have an idea.

Haikarainen

  • Guest
Strange rendering on windows XP.
« Reply #3 on: December 21, 2011, 04:41:48 pm »
Post the code. SFMLUploads is a good place for larger codesnippets, but try to keep them as simplified as possible.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Strange rendering on windows XP.
« Reply #4 on: December 21, 2011, 04:53:28 pm »
Just thinking, are you running with the latest drivers on both platforms? And on Ubuntu you might be running with the MESA OpenGL implementation with software renderer so the graphics card/circuit is not used at all.

Not saying that it is this but it would explain why it works on Ubuntu but not on Windows. And if that number on the top is the frames per second, software renderer would explain why it is so low.

Also why it looks like that on Windows seems to be that your viewport/backbuffer is 2x2 big only. As there is only 2 by 2 pixels. It's very similar to when I am down-sampling for Bloom and HDR effects.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

 

anything