Skip to content

Releases: dmurdoch/rgl

v1.3.36

06 Mar 11:15
0f25882

Choose a tag to compare

  • Fixed a typo that triggered a C++20 warning.
  • Improved shinyGetPar3d() example.

rgl 1.3.34

22 Feb 14:57

Choose a tag to compare

A bug fix release:

  • The WebGL code did not handle the case of lit objects
    with no lights properly. Now they display the emission
    color only. (Issue #494).
  • Several deprecated functions have been made defunct.
  • Some bad links from the vignettes have been fixed.
  • rglwidget() now detects Positron and modifies the
    display so it appears properly in the PLOTS window.

rgl 1.3.31

14 Nov 17:17
d360c9b

Choose a tag to compare

New features

  • macOS Tahoe 26.1 does not support rgl displays. Give
    a more informative failure warning.
  • Support for classes defined in the tripack package
    has been dropped at the request of CRAN.
  • Added the latex3d() function to draw LaTeX text using the
    xdvir package.
  • Both plotmath3d() and latex3d() now use default
    cex = par3d("cex"), and have new argument polygon_offset.

Bug fixes

  • arrow3d(type = "extrusion") was broken by the changes to triangulation in version 1.3.16.
  • Changes last year to writePLY() introduced an error
    in some cases (issue #489).

v1.3.24

25 Jun 16:29
d4eb705

Choose a tag to compare

  • The shapelist3d() function did not handle material names properly (issue #462).
  • The markdown package no longer supports rgl, so the change in rgl 1.3.1 to use it has been reverted. This means Pandoc
    is once again necessary to build the vignettes.
  • Links from help pages to vignettes have been repaired and added, using new \HTMLVignette{}{}{} and \HTMLVignetteCRAN{}{}{}{} macros.
  • To support those macros, two environment variables are used. VignetteRdPath (default "../html/") should be the lead-in of
    the URL for the HTML version of an Rd help file referenced from a vignette, and RdVignettePath (default "../doc/") should be the lead-in of the URL for a vignette referenced from an Rd file.
  • abclines3d() did not handle multiple colors properly, sometimes causing a crash (issue #476).
  • The COPYING.GL2PS file containing the license for the code used in rgl.postscript() has been moved so that it will be installed at the top level of the package.

v1.3.18

28 Mar 12:59
0da3356

Choose a tag to compare

rgl 1.3.18

  • Internal code changes to satisfy R CMD check requirements.
  • Some memory leaks reported in issue #451 have been fixed.
  • The OpenGL "glad" loader has been updated to version 2.0.8.
  • A number of implicit type conversions have been made explicit
    to avoid compiler warnings.

v1.3.17

18 Jan 00:07
ca6db5c

Choose a tag to compare

rgl 1.3.17

Bug fix

  • The previous fix for rgl.init() introduced a new possible
    segfault for users who had DISPLAY unset or set to a non-existent
    server.

v1.3.16

06 Jan 17:23

Choose a tag to compare

rgl 1.3.16

Bug fixes

  • triangulate() now uses the earcut library
    from https://github.com/mapbox/earcut.hpp, which
    should be faster and more reliable than the
    previous R implementation.
  • In cases where the X11 server did not provide sufficient
    support, rgl.init() could sometimes segfault. That has
    been fixed, and warning messages have been made more
    informative.

v1.3.14

16 Nov 17:14
7365676

Choose a tag to compare

rgl 1.3.14

Minor changes

  • rgl.incrementID() has been added.
  • An example using log axes has been added to the
    help page for axes3d().

Bug fixes

  • clear3d("all"), calling bg3d() on the root
    subscene, and some cases of pop3d() involving the
    background could create a leak of a background object
    (issue #439). For back compatibility of saved results, these cases
    still increment the object ID number, but don't
    actually create a new object.
  • rglwidget() displays didn't support objects with
    smooth = FALSE.

v1.3.12

28 Oct 12:21

Choose a tag to compare

rgl 1.3.12

Minor changes

  • readSTL() can now read (some) ASCII format STL files.
  • The configure script has had minor changes, and autoconf
    support files have been updated.
  • uname is no longer used during startup (PR #435
    submitted by Jonathon Love).

Bug fixes

  • Background plots did not always appear (issue #421).
  • Changing the background resulted in an additional background
    object instead of replacing the current one.
  • Colors weren't handled correctly by writePLY() (issue #425).
  • bbox3d() objects ignored the xlen, ylen and zlen
    settings when rendered using rglwidget() (issue #415).
  • In certain cases, the WebGL vignette started with the
    mouse mode set to "selecting".
  • The rglwidget() function gets a new argument fastTransparency
    which makes WebGL mimic the rgl device when drawing transparent
    objects. The default value is TRUE unless option
    rgl.fastTransparency is set to FALSE.
  • writeSTL() now writes endsolid, which is required by some apps.

rgl 1.3.1

05 Mar 14:45
41b9e90

Choose a tag to compare

Major changes

  • sprites3d() now supports plotting different 3D symbols
    at each location (issue #406).

Minor changes

  • ARIA support now declares rgl scenes with role = "img".
  • The vignettes in this package now use
    markdown::html_format, so they no longer require Pandoc
    (though Pandoc-using output formats like html_document will still be supported).
  • Christophe Geuzaine's GL2PS library (used by rgl.postscript())
    updated to version 1.4.2, and blending (transparency)
    has been enabled in formats that support it.
  • The Makevars.ucrt file has been changed for compatibility
    with an upcoming change to Windows Rtools. (Pull request #412 submitted by Tomas Kalibera).

Bug fixes

  • The ARIA support caused htmlwidgets::saveWidget() to fail when
    run in a Shiny session.
  • text3d() and mtext3d() did not pass the cex argument to
    plotmath3d() (pull request #384).
  • polygon3d() failed when given exactly 3 points (issue #388).
  • snapshot3d() failed on Windows with some versions of webshot2 (issue #391).
  • Fixed issues caused by misuse of dev.off() using new function
    safe.dev.off().
  • Fixed issue with warning() call reported by CRAN.
  • Smooth shapes were not rendered correctly by rglwidget().
    This was especially noticeable for spheres with fov = 0, but was present in other cases as well (issue #401).
  • textype = "alpha" was not rendered correctly by rglwidget() (issue #408).
  • setUserCallbacks() and related functions failed when
    the subscene argument was anything other than the root
    subscene.