Skip to content

ravetools 0.2.6

Latest

Choose a tag to compare

@dipterix dipterix released this 31 May 05:10
  • Added plot_mesh_dotcloud for rendering one or more mesh3d objects as an orthographic rim-lit dot cloud in base R (no rgl dependency); supports per-vertex colors, depth-gradient palettes, per-mesh alpha, side filtering, and painter's-algorithm depth sorting across multiple meshes
  • Added plot_mesh_polygon for rendering one or more mesh3d objects as flat-shaded Lambert-lit triangles in base R; point-cloud meshes (no face matrix) are automatically substituted by small sphere instances; supports camera-facing clipping (mesh_clipping), side filtering, per-mesh alpha blending, and configurable shadow_color, light_intensity, and ambient_intensity
  • plot_mesh_dotcloud and plot_mesh_polygon gain a clipping_plane argument (a 4-element numeric normal-and-offset vector, or a list of such vectors) to discard geometry on one side of arbitrary planes before rendering, and a per-mesh clipping_plane_enabled logical toggle to opt individual meshes in or out of clipping
  • Exported ensure_mesh3d for coercing various surface formats (mesh3d, ieegio_surface, fs.surface, surf.asc) to a canonical mesh3d object; previously internal-only
  • Fixed freqz2 plot legend: the cutoff legend used the raw cutoffs argument (and could index past the color palette, yielding NA colors) when a requested cutoff did not actually intersect the magnitude curve; the legend now only lists cutoffs that are drawn, and labels the unit as dB instead of the filter's frequency unit