Releases: dmurdoch/rgl
Releases · dmurdoch/rgl
v1.3.36
rgl 1.3.34
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
New features
- macOS Tahoe 26.1 does not support
rgldisplays. Give
a more informative failure warning. - Support for classes defined in the
tripackpackage
has been dropped at the request of CRAN. - Added the
latex3d()function to draw LaTeX text using the
xdvirpackage. - Both
plotmath3d()andlatex3d()now use default
cex = par3d("cex"), and have new argumentpolygon_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
- The
shapelist3d()function did not handle material names properly (issue #462). - The
markdownpackage no longer supportsrgl, so the change inrgl1.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, andRdVignettePath(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.GL2PSfile containing the license for the code used inrgl.postscript()has been moved so that it will be installed at the top level of the package.
v1.3.18
v1.3.17
v1.3.16
rgl 1.3.16
Bug fixes
triangulate()now uses theearcutlibrary
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
rgl 1.3.14
Minor changes
rgl.incrementID()has been added.- An example using log axes has been added to the
help page foraxes3d().
Bug fixes
clear3d("all"), callingbg3d()on the root
subscene, and some cases ofpop3d()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
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. unameis 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 thexlen,ylenandzlen
settings when rendered usingrglwidget()(issue #415).- In certain cases, the
WebGLvignette started with the
mouse mode set to "selecting". - The
rglwidget()function gets a new argumentfastTransparency
which makes WebGL mimic thergldevice when drawing transparent
objects. The default value isTRUEunless option
rgl.fastTransparencyis set toFALSE. writeSTL()now writesendsolid, which is required by some apps.
rgl 1.3.1
Major changes
sprites3d()now supports plotting different 3D symbols
at each location (issue #406).
Minor changes
- ARIA support now declares
rglscenes withrole = "img". - The vignettes in this package now use
markdown::html_format, so they no longer require Pandoc
(though Pandoc-using output formats likehtml_documentwill 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.ucrtfile 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()andmtext3d()did not pass thecexargument to
plotmath3d()(pull request #384).polygon3d()failed when given exactly 3 points (issue #388).snapshot3d()failed on Windows with some versions ofwebshot2(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 withfov = 0, but was present in other cases as well (issue #401). textype = "alpha"was not rendered correctly byrglwidget()(issue #408).setUserCallbacks()and related functions failed when
thesubsceneargument was anything other than the root
subscene.