Skip to content

v1.1.0 — wire pointRadius / perPointColors through to ViewportBody

Choose a tag to compare

@gsdali gsdali released this 09 May 12:20
· 7 commits to main since this release
5f00aca

OCCTSwiftViewport v1.0.2 (issue #28) added the point-cloud rendering pipeline. PointConverter.pointsToBody now wires its pointRadius and perPointColors parameters through to the new ViewportBody.pointRadius / vertexColors fields, and stamps primitiveKind = .point.

Swift signature unchanged. Consumers passing those params now get the behaviour they always intended; consumers ignoring them keep the soft-amber fallback color and 0.05-world-unit default radius.

Dep bump: OCCTSwiftViewport from: "1.0.1"from: "1.0.2".

Bumped MINOR per the cohort SemVer policy. Pin: from: "1.1.0".

Closes the renderer-side gap noted in #18. Downstream consumers (OCCTMCP's add_scene_primitive(pointCloud)) can now drop the 256-point sphere-compound workaround.