We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, the bounding box for this rectangle is too short:
var viewer = new Cesium.Viewer('cesiumContainer'); var primitive = viewer.scene.primitives.add(new Cesium.GroundPrimitive({ geometryInstances : [new Cesium.GeometryInstance({ geometry : new Cesium.RectangleGeometry({ rectangle : Cesium.Rectangle.fromDegrees(-110.0, 20.0, -80.0, 25.0), vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT }), attributes: { color: Cesium.ColorGeometryInstanceAttribute.fromColor(new Cesium.Color(1.0, 0.0, 0.0, 0.5)) } })], appearance : new Cesium.PerInstanceColorAppearance({ closed : true }) })); primitive.debugShowBoundingVolume = true;
The text was updated successfully, but these errors were encountered:
@hpinkos is this still the case with #4751?
Sorry, something went wrong.
@pjcozzi yep, it'll still be a problem after #4751 gets merged
Even for small ground primitives the bounding volume is not tall enough:
For example, try the red rectangle ground primitive in http://localhost:8080/Apps/Sandcastle/index.html?src=development/Ground%20Primitive.html&label=Development
This is likely more apparent now that debugShowShadowVolume shows the actual volume used for rendering.
debugShowShadowVolume
Successfully merging a pull request may close this issue.
For example, the bounding box for this rectangle is too short:
The text was updated successfully, but these errors were encountered: