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

Author Topic: Incorrect sprite position on another machine  (Read 1395 times)

0 Members and 1 Guest are viewing this topic.

phoeniixz

  • Newbie
  • *
  • Posts: 3
    • View Profile
Incorrect sprite position on another machine
« on: November 13, 2012, 06:22:07 pm »
I did some drawing to sf::RenderTexture then draw it to screen by with sf::Sprite.  I have no idea why the position of the drawing appears incorrectly on another machine.  On VirtualBox and VMware I got different results.  It shows up correctly on VMware but incorrect on VirtualBox.

[attachment deleted by admin]

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10916
    • View Profile
    • development blog
    • Email
Re: Incorrect sprite position on another machine
« Reply #1 on: November 13, 2012, 09:30:12 pm »
It shows up correctly on VMware but incorrect on VirtualBox.
It's a known bug with VirtualBox.
I bet you'd have found this answer with the search function... ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

phoeniixz

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Incorrect sprite position on another machine
« Reply #2 on: November 14, 2012, 04:46:39 pm »
It's a known bug with VirtualBox.
I bet you'd have found this answer with the search function... ::)

Not only VirtualBox but also on another PC with NVidia card.  I think I have no choice but drop off-screen drawing for video card compatibility.  I also had problem with the sf::text appeared as blocks after I updated my ATI Radeon HD 5770 card driver.  It forced me to downgrade to older driver.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10916
    • View Profile
    • development blog
    • Email
Re: Incorrect sprite position on another machine
« Reply #3 on: November 14, 2012, 05:20:33 pm »
Are you using the latest source of SFML? There were quite a few fixes since the RC, specially one regarding sf::RenderTexture and Intel graphics card, maybe that fixes it also on the Nvidia card...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

phoeniixz

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Incorrect sprite position on another machine
« Reply #4 on: November 14, 2012, 05:26:34 pm »
Are you using the latest source of SFML? There were quite a few fixes since the RC, specially one regarding sf::RenderTexture and Intel graphics card, maybe that fixes it also on the Nvidia card...

I'm using precompiled binary of SFML 2.0 RC on the download page.  I'll try to compile the latest source myself.

Thanks for your suggestion. :)