Skip to content

PicoGK v1.3.0

Compare
Choose a tag to compare
@leap71 leap71 released this 08 Feb 13:52
· 106 commits to main since this release

PicoGK 1.3. adds a function to calculate the surface normal of a voxel field and fixes several important bugs related to small voxel sizes. (Smaller than 0.1mm typically)

PicoGK 1.3. requires the updated v1.3 runtime, make sure you run the latest installer when using this release.

The following changes were made:

  • NEW: Added a way to determine the surface normal of a surface point on a voxel field. Useful in combination with Voxels.bGetClosesPointOnSurface and Voxels.bRayCastToSurface. Check out the Ex_RayCasting.cs file for an example.
  • CHANGE: Voxels.bRayCastToSurface now uses the openvdb-internal function for ray casting, which is about 2x faster.
  • FIX: The helper functions to create cylinders, cones and geo spheres as meshes did not take the voxel size into account when calculating their subdivisions. This resulted in extremely low-poly results for small voxel sizes.
  • FIX: Voxel coordinates were always rounded down, which could result in very small errors (we found no visible difference, but it is fixed now).
  • FIX: Rendering a mesh into small voxel sizes (or generally voxel sizes not equal than 1mm), created malformed voxel fields, that were especially visible after offset operations.
  • FIX: Rendering lattices into small voxel sizes (or generally voxel sizes far away from 1mm), created malformed voxel fields that were especially visible after offset operations.