Jeshurun Hembd
Jeshurun Hembd
On Windows, I can't get the Voxels Sandcastle to work. There is a linking error: ``` [Cesium WebGL] Shader program link log: C:\fakepath(1164,8-66): error X3067: 'f_getPropertiesFromMegatexture__SampleData': ambiguous function call ```...
Running the Sandcastle with a WebGL2 context gives the same error. I confirmed that the failing shader has been translated as expected by `modernizeShader`: ``` [Cesium WebGL] Translated fragment shaderSource:...
> 2. Or just `console.error` with the shader text This is what https://github.com/CesiumGS/cesium/pull/10629 does. I think this behavior was originally intended in `createAndLinkProgram`, but it wasn't working because the shader...
> What about sub-structs for these special properties? Only problem is it could collide with actual property names. Two options to avoid the naming conflict: ### 1. Move the property...
#10520 brought properties from the metadata [Class Property](https://github.com/CesiumGS/3d-tiles/blob/draft-1.1/specification/schema/Schema/class.property.schema.json#L121-L141) into the shader. The next step is to bring in [Property Statistics](https://github.com/CesiumGS/3d-tiles/blob/draft-1.1/specification/schema/Statistics/statistics.class.property.schema.json). In some ways, this is conceptually similar to what we...
@ptrgags, can you point me to where I can find answers to these 2 questions? 1. Where can I retrieve values for Property Statistics? 2. What does this phrase mean,...
Thanks @ptrgags! So if I understand you correctly, the glTF files we are currently using in `MetadataPipelineStage` spec will not have statistics. I will need to: 1. Add a test...
I'm still trying to trace back the link between `renderResources.model` in `MetadataPipelineStage` and the `tileset.metadataExtension`.
As discussed with @ptrgags: we need to load a 3DTileset in `MetadataPipelineStageSpec` to test statistics. This took me a little while to understand and get working. Some key steps included:...
One upcoming challenge for `MetadataPipelineStage`: the types as listed in the `tileset.json` are not always what we need in the shader. For example, a property with `"componentType": "UINT16"` and `"normalized":...