August 6 2025 build

From Skyscraper Wiki
Revision as of 17:24, 6 August 2025 by Elevator1512 (talk | contribs) (Created page with "{{OB}}{{db}} This build is the introduction to SBS PolyMesh shapes. Native shape support in the simulator (as opposed to using OgreProcedural aka Primitives), allows you to add shapes to any object in the simulator, and also perform cuts on those shapes. Currently texture remapping is broken when cutting shapes, this will be fixed, but for now the texture mapping gets messed up after a cut. The attached screenshot shows two spheres in the "Simple - Shapes" demo, one...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is an official build of Skyscraper, made by eventhorizon.
It contains only the files in SVN, and can be safely downloaded to your computer.
This article describes a development build of Skyscraper Simulator.
It contains good information related to Skyscraper Simulator.

This build is the introduction to SBS PolyMesh shapes. Native shape support in the simulator (as opposed to using OgreProcedural aka Primitives), allows you to add shapes to any object in the simulator, and also perform cuts on those shapes. Currently texture remapping is broken when cutting shapes, this will be fixed, but for now the texture mapping gets messed up after a cut. The attached screenshot shows two spheres in the "Simple - Shapes" demo, one of them is a physical model object that can be pushed around. Advanced shapes might introduce a performance penalty when performing cut operations, it's best to keep a lot of advanced shapes out of the large meshes such as Level, External, etc, and keep them as independent meshes such as Models. This introduces the following shapes, the shape code itself was generated by GPT-4o, and reviewed/edited by me, since I'm not very good at the related geometry math:

  1. Sphere
  2. Box
  3. Cylinder
  4. Cone
  5. Capsule
  6. Plane
  7. Circle
  8. Torus
  9. Dome
  10. Pyramid
  11. Prism
  12. Tetrahedron
  13. Octahedron

So far the script commands AddSphere and AddBox have been created, more will come soon. I've added the "Simple - Shapes" demo to demonstrate the shape support, this demo will be overhauled soon and made to look a lot better. Sim engines can now be paused and resumed from the VM console (CLI) in the Console window, instead of just through the Engine Manager window. I made and added the sound "none.wav", which replaces Beno's none.wav. Beno's version had a small amount of static in it, that when looped caused sound issues. This makes the sound silent, and should fix issues, make sure you copy it into the data/beno folder too. If this continues to be a problem, I'll see if I can get the simulator blacklist that sound and never load it, so that "none.wav" would just translate to no sound needed. I added a triangle tessellation function for future use (again mostly generated by GPT-4o, since I don't know the math), this should help with lighting support in the future. A fairly major bug was fixed in this, that was causing texture loads to fail on a number of object in Beno Building Creator buildings. Let me know how this build is working for you.

Changelog:

  1. ScriptProc: made AddSphere command, using the new shape support, and added the new "Simple - Shapes" building
  2. ScriptProc: added AddBox command
  3. SBS: shapes can now be created on elevator car, shaft, stairwell, and SBS objects
  4. SBS: added support for creating PolyMesh shapes on models
  5. PolyMesh: added remaining shapes and fixes to Shape object
  6. Guide: added section on PolyMesh to development page
  7. VM: added pause and resume console commands
  8. Added new blank sound, none.wav, to replace the bad/static one used in add-ons
  9. VM: Added new pause/resume commands to the help guide
  10. PolyMesh: added triangle tessellation function
  11. VM: Added field descriptions to ps command
  12. Texture Manager: if a manual texture fails to create due to a texture with the same name existing, load that existing texture instead of failing with an error

See also

External links