v0.5.0
GeometryBasics v0.5.0
Merged pull requests:
- remove generated Rect method (#165) (@piever)
- Slim down GeometryBasics and remove all type complexity (#173) (@SimonDanisch)
- Geometry Basics refactor (#219) (@ffreyer)
- Bump version to 0.5 (breaking version) (#226) (@asinghvi17)
- rename
tesselation
totessellation
(#227) (@t-bltg) - Fix errors in docs & fix GeoInterface test failures (#228) (@ffreyer)
Closed issues:
- heterogeneous feature collection (#49)
- heterogeneous geometry collection (#50)
- Rename
Tesselation
->Tessellation
(#224)
Changelog / Update Notes
Changes that could break things
Tesselation
->Tessellation
meta()
removed:Mesh(meta(kwargs...), faces)
->Mesh(faces; kwargs...)
metafree()
removed: no replacement neededmesh.normals
->mesh.normal
mesh(..., normals = ...)
->mesh(..., normal = ...)
Mesh
type name/structure has been simplified. Seebasic_types.jl
or just check by handRect2
now generates coordinates in counter-clockwise orderCylinder
,Rect3
,Pyramid
now generateFaceView
's. You can remove these withexpand_faceviews(mesh)
. Some consequences:coordinates(::Rect3)
are no longer duplicatednormals(::Rect3)
andtexturecoordinates(::Rect3)
are FaceViews to avoid duplication. If you need them synchronized with coordinates usenormals(expand_faceviews(uv_normal_mesh(Rect3(...))))
- MeshIO.jl may output a
MetaMesh
forobj
files now. This includes additional non-vertex data (e.g. materials). The "raw" mesh is inmetamesh.mesh
. - MeshIO.jl may generate a
Mesh
withFaceViews
Other changes
Cylinder
no longer renders with rounded caps (due to no longer sharing normals between mantle and caps)merge(meshes)
now also setsmesh.views
which acts as a collection of index ranges intomesh.faces
corresponding to the input meshes.split_mesh()
can now revert a merge.mesh(input_mesh; pointtype, facetype, vertex_attributes...)
can be used to change the pointtype or facetype, or add additional vertex attributes to a given mesh. (This will create a new mesh)- added
face_normals(positions, faces)
for generating per-face normals (usesFaceView
)