June 17 2024 build
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:
- Have Polygon object handle polygon counts
- New polygon processing code
- Moved SBS utility functions into their own file (utility.cpp)
- Removed GetGeometry function
- Keep track of combining status
- Mention force combined
- Removed support for temporary wall objects, which are now incompatible with the new polygon code
- Removed support for temporary objects, which are no longer needed
- Only create a single level of elevator car rails, instead of creating on all levels
- Fix SBS Prepare console messages
- Report processing of dynamic meshes in verbose mode
- (DebugPanel) Don't work on floor object if the current floor doesn't exist yet
See Also
- Previous Build
- Next Build
- Development Builds