October 5 2022 build: Difference between revisions
Elevator1512 (talk | contribs) (Created page with "This build mainly features fixes for lighting, but has a number of other things and even has a new FPS indicator on the top right of the screen (from the Ogre engine), which you can change to advanced mode or turn off by pressing F9. If you want to try out lighting, you can turn it on in the INI file. '''Update:''' Make sure you only use the OpenGL3+ renderer if you want to use lighting, because the lighting won't look right in the regular OpenGL renderer. You can choose...") |
Elevator1512 (talk | contribs) m (Text replacement - "Category:Development Builds" to "Category:Development Builds Category:2022 Builds") |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{legit}}{{db}} | |||
This build mainly features fixes for lighting, but has a number of other things and even has a new FPS indicator on the top right of the screen (from the Ogre engine), which you can change to advanced mode or turn off by pressing F9. If you want to try out lighting, you can turn it on in the INI file. '''Update:''' Make sure you only use the OpenGL3+ renderer if you want to use lighting, because the lighting won't look right in the regular OpenGL renderer. You can choose renderers by deleting the ogre.cfg file and starting Skyscraper again. | This build mainly features fixes for lighting, but has a number of other things and even has a new FPS indicator on the top right of the screen (from the Ogre engine), which you can change to advanced mode or turn off by pressing F9. If you want to try out lighting, you can turn it on in the INI file. '''Update:''' Make sure you only use the OpenGL3+ renderer if you want to use lighting, because the lighting won't look right in the regular OpenGL renderer. You can choose renderers by deleting the ogre.cfg file and starting Skyscraper again. | ||
Line 40: | Line 41: | ||
== External links == | == External links == | ||
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build- | * [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-100522-build/ Build: 10/05/22 build on the Skyscraper Simulator Forum] | ||
[[Category:Development Builds]] | [[Category:Development Builds]] | ||
[[Category:2022 Builds]] | |||
[[Category:Alpha 11 builds]] | [[Category:Alpha 11 builds]] |
Latest revision as of 14:01, 1 September 2024
It contains good-faith information, such as an existing building or content. |
It contains good information related to Skyscraper Simulator. |
This build mainly features fixes for lighting, but has a number of other things and even has a new FPS indicator on the top right of the screen (from the Ogre engine), which you can change to advanced mode or turn off by pressing F9. If you want to try out lighting, you can turn it on in the INI file. Update: Make sure you only use the OpenGL3+ renderer if you want to use lighting, because the lighting won't look right in the regular OpenGL renderer. You can choose renderers by deleting the ogre.cfg file and starting Skyscraper again.
On Linux, when exiting a building, memory usage will finally go down due to the use of the malloc_trim() function, previously it stayed the same.
This build has the first-ever contribution from a third party, it was a GitHub pull request from NoNoTeal. I cleaned up the changes they made and committed the code to Skyscraper. Their changes fixed an issue with Skyscraper on Macs with Retina displays.
I cleaned up the PolyMesh geometry system to get rid of the "polygon sets" feature, since it made it messy and complicated.
Textures now report on startup.
I finally fixed lighting somewhat, by calculating normals properly.
Shadows now work somewhat, you can turn them on in the INI file, currently they only seem to work for models for some reason.
As usual, let me know how this build is working, and help me fix any issues with it.
Changes:
- Added an INI option for shadows, and disabled by default
- Shadows are now working, but have a render error on startup
- Added an Ogre frame statistics bar
- Disable dynamic lighting on lit textures, in order to retain the lighting effect such as on indicators
- Simplified light functions
- Added SetDirection and LookAt scenenode functions, these need to be tested
- Properly compute normals for 3D geometry, this partially fixes lighting issues.
- Report loaded textures, no need for it to only be in verbose mode
- Cleaned up the PolyMesh geometry system, mostly to remove the double-vector (multi-polygon) structures
- Removed Console's ability to hold positions, due to problems. Fixed the text display, and removed the "Fix Scroll" button.
- Changes for macOS (#8) (this was the first 3rd-party contribution to Skyscraper ever, I modified their changes and committed), this mainly fixes an issue with Retina displays.
- Reset view mode on SBS shutdown
- Added a test light for the first floor, and one for each elevator
- Fix for a crash that would happen when Caelum fails to load, the user exits to the main menu and loads another building. In this, the default skybox will be loaded on that restart situation.
- Run malloc_trim to free memory to OS on individual sim engine shutdown also
- Free unused hardware buffers in UnloadSim()
- On Linux, release as much free memory as possible when exiting to the main menu, using malloc_trim()