The Skyscraper Simulator Forum

General Category => Bugs and Troubleshooting => Software => Topic started by: NothingCanStopMe357 on October 31, 2022, 10:05:30 pm

Title: addoverlay is glitched
Post by: NothingCanStopMe357 on October 31, 2022, 10:05:30 pm
I decided to test my buildings in 1.11 and I believe it was glitched up. I used the latest build by the way. It’s only the Addoverlay command as I found out loadcropped actually works. To clarify I even tried to replace second texture with a non cropped texture for addoverlay and it’s still glitched.

here is proof it works in alpha 10:

(https://lh3.googleusercontent.com/drive-viewer/AJc5JmQ1nTQaaiEWzfTNFPx51nFRif1W8GK0bnxB3UUSQYe6IdPzLYyYFZYQYGUd91YFXmvZrXRveyU=w1170-h2007)(https://lh3.googleusercontent.com/drive-viewer/AJc5JmRnwIdJmNhhIRDTF4vekuAnkfCKoLH2-XTR2r2PlYpWleEcIULWSGNE21NyqHSB4L3C3fFPWV4=w2940-h5043)

This is what I get in 1.11 (latest: 10/26/22 build)
(https://lh3.googleusercontent.com/drive-viewer/AJc5JmQMX7JsPl3Mw98WKjE5d0xYH07KACQnmJcPKan5uVlfEMdkzCLJ-fG3TkIGVqSohUi71AdVseg=w2940-h5043)(https://lh3.googleusercontent.com/drive-viewer/AJc5JmQQXtONbKv_RhWX4m_lOZWybVzVudmA3lAqRoiQ_sa5AM63Pga66XluBVcg86w_tZeHCB9vdJc=w2940-h5043)

However, I have noticed the fonts look noticeably better in 1.11 as opposed to 1.10
Title: Re: addoverlay is glitched
Post by: eventhorizon on November 06, 2022, 12:07:41 am
LoadCropped appeared to have issues too for me.  I switched the main texture copying function, ogre's blitFromMemory() to blit() and it appears to fix all the problems, at least for me.  I need to test it for compatibility to make sure it'll work for others.
Title: Re: addoverlay is glitched
Post by: NothingCanStopMe357 on November 06, 2022, 09:29:04 am
Ok. Thanks for doing that.
Title: Re: addoverlay is glitched
Post by: eventhorizon on November 06, 2022, 03:09:42 pm
I've confirmed that my fix works on Windows, Mac and Linux, so I'll be putting out a new build with the fix soon, maybe tonight.