June 17 2024 build

From Skyscraper Wiki
Jump to navigation Jump to search
This article is legitimate.
It contains good-faith information, such as an existing building or content.
This article describes a development build of Skyscraper Simulator.
It contains good information related to Skyscraper Simulator.

This build has had a lot of work put into it, it mainly features the new polygon code that should speed up building loading times.  It also has a number of fixes, and fixes an issue where elevator rails would utilize too many polygons causing slowdowns on startup.

The big polygon code change involved the move of Skyscraper's geometry tables from the Mesh object to the Polygon object.  The idea is that the geometry tables were probably getting too large in some buildings, moving them to the Polygon object results in much less loading work to do, since the data is smaller and itemized better.  This change completely broke the rendering code, and required a lot of debugging and fixing to bring Skyscraper back to normal again.  This build might have bugs from the changes, so help test it out if you can.

There's still a couple things I haven't tested yet.  The Cut function is much faster now, since before it had to read out the geometry data, cut a hole, and reconstruct the geometry back, reindex the triangles, and delete the old vertices.  Now it just has to read the geometry data, cut a hole, and then make new polygons, the vertices are deleted by simply deleting the old polygon, no need to do a full reindexing.

Changelog:

  1. Have Polygon object handle polygon counts
  2. New polygon processing code
  3. Moved SBS utility functions into their own file (utility.cpp)
  4. Removed GetGeometry function
  5. Keep track of combining status
  6. Mention force combined
  7. Removed support for temporary wall objects, which are now incompatible with the new polygon code
  8. Removed support for temporary objects, which are no longer needed
  9. Only create a single level of elevator car rails, instead of creating on all levels
  10. Fix SBS Prepare console messages
  11. Report processing of dynamic meshes in verbose mode
  12. (DebugPanel) Don't work on floor object if the current floor doesn't exist yet

See also[edit | edit source]

External links[edit | edit source]