pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/R-rgl



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Dec  7 06:06:28 UTC 2024

Modified Files:
        pkgsrc/graphics/R-rgl: Makefile distinfo

Log Message:
(graphics/R-rgl) Updated 1.0.1 to 1.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 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`.

# 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

## 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.

# rgl 1.2.1

## Major changes

* Support for non-PNG textures has been added.  Currently
supported:  JPEG files and any other object
for which `grDevices::as.raster()` works, e.g. matrices.
(Fixes issue #196.)

## Minor changes

* Support for "alt" text has been added to `rglwidget()`.
Full support in R Markdown or `knitr` requires a `knitr` update
to version 1.42.12 or newer.
* Some of the tests have been relaxed slightly so they
shouldn't trigger errors on the M1Mac test platform.
* Internally, the C++ code has dropped the use of the internally
defined `String` type, settling on `std::string` instead.
* `subdivision3d()`, `clipMesh3d()` and related functions now
(optionally) record the original faces associated with each new one
in a `mesh$tags` addition to the output.

## Bug fixes

* The `Makevars.win` file was being produced incorrectly on
older Windows versions.
* `rgl.window2user()` did not work correctly when multiple panes
were showing.  This caused `arrow3d()` to fail in some panes
(issue #354).
* `selectpoints3d()` had a typo which was revealed by
warnings in recent R versions.
* `getShaders()` was broken in 1.1.3.
* `arc3d()` can now handle "arcs" that are straight lines along
a radius (issue #357).
* Spheres did not show textures correctly (issue #360).
* `hover3d()` failed to display default labels in R (issue #362).
* `shade3d()` didn't handle meshes with a mix of triangles and
quads properly when `meshColor == "faces"`.
* `subdivision3d()` and related functions now handle colors
properly.
* `addNormals()` sometimes gave `NaN` values due to rounding
error (issue #372).
* `arc3d()` sometimes missed plotting the last segment of the arc (issue #369).
* `R_NO_REMAP` has been defined and header includes have been
rearranged to prevent conflict between R internals and C++17
library.  (Thanks to Prof. B. D. Ripley and G. Csardi for
suggested fixes.)

# rgl 1.1.3

## Major changes

* A new function `hover3d()` has been added to display
"hover hints":  labels next to points when the mouse
passes near them.
* A new material property `"texmode"` has been added
to control how textures are applied.  The default is `"modulate"`,
consistent with previous versions.  If set to `"replace"`,
the texture is displayed without any lighting effects or dependence
on the original color of the surface.
* Many of the demos have been moved to a new vignette called
`demos`.
* `rgl` now uses the `glad` loader which will eventually allow
access to newer OpenGL functions in systems that support them.

## Minor changes

* The `texenvmap = TRUE` material property is now supported
in WebGL.
* The method of including shader source code
has changed to work around a limitation in Jupyter.
* The default C++ standard is now accepted, rather
than requiring C++11.  On R versions prior to R 4.2.0
C++11 is still requested.

## Bug fixes

* The `as.mesh3d.rglId()` and `as.triangles3d.rglId()` methods
and the `selectpoints3d()`, `writeOBJ()`, `writePLY()`
and `writeSTL()`
functions did not handle indices
in the objects they were processing (issue #293).
* Transparent planes were not always drawn properly
in WebGL (issue #300).
* `view3d()` now returns a `lowlevel()` result so that
it will be handled properly in WebGL vignettes with
auto printing.
* If `transform3d()` or `rotate3d()` changed the orientation
of a `mesh3d` object with normals, the normals ended up
with the wrong sign. (Reported by Stephane Laurent.)
* `scene3d()` (and hence `rglwidget()`) did not save
the normals for unlit objects.  When the objects were
also indexed, this prevented proper calculation of
front and back.  This is fixed, and a warning is
issued if normals are not provided when needed.
* It was possible to call `glVersion` before OpenGL was
initialized; this resulted in a segfault with the new
`glad` loader, and may have been the cause of some older crashes
as well.  This has been fixed.
* `readOBJ()` did not handle comments properly.
* Sprites consisting only of line segments (as used
for example by `pch3d()`) caused rendering to fail in
`rglwidget()` (issue #316).
* Headers have been cleaned up to fix problems
identified by Rtools43.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/R-rgl/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/R-rgl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/R-rgl/Makefile
diff -u pkgsrc/graphics/R-rgl/Makefile:1.2 pkgsrc/graphics/R-rgl/Makefile:1.3
--- pkgsrc/graphics/R-rgl/Makefile:1.2  Sun Mar 12 05:58:25 2023
+++ pkgsrc/graphics/R-rgl/Makefile      Sat Dec  7 06:06:28 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2023/03/12 05:58:25 mef Exp $
+# $NetBSD: Makefile,v 1.3 2024/12/07 06:06:28 mef Exp $
 
 R_PKGNAME=     rgl
-R_PKGVER=      1.0.1
+R_PKGVER=      1.3.14
 CATEGORIES=    graphics
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -19,12 +19,18 @@ DEPENDS+=   R-mathjaxr-[0-9]*:../../www/R-
 DEPENDS+=      R-shiny>=1.3.2:../../www/R-shiny
 
 # Packages suggested but not available:
-#   'orientlib', 'misc3d', 'magick', 'plotrix', 'tripack', 'interp',
-#   'alphashape3d', 'js', 'webshot2', 'downlit', 'pkgdown', 'extrafont'
-#   'V8', 'chromote'
+#   'orientlib', 'misc3d', 'plotrix', 'tripack', 'alphashape3d', 'js',
+#   'webshot2', 'extrafont', 'V8', 'chromote'
 
-TEST_DEPENDS+= R-deldir-[0-9]*:../../geography/R-deldir
 TEST_DEPENDS+= R-akima-[0-9]*:../../math/R-akima
+TEST_DEPENDS+= R-deldir-[0-9]*:../../geography/R-deldir
+TEST_DEPENDS+= R-downlit-[0-9]*:../../www/R-downlit
+TEST_DEPENDS+= R-interp-[0-9]*:../../graphics/R-interp
+TEST_DEPENDS+= R-jpeg-[0-9]*:../../graphics/R-jpeg
+TEST_DEPENDS+= R-magick-[0-9]*:../../graphics/R-magick
+TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-markdown
+TEST_DEPENDS+= R-pkgdown-[0-9]*:../../www/R-pkgdown
+TEST_DEPENDS+= R-png-[0-9]*:../../graphics/R-png
 TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
 
 

Index: pkgsrc/graphics/R-rgl/distinfo
diff -u pkgsrc/graphics/R-rgl/distinfo:1.4 pkgsrc/graphics/R-rgl/distinfo:1.5
--- pkgsrc/graphics/R-rgl/distinfo:1.4  Sun Mar 12 05:58:25 2023
+++ pkgsrc/graphics/R-rgl/distinfo      Sat Dec  7 06:06:28 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/03/12 05:58:25 mef Exp $
+$NetBSD: distinfo,v 1.5 2024/12/07 06:06:28 mef Exp $
 
-BLAKE2s (R/rgl_1.0.1.tar.gz) = 9dd0095ce44e82dcc304c7b23c788f3e69ce92fd5d6ce8ba813a388ee917e672
-SHA512 (R/rgl_1.0.1.tar.gz) = 890747b9d8d7d6ccd046e537d2fb61d20b8a65a02d88c499712b7a4a8137e53670cd6a0226cc1ef5f7c970c119f31bf1103ba1e00d27495055cac86baf5f5bd2
-Size (R/rgl_1.0.1.tar.gz) = 2436433 bytes
+BLAKE2s (R/rgl_1.3.14.tar.gz) = 0897a2bfbdfc072d21cf95d36bd5305d90e6237fff946add4d8c6bd471b02313
+SHA512 (R/rgl_1.3.14.tar.gz) = a2bc74a108650bb4b8bbcfd30c36e5ac1ff3352de3deee460930acbeebf4f85eb986685390ada86d25027bc2d6849bc6c9e895f30ad9d8b327e86b2d30392202
+Size (R/rgl_1.3.14.tar.gz) = 4067443 bytes



Home | Main Index | Thread Index | Old Index