I found out that code tried to access to "geometry.boundingSphereCV.center" (line 1014:59 in Primitive.js file) but the geometry object doesn't contain boundingSphereCV.
Does anyone know why this error are occurring ? How to fix this?
Some of the code samples in that tutorial may be a little out of date, but I believe the information in there is still relevant. That might help you debug.
Hello Hannah,
Thank you for tutorials but unfortunately they did not allow me to find a solution.
I'm not trying to create a new geometry type.
I would like to know if there is a way to create a primitive from a matrix data which represents a surface, without using basic geometry (boxGeometry, RectangleGeometry,...)?
Is this terrain data? Cesium supports height maps and quantized mesh formats for terrain, but quantized mesh runs way more efficiently. Information about our supported terrain providers can be found here: http://cesiumjs.org/tutorials/Terrain-Tutorial/#terrain-providers
If you are interested in converting your data to a qunatized mesh format, AGI (the company that employs most of the Cesium team) offers a commercial product called STK Terrain Server. This is what the team at FodarEarth (demo) used to process their DEM photogrammetry data.