Agisoft Metashape > Bug Reports
Cesium tiles
jetdog6:
Hi,
I'm working on showing off some of our work with Cesium.js on our website, but the tileset I've exported from my dense point cloud in 1.4.0 of agisoft doesn't work in Ceisum. I sent my tileset generated with agisoft to someone in the Cesium community who is more experienced than I am to make sure I wasn't just doing something wrong. He responded as follows:
--- Quote ---Now that https://github.com/AnalyticalGraphicsInc/cesium/pull/6088 is merged it's a lot easier to see tileset errors.
The one that's popping up repeatedly is:
Error: start offset of Float32Array should be a multiple of 4
Looking at the file more closely I see that one of the feature table properties is not byte aligned correctly:
"NORMAL":{"byteOffset":22695}
While it's just an implementation note right now, the spec states that properties should be byte aligned to their data type, so the byteOffset needs to be a multiple of 4. We plan on making this a requirement before 3D Tiles 1.0 is ready.
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/TileFormats/FeatureTable#implementation-notes
https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/225
You may need to contact Agisoft about this bug in their exporter.
--- End quote ---
This thread on Cesium's forum can be found here: https://groups.google.com/forum/#!searchin/cesium-dev/george$20nicholas%7Csort:date/cesium-dev/HiykPzLDwyw/fAPrxVDmCwAJ
Alexey Pasumansky:
Hello jetdog6,
Thank you for reporting.
We'll try to fix the issue and send you the intermediate version for testing.
htrzski:
Hi,
did you find a solution? I tried with Agisoft 1.4.1 to export dense cloud as Cesium 3D Tiles and got same error
"A 3D tile failed to load: http://localhost:8000/static/Cesium/models/Cesium_Export_big/Data/c02.pnts?v=0.0
Error: start offset of Float32Array should be a multiple of 4"
Is there any other way to export a point cloud as Cesium 3D Tiles?
Alexey Pasumansky:
Hello htrzski,
This issue should be solved in the latest 1.4.1 release, so please make sure that you are exporting Cesium tiles from the latest version. If the problem persists in the version 1.4.1, please send the problematic export result to support@agisoft.com for the further investigation.
barrubba:
can you tell me correct workflow for cesium?
densecloud > export to cesium zip
or
densecloud > mesh > texture > collada/kmz > cesium ion
or
densecloud > mesh > tile3d > collada/kmz > cesium(zip)
i'm very confusing about right steps
thank you
Navigation
[0] Message Index
[#] Next page
Go to full version