Garrett Johnson
Garrett Johnson
> I realized there's already a JSON schema for layer.json in Cesium Native: > > https://github.com/CesiumGS/cesium-native/blob/main/CesiumQuantizedMeshTerrain/schema/layer.schema.json > ... > From a quick read, seems to match everything we talked about...
For the sake of easily understanding the issue please provide a live example that doesn't require pulling and running a separate Github project. You can host a demo page with...
Thanks for producing a live link. I think this demo is too complicated to dig into, though. There are over 800 individual meshes and a mix of batched and instanced...
> Replicating this issue with a single BatchedMesh is actually quite "simple." I understand but I'm asking for a minimal reproduction case to be provided. I think it's a more...
> Ah, the case I mentioned above is actually based on the examples/webgl_mesh_batch.html. All I did was change the MAX_GEOMETRY_COUNT to 200,000 directly in the HTML, and then set it...
I've made a simpler example that just uses javascript and cubes to understand things a bit better. This demo allows for changes between a merged geometry, batched mesh, and instanced...
> increase in CPU usage on my computer could be the data upload to the GPU > ... > Could this be due to the GPU waiting for data uploads?...
> But alternatively it should use multiDrawArraysInstancedWEBGL , since he has something like 800 unique geometries but many of instances of each. Unless there's something odd in the way the...
> is still possible to have a custom BatchedMesh class that supports batch instanced draw calls by using the object._multiDrawInstances property (which I'm doing for a project). Of course but...
Thank you! A few questions: > Add a comment suggesting to add a changeset file whenever a new PR is created. From [here](https://github.com/changesets/changesets/blob/main/docs/command-line-options.md) it sounds like it's expected that users...