-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: (99 commits) Add metadata flags to noa's generated terrain/object meshes, in case client needs to find/distinguish them Fix bounds checking for terrain meshes that was confusing shadowCasters Doc updates and rebuild Update to BJS 6.1 - fixes some babylon internal type errors Updates **many** jsdoc comments to improve generated docs Renames several internals to public: `rendering._engine` to `engine` `rendering._camera` to `camera` `rendering._scene` to `scene` `rendering._light` to `light` Terrain meshes need positions before the client hears about them Remove duplicate type comments Bump default BJS version to 6.0 Reorganize code around adding/removing/freezing terrain meshes. - `noa` now emits `addingTerrainMesh`, `removingTerrainMesh` - these fire for both regular terrain chunks, and custom block meshes - intention is for client to use these for e.g. implementing BJS shadows - removes previous overwriteable hooks - also expose arrays of current terrain materials, object blocks, in case client needs to see stuff added before its listeners were made Simplify a bit and set visibility via the rendering API Hopefully avoids more GC churn by giving BJS typed arrays (which shouldn't be copied?) Reuse arrays during mesh creation. They get resized often, but this results in noticeably more frequent small GCs rather than infrequent large ones. Change syntax for metadata flags to be consistent Try enabling new babylon performance priority mode Store a list of all current object meshes with instances in the scene add docs Add `rendering.setMeshVisibility`, and make internal version support static meshes Document .33 changes so far Restore per-tick mesh queue timing to count from start of tick event Add hooks for client to know when meshes are added/removed to the scene. Also adds deprecation note about removing material hook ... # Conflicts: # README.md
- Loading branch information
Showing
155 changed files
with
20,488 additions
and
5,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015-2021 Andy Hall ([email protected]) | ||
Copyright (c) 2015-2022 Andy Hall ([email protected]) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.