/usr/lib/R/site-library/rgl/NEWS is in r-cran-rgl 0.99.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 | v0.60
- (mini-thesis release)
v0.61 (workshop release)
- added: rgl.sprites
- added: fps counter
- added: autoUpdate, modified win32 mainloop, on hide, autoUpdate disabled, on show enabled
- modified material: added alpha vector
v0.62
- modified sphere set
- support R color strings
- use system.file( <subpath>, package="rgl" ) in examples to retrieve texture files
- rewrote R code :
* clear enum types
* vertex vector datatype (internal representation matrix)
v0.63
- api: added rgl_init, rgl_quit: explicit client initialization
- added setup.bat: build setup for windows
- win32 setup: mingw compiler
- win32 setup: visual c++ compiler through gui environment
v0.64
- autoconf build system
- moved textures to inst/ directory
- x11 port
- win32/vc: fixed fpu control word precision to remain on 64 bit
links with fp10.obj
- changed texture mapping t coordinate for Surface node
v0.64-2
- rgl.quads: enum id was broken, fixed ("quads" -> "quadrangles")
v0.64-3
- configure.ac: X11 library path broken, fixed
- x11gui: glXChooseVisual part fixed
- code cleanup: rglview.h
- added: man/maintainer.Rd maintainer information
v0.64-4
- manual update
- aquired valid CRAN package status,
rcmd check runs through with 2 WARNINGS
(acording to latex, and codoc)
- uploaded to cvs
v0.64-5
- MacOS X/X11 port
v0.64-6
- updated build system: added setversion.sh
- with MinGW version 3.0.1 pixmap loading does work
- project.mk , win32.mk and x11.mk in src/build changed
now a single variable MODS will extend.
- MinGW build system changed.
rgl.dll now contains an R compilant Resource information
generated by R perl script
- bug fix: R 1.8.0/win32 does not detach packages when quit
it is safe now to call rgl_quit and lib_quit multiple times
win32lib.cpp: added dllmain that calls rgl_quit on process exit
- added core support for devcpp IDE
v0.64-7
- added mouse capturing
- rgl.sprites 'radius' bug fixed
- memory leak bugfix: texture objects are now AutoDestroy and used through Ref's
- resource management improvment: pixmaps gets free'd when they become unused
e.g. texture objects are created.
- no limitations on pixmap sizes
- mipmap support
- support for different texture minification and magnification filters
v0.64-8
- build bugfix : removed rgl/src/Makefile
- updated configure to check and setup LDFLAGS for OpenGLU library
v0.64-9
- MacOS X 'Panther' G5 fix for OpenGL library loading in .first.lib
- removed lpng and zlib from source tree
- support for automatic downloading of zlib and lpng on win32
- added demo directory with several examples using demo(rgl)
v0.64-10
- updated .C() calls using PACKAGE="rgl"
- updated Maintainer.mk using correct zlib version
- improved dynamic unload using library.dynam.unload()
- conditional macos x darwin code in .First.lib()
v0.64-11
- removed several redundant semicolons, required by gcc 3.4 ansi-pedantic mode.
- win32: uses R's zlib and libpng sources
- win32: added virtual destructor in Win32GUIFactory (removes warning)
v0.64-12
- cran bugfix: permissions of cleanup fixed.
v0.64-13
- DESCRIPTION fix: moved R 1.41 -> R 1.4.1 dependency
v0.65
- simplified build system: uses 'R' build system
- added generic visualization/rendering interface (R3D)
- text justification from 0 to 1
- added primitive type: linestrips
- fixed rgl.bringtotop, added stay option (win32)
- added 4x4 matrix functions from djmrgl
- added rgl.user2window and rgl.window2user functions
- added user-selectable mouse handlers
- added selection mouse handler
- added trackball mouse handler
- added z-distance sorted rendering of alpha-blended faces
- added gl2ps patch ( contributed by Albrecht Gebhard )
- added port: native Mac OS X Carbon
- bugfix: rgl.close() , rgl.quit() crashed on X11 occasionally.
- generalized rgl.surface() to allow surface over any coordinate plane.
- added r3dDefaults variable to allow user to set defaults
- added environment texture-mapping
v0.66
- added "all" and "viewpoint" to rgl.clear and clear3d
- added static libpng build support and user customizable prefix (unix)
- used xyz.coords in all functions taking x, y, z coordinates, allowing
matrix or dataframe arguments (among others)
- added par3d(skipRedraw=TRUE) to allow drawing to be done without
being rendered
- fixed display list memory leak when drawing shapes (e.g. spheres)
- Changes for compatibility with strict enforcement of file naming rules in R 2.3.0.
v0.67
- added support for png files with palettes, and grayscale pngs with 1, 2 or 4 bits
per pixel
- added "ignoreExtent" option to par3d: objects plotted when this is true
are ignored when calculating the bounding box
- added axis3d, axes3d, box3d, mtext3d, title3d functions from djmrgl for
annotating plots.
- added plot3d high level plot function
- added material3d, which can both set and query material properties; changed
most *3d functions so they leave material invariant across calls.
- changed open3d() to set background and material defaults
- added aspect3d to control the aspect ratio of the bounding box.
- added xAxis, yAxis and zAxis mouse modes, set zAxis as r3d default.
- added persp3d function
- changed error messages to go through REprintf in X11 and OSX
- fixed segfault if rgl_init failed
- converted type of viewport arg in user2window and window2user calls
- if the rgl_init call fails, the package will still load with a warning (but
most function calls will result in errors).
- added par3d("scale") to handle aspect3d operations internally.
- added ellipse3d() generic and methods for drawing confidence ellipsoids
- added decorate3d() to draw all the decorations, plot3d.qmesh3d() method.
- changed zoom to use ratio scale over larger range
- fixed bug causing jump after resize in Mac OSX (and maybe other platforms)
- rgl.primitive now does sanity checks on inputs
v0.67-2
- minor correction
v0.68
- fixed sphere drawing so spheres are spheres regardless of par3d("scale")
- added type="s" to plot3d to draw spheres
- fixed handling of "..." in axis related functions
- added full MDI support
- removed use of List and ListIterator internally
- fixed handling of axes and boxes when a coordinate had zero extent
- changed rgl.viewpoint default to be compatible with r3dDefaults
- added id return values to primitives and higher level functions,
and to rgl.pop(); added rgl.ids() to report on them.
- updated gl2ps to version 1.3.1, adding support for svg and pgf output formats.
- added grid3d(), added nticks argument to bbox3d, axis3d and axes3d.
v0.69
- persp3d partially ignored add=TRUE
- plot3d.qmesh3d did not return result
- allow selection to use any button
- allow NA in primitives, surfaces, texts, and sprites
- report error in OSX if the wrong configure options were used.
- display was not being updated properly in OSX
v0.70
- OSX now builds two libraries, one for AGL, one for X11
- resolve entry points at load time, not call time
- updated gl2ps to version 1.3.2
- fixed bug in rgl.postscript in Linux, added text support to it
- tweaked positioning of labels in bounding box decoration
- snapshot3d wasn't being exported, and snapshots were from the back buffer
- fixed bug that could cause crash on shutdown
- moved this file (ChangeLog) to inst directory, so it will be installed,
and added code to display it to the rgl help topic.
v0.71
- changes to configure script from Laszlo Kajan and Brian Ripley: should
now be much more portable
- removed deprecated OSX font setting calls
- texture properties are now returned by material3d()
- allowed normals and texture coordinates to be specified in triangles, quads and surfaces
- normals may be specified in qmesh objects, but (at present) subdivide removes them
- material3d() now preserves the values of unspecified parameters (as documented,
but not previously functioning)
- clear3d() can now reset material properties to the defaults, and
open3d() does this.
- minor fix for gcc 4.3 compatibility
- minor fix for R 2.5+ compatibility
- allowed more general surfaces to be plotted by rgl.surface, surface3d and
persp3d, by specifying matrices for x and y coordinates
- added world map texture, used in example(persp3d)
v0.72
- declaration changes for compatibility with R 2.6.0 (from Brian Ripley)
v0.73
- partial changes to avoid crash on MacOSX with Xvfb
- change to rgl_init for R 2.6.0 compatibility
v0.74
- clean up #includes
- clean up some calls for SunStudio 12 compiler
- add rgl.setMouseCallbacks to allow user actions
v0.75
- add play3d, movie3d, par3dinterp, and spin3d functions, with flag demo
- rounding error could cause par3d(userMatrix) to generate NaNs and fail
- workaround for Xvfb on MacOSX problems
v0.76
- put our own assert() macro in place to avoid crashing R.
- rename ChangeLog file to NEWS, as per discussion on R-devel
- add "windowRect" to par3d parameters to allow window size to be
controlled from R.
v0.77
- par3d("windowRect") returned garbage if there was no window open.
- persp3d() and plot3d() sometimes miscalculated ranges involving NAs.
- select3d() and rgl.select() produced a very inefficient test function.
v0.78
- fix miscalculation of mouseMatrix that caused disappearing views.
- rgl.texts() and text3d() can now handle font and size specifications
using the FreeType library on any platform, or GDI on Windows.
- adj is supported both horizontally and vertically in drawing text.
- rgl.pop was very slow when given a long list of ids.
- a workaround for OSX 10.5 OpenGL problems has been incorporated
(thanks to mkv22@cam.ac.uk).
v0.79
- rgl.pop() could cause corruption when multiple windows were open.
- added mouseCallbacks demo, to show R implementations of standard
mouse handlers, multiple connected windows, stereo view, etc.
- added "silent" argument to rgl.set(), to allow temporary changes
to focus without changing window labels.
- added natural spline extrapolation to par3dinterp.
v0.80
- worked around bug(?) in Mac OSX FTGL rendering
- updated FTGL to 2.1.3rc5
v0.81
- converted Freetype font error into warning
- rglFonts was being set at install time, but it should be set at load
time.
- fixed configuration problems in OS X
- fixed executable marker on a number of files
v0.82
- rewrote internal rendering of transparent and anti-aliased shapes,
so they will be rendered better when there are several in the same
scene
- added material properties "point_antialias", which causes points to be
drawn as smooth circles, and "line_antialias", which causes
lines to be antialiased.
- fixed a bug in the bounding box decoration which caused axis labels
to be plotted in the wrong place.
- fixed a bug in the Windows driver which caused the standard system
font to disappear when justified.
- added material parameter lwd for line width; size now applies only
to points.
- increased default point size to 3 pixels across.
- fixed bug in open3d: "..." was being ignored.
- fixed bug in qmesh3d: homogeneous=FALSE coordinates were not
handled properly.
- movie3d gains a "type" argument to set the output type, and the
"convert" argument is more flexible.
- rgl.snapshot() gives more informative error messages when libpng is
not available.
- axis3d() now uses format() rather than as.character() to give
nicer looking labels.
- the clipping volume calculation was incorrect when scaling was used.
- use R warning() to report messages, rather than popups or REprintf.
- added rgl.pixels() to read the generated image, and demo("stereo")
to illustrate its use.
- corrected the ?rgl example to display this file.
v0.83-1
- Don't try to build Carbon driver in 64 bit Mac OS (contributed by
Brian Ripley).
- Fixed rgl.pixels example for weird displays.
- Did not assume OpenGL 1.2 was available in material properties.
- Added numerous error checks.
- Fixed demo(stereo) to add sync in X11: X windows seemed to grab
images before they were redrawn.
- Rearranged headers for Win64 compatibility (contributed by Alex
Chen).
v0.83-3
- Quick fix for R 2.9.x compatibility, and to remove accidental change
introduced in v0.83 which caused errors on plotting without open3d().
v0.84
- Added triangle meshes, shape lists, the Platonic solids and a cuboctahedron.
- Added classes mesh3d and shapelist3d; qmesh3d is only kept for
back compatibility.
- Bug fix to stop crashes when material is set before the first window is
opened.
v0.85
- Added some namespace declarations to the C++, and renamed math.h, for
compatibility with Sun compilers (contributed by Brian Ripley).
- Fixed visibility of some shade3d, wire3d and points3d methods.
- Added addNormals generic, to add normals for smooth surface rendering.
- Added cylinder3d function, to make cylindrical or "tube" plots.
- Fixed material3d("color") bug introduced in 0.82.
v0.87
- Allowed FOV to be set to 0, for an orthogonal projection.
- Fixed crash when zero-length color vector was used.
- Fixed crash in X11 after closing a window
- Changed seq(along=...) to seq_along(...).
- Fixed typo in cylinder3d.
- Cleaned up bad links in Rd files.
v0.88
- Add keepVars argument to cylinder3d(), for debugging or special
effects.
- Add BugReports field to DESCRIPTION.
v0.89
- Fixed rounding errors and Xvfb errors in rgl.pixels examples
and demo.
v0.90
- Added startTime argument to play3d() and movie3d().
- Fixed configure.ac as suggested by Jens Elkner.
- Updated declarations for libpng 1.4.0 compatibility.
- An off-by-one error caused the "alpha" component of the material
properties to be messed up. (Bug #809)
v0.91
- Fixed bug in rgl.texts: zero-length texts argument caused crash.
(Reported by Michael Friendly.)
- Added R_ARCH* macros to configure.win for Win64 compatibility
- Fixed bad declaration in rglmath.h
v0.92
- Added detection of 64 bit MacPorts compiler to configure script.
(Bug #861)
- Allowed texture coordinates to be specified in mesh objects.
- Updated gl2ps to version 1.3.5
- Should now install using --merge-multiarch on Windows
v0.92.858
- Added declarations for Solaris compatibility (from Brian Ripley)
- Fixed configure.win for bi-arch compatibility. Windows installers can
set HAVE_PNG to a non-empty value, and rgl will look for
the libpng files in the default LOCAL_SOFT location when installing.
- Added depth_mask and depth_test material properties, to allow control
over how objects are obscured by each other.
- Added Sweave support through the rgl.Sweave driver and the Sweave.snapshot
function.
- Added iterative computation of the bounding box to handle objects like
spheres, which need to maintain their apparent shape as the scaling
changes.
- Improved the bounding box decoration in two ways: it can now draw the
front faces (to surround the whole graph), and can label edges with pretty
labels. plot3d() was modified to use this instead of manually setting axis
locations and using box3d() to draw a box, allowing resizeable labelled
axes.
- Removed some unnecessary declarations from rglmath.h that were causing
problems in an old version of gcc on Solaris.
- Added rgl.abclines(), rgl.planes(), abclines3d() and planes3d() to draw
lines and planes intersecting with the bounding box.
- rgl.postscript() now adjusts the size of text following the cex setting.
The font and family settings are still ignored.
- Transparency in material textures was not always rendered properly.
- In OSX, the Carbon system has been replaced by a Cocoa system.
(Code contributed by Adam Strzelecki). For compatibility with the
Windows build system, the new files have been put into src/osx.
- Hardware antialiasing is now used if the OpenGL driver supports
it. Set options(rgl.antialias=0) to disable it.
- Bug fix for divide.mesh3d() in handling normals.
- Functions rgl.attrib.count() and rgl.attrib() (and internal function
rgl.getmaterial()) added to allow objects in the scene to be examined.
- rgl.ids() did not return all object ids as documented.
- Updated gl2ps to version 1.3.6
v0.92.861
- Fixed segfault on startup on Windows in MDI mode.
- Added rgl.save.texture() to get texture from an object.
v0.92.879
- Removed rgl.save.texture(): textures are not saveable!
- Added writeWebGL() function, to allow scenes to be viewed in a web
browser.
- Added "centers" to the attributes that can be queried, for depth sorted
transparent rendering.
v0.92.880
- Rearranged declarations for compatibility with gcc 4.7.
v0.92.881
- Fixed degenerate (e.g. straight line) cases in cylinder3d
v0.92.883
- Added 3d "sprites" -- shapes that maintain their initial orientation.
v0.92.887
- Added "caps" to the end of cylinder3d() objects.
v0.92.891
- Added support for 3d sprites to writeWebGL.
v0.92.892
- Added declaration needed by Solaris.
v0.92.893
- rgl.light() and light3d() did not return the light ID value.
v0.92.894
- remove debugging code from configure.win that was causing problems
on the CRAN WinBuilder system
v0.93
- Added readSTL and writeSTL functions
- Added expand argument to decorate3d and axes3d
- Added base argument to spin3d result
- Added writePLY and writeOBJ functions
- Added scene3d function
- Added section argument to cylinder3d()
- Added res_name="rgl" and res_class="R_x11" to the WM_CLASS property of X11
windows. (Contributed by Philip Johnson.)
- Added code to work with R 3.0.0 setHook changes
- Added selectpoints3d function to select points from the scene.
- The rgl window now handles ESC key presses. During selection
and play3d they abort the process; otherwise they are ignored.
- writeWebGL did not render semi-transparent surfaces properly.
(Reported by Robert Esswein.)
- Copied the R_pretty0 function from R sources to avoid warning.
v0.93.928
- Updated the configure file using autoconf 2.69
- Forced OSX installs to put /usr/X11/bin at the head of the path
when looking for freetype-config
v0.93.930
- writeWebGL did not handle snapshot=FALSE properly. (Reported
by Yihui Xie.)
- Now handles local (not just directional) lighting. Based on
code contributed by Alexander Senger.)
- writeWebGL handles lighting properly. Based on code contributed
by Alexander Senger.
v0.93.932
- calling rgl.material() before any rendering caused a crash on OSX.
(Reported by Dan Tenenbaum.)
v0.93.935
- in certain circumstances since 0.93.930, text would fail to appear.
(Reported by Karline Soetaert.)
v0.93.944
- write the rgl version into the webGL file
- cleaned up use of CHECKGLERROR, so that setting USE_GLGETERROR to 1 in
R.h will enable detailed checking
- added identify3d() function
- fixed bbox bug in writeOBJ (reported by Matthias Zeeman), writePLY
and writeSTL.
- aspect3d() (called by plot3d()) caused the scene to be redrawn,
even if par3d("skipRedraw") was TRUE.
- addNormals.mesh3d() failed on objects when the matrices
of triangles or quadrilaterals had zero columns.
- rotate3d.mesh3d() did not transform normals properly
- the writeWebGL() function produced fragment shaders that would not
work in some browsers (e.g. Firefox and Chrome with the ANGLE
WebGL engine).
v0.93.952
- added triangulate(), polygon3d() , extrude3d() and turn3d()
for display of shapes based on two-dimensional polygons or curves.
- fixed formatting of vertex reference numbers in writeOBJ() (issue
4732, reported by Alejandro Baranek).
- added support for "headless" operation: see help for new
function rgl.useNULL().
- added name of device to result returned from rgl.cur(); added function
rgl.dev.list() to list all open devices.
- examples and demos now check rgl.useNULL(), and don't run invisible
animations.
v0.93.960
- writeWebGL now forces the position attribute to location 0, a
recommended optimization strategy. The colour attribute is
forced to location 1.
- we now check for invalid characters when drawing text using bitmapped
fonts (bug 4787)
- gl2ps has been updated to version 1.3.8 and support for point and line
sizes has been added (bug 4792)
- internal functions .check3d() and rgl.select() have been exported,
as they were used by the car package.
- writePLY had errors writing points and lines.
- rgl now prints a warning when a requested font is unavailable and the
default font is substituted.
v0.93.963
- font selection assumed rgl was on the search path; now it may be
imported but not attached. Similarly, r3dDefaults need not be on
the search path.
v0.93.975
- rgl.texts without a window failed because it queried the window
before opening it.
- the scene3d() function now records complete information about the
bounding box and the background.
- rgl declares most of its C++ objects in the global namespace.
Recently this has caused clashes with the igraph package, which
does the same, and which also has a Shape class. As a temporary
workaround the rgl class has been renamed to rglShape. A full
rgl namespace will eventually be added, with only the API functions
left in the global namespace.
v0.93.984
- most rgl C++ functions and classes are now in namespace "rgl".
Others have prefix rgl_, with the exception of gl2ps functions,
which all have that prefix, and FTGL functions, which generally
have an FT prefix.
- entry points to the rgl DLL are now registered within the DLL,
and on systems that support it, all entry points other than the
registration function are hidden.
- writeWebGL() and the other write methods did not handle material
information properly after 0.93.975.
v0.93.986
- The FTGL functions were mistakenly added to the rgl namespace
on some OSX compiles.
- Changes have been made to satisfy the stringent requirements of
the Solaris compiler.
v0.93.987
- Added clipplanes3d function to implement clip planes. (Still
only partially implemented.)
v0.93.991
- Some cleanup of the declarations (submitted by Karl Millar).
v0.93.995
- Improved the approximation to the surface normal for degenerate
grids in surface3d and persp3d. (Problem found by Graham Griffiths
using polar coordinates; all r=0 points were at the same location.)
- The new surface normals are now saved in memory, so rgl.attrib
will return them even if they were calculated by rgl.
- Bounding box calculations for surfaces with user normals were
incorrect.
- An array-overrun bug in rgl.attrib() showed up in writeWebGL.
(Reported by Brian Ripley.)
- scene3d() now records light settings.
v0.93.1098
- rgl.material() (for textures), rgl.postscript() and rgl.snapshot()
now call normalizePath() on filenames, so tilde expansion should
be supported.
- par3d() could generate an error if an unnamed list was passed in.
- material3d() lost settings for textures
- internals are updated to be consistent with MacOS 10.9 requirements
- fixed a bug in triangulation code: it failed on locator() input.
- The Aqua support now works again, XQuartz is only needed for command
line use in Mac OSX.
v0.94
- Added "subscenes", i.e. scenes of objects nested within the
main window. This affects a lot of other functions as well,
which now act either on a single subscene or on the
overall scene.
- Allowed the coordinates of the viewport to be set.
- Changed the behaviour of pop3d() and rgl.pop(): the type is
now ignored if id is non-zero.
- par3d("modelMatrix") no longer includes the observer translation
- Added configurable mouse wheel actions via par3d() or
rgl.setWheelCallback().
- The par3d(), par3dinterp(), and spin3d() functions now
have arguments dev and subscene to specify where they apply.
- Included a copy of the source to CanvasMatrix.js (used by
writeWebGL()) at the request of the Debian administrators.
- The NULL device was not removed from the device list when
it was closed. (Reported by Henrik Bengtsson.)
- Some of the animations have been sped up at the request of CRAN
0.94.1143
- Added function methods for persp3d() and plot3d(), to allow
surfaces to be plotted just by specifying the function.
- Fixed a bug introduced in 0.94 that made user callbacks crash R.
(Reported by Dave Hadka.)
- Fixed a bug exposed in 0.94 (but really introduced in 0.93.952)
that caused writeWebGL() to fail when a NULL device was active.
- Fixed a bug introduced in 0.94 with writing 3D sprite objects.
- Fixed a bug computing the bounding box of an embedded subscene.
0.95.1157
- Allowed background of window to show bitmap; added bgplot3d()
and legend3d() functions.
- Reverted misguided changes to par3d("modelMatrix") from 0.94.
This affects rgl.projection() as well.
- Fixed bug (introduced in 0.94) causing loss of rectangle showing
selection area. (Reported by John Fox and others.)
- The NULL device now does not make any spurious OpenGL calls.
0.95.1158
- rgl.snapshot() now works with the NULL device (but produces a
black snapshot). This allows testing with RGL_USE_NULL.
0.95.1196
- writeWebGL() now includes an argument "commonParts", to allow
omission of common code in multi-figure displays.
- If template is NULL in writeWebGL(), no template file is used.
- The NULL device did not handle changes to par3d("windowRect")
properly.
- The persp.function() method is now smarter about setting default
axis labels.
- The package now contains a vignette giving an overview of
the functions.
- Subscenes with "ignoreExtent" set to TRUE were not plotted.
- The bounding box calculations now take clipping planes into account.
- writeWebGL() did not display the bboxdeco properly when working
in a subscene.
- Added clipping regions to plot3d() and persp3d().
- Export the GramSchmidt function (request of Remko Duursma)
- Added readOBJ(), with a very limited ability to read OBJ
shapefiles.
- triangulate() now supports polygons expressed with 3
coordinates (though they are still assumed to be planar).
- par3d() now includes "listeners", a list of subscenes that
respond to mouse actions in the current subscene.
- The Windows configuration file has been modified to work in
R-devel (to become R 3.2.0).
0.95.1247
- If a template file is used in writeWebGL(), the string %prefix%
will be replaced in it by the prefix argument.
- writeWebGL() now outputs a Javascript global variable named
"<prefix>rgl" of class "rglClass" that allows access to many of the
scene internals. (Inspired by patch submitted by Jeff Allen.)
- User mouse callbacks can now be retrieved within R using
rgl.getMouseCallbacks() and rgl.getWheelCallback(), and
may be included in WebGL output.
- writeWebGL() now outputs information on object ids to allow
them to be re-used in multiple figures on the same page.
See the "reuse" parameter and attribute of the result.
- Started a vignette describing user interaction in WebGL.
- Set the class of the main "canvas" element in
writeWebGL() output to "rglWebGL".
- rgl.snapshot() now evaluates the "top" argument after "filename"
and "fmt", so windows created when those are evaluated don't
overlay the rgl window. (Suggestion of Keith Jewell.)
- Added subsetSlider(), subsetSetter(), clipplaneSlider(),
propertySlider(), ageSetter(), propertySetter(), par3dinterpSetter() and
toggleButton() functions to output HTML/Javascript controls for WebGL.
- Fixed bug in abclines3d() that caused it to skip lines that passed
through the corners of the bounding box. (Reported by Sven Laur.)
- Added hook_rgl() and hook_webgl() functions, based on the knitr
functions.
0.95.1336
- Made error and warning text more consistent.
- Dropped chunk option "rgl.keepopen"; replaced it
with "rgl.newwindow".
- Added matrixSetter() function to allow multiple controls to
modify one matrix.
- Added "accumulate" argument to the subset WebGL controls.
- The "nticks" argument to bbox3d() was never used and has
been removed. Use "xlen", "ylen" or "zlen".
- Setting "xlen" etc. to zero in bbox3d or rgl.bbox() now
(correctly) suppresses tick marks. (Reported by
Philipp Angerer.)
- Dependencies and imports have been updated.
- Specifying "normals" or "texcoords" in both a
"mesh3d" object and a call to shade3d() to display
it caused an error; now the shade3d() specified
value has priority if "override" is TRUE (the default).
- Added vertexSetter() function to allow easier access to
vertex attributes.
- Used Jeroen Ooms' js::jshints() function to clean up the
WebGL Javascript code.
- Allowed "values = NULL" in propertySetter() and vertexSetter()
to allow code to directly set values.
- When used with clipping on the bounds, persp3d() and plot3d()
did not work properly with a shared mouse. (Reported by
Marian Talbert.)
- Shaders are now stored in Javascript strings, not separate
<script> sections.
- Shape centers are now stored by scene3d().
- Font family and numeric font number (style) are now returned
by rgl.attrib() and are stored by scene3d().
- Fixed a bug (reported by Dominick Samperi) that caused
vignettes using WebGL code in knitr to fail to initialize
properly. This required adding the setupKnitr() function,
which should be called at the start of each vignette.
It is *not* called automatically.
- Fixed a bug (reported by Kurt Hornik) that caused rgl to
fail to compile when libfreetype 2.6 was linked.
- Fixed a bug in writePLY (reported by Kurt Hornik).
0.95.1367
- Added show2d() to allow a 2d plot on a quadrilateral
in a scene.
- Fixed bug that sometimes prevented textures from displaying.
- rgl.bbox() (and hence bbox3d(), decorate3d(), plot3d(), etc.)
did not return the correct id for the bounding box decoration.
- Modified configure script to work with OS X 10.11 (suggestion of
Brian Ripley).
0.95.1435
- The Mac OS X native windowing system (aglrgl.so) has been
dropped; it appears not to work in Yosemite and El Capitan.
- A memory leak when drawing semi-transparent objects has been
fixed. (Reported by Felix Kuehnl.)
- WebGL code has been moved to the rglwidget package (though
the functions in rgl still work).
- Bounding box objects sometimes had miscalculated vertices
in scene3d().
- If rgl.init() fails, continue with the NULL device (with warnings).
- scene3d() now returns the normals and offsets of "planes"
objects, as with "clipplanes" objects. It still returns the triangles from embedding the
planes in the most recent subscene.
0.95.1441
- Changed rgl.pixels() to attempt to avoid segfault on
OSX. (Thanks to Greg Jefferis for testing and workaround.)
0.96.0
- Gave better error when XQuartz is not found, tried for better test.
- Added more information on backgrounds to scene3d() to allow them to be used in rglwidget().
- Now uses forward slashes in rgl.postscript(fmt = "tex") generated code.
(Thanks to Uwe Ligges for the problem report.)
- Added as.mesh3d() and plot3d.deldir() and persp3d.deldir() methods to
allow plotting of surfaces defined by irregular collections of points.
- Background clearing was not handled properly. (Thanks to Paul Morse
for a bug report on this.)
- Added rglToLattice() and rglToBase() functions to compute Euler angles
for the lattice wireframe(), cloud(), and base graphics persp() functions.
- Added arrow3d() (based on the function of the same name in the
heplots package).
- Added pch3d() to give an approximation
to plotting symbols using pch=<number> in
base graphics.
- Added support for control of multiple subscenes
to spin3d(), par3dinterp(), play3d() and movie3d().
- Added experimental function writeASY() for output in Asymptote format,
which will allow inclusion in PDF files.
- cylinder3d() now defaults to a rotation minimizing local frame.
- Added this NEWS file
- Added better support for backgrounds
- Added support for orthographic projections (FOV = 0)
- Added simple Shiny demo using tabs
- Fixed bug in rendering unlit 3D sprites
- Added version dependency for jsonlite so that the
new faster matrix code will be used.
- Added rgl.attrib.info() to display information about
object attributes.
- Merged rglwidget code back into rgl.
- Functions that modify the scene now return their
value with class "rglLowlevel" or "rglHighlevel" (using the new lowlevel()
or highlevel() functions) to indicate that a low- or high-level plotting function
has been called. If the new option
"rgl.printRglwidget" is TRUE, printing objects
of either class will trigger automatic
printing of the rgl scene using rglwidget().
- Web browsers only support a finite number of active
WebGL sessions; rglwidget code now works to make more
careful use of this finite resource, so that large
numbers of rgl scenes can be present on a single
web page without exhausting it.
- The worker functions used by subdivision3d() have
been exported for use on their own.
- The rglwidget code now supports textures on spheres.
It now uses the same mesh as the one used inside R.
(The lack of support was pointed out by Justin McManus.)
0.97.0
- Fixed bug in conversion of bounding box decorations
used in rglwidget().
- Added "fixedSize" argument to rgl.sprites() and related
functions.
- Added plotmath3d() function, and set text3d() to
use it when necessary.
- addNormals() gave an error if the mesh it was working
with had degenerate triangles or quads. (Reported
by Rolf Turner and Graham Griffiths.)
- Auto-clipping sometimes changed result vectors into
lists.
- The controllers did not recycle some values correctly.
- Fixed bug in initialization of playwidgets.
- material3d() now silently ignores attempts to set
read-only properties.
- Added setUserShaders() for user-specified shaders
(currently for WebGL only).
- Added support for two-sided surfaces in WebGL.
- Fixed some bugs in pch3d() (reported by Gina Joue).
- Added demo("rglExamples") to display all the examples
in the rgl help in a collection of web pages.
This showed up a number of small bugs, which have been
fixed.
- movie3d() now optionally tries the R "magick" package first,
then the external ImageMagick v7 command "magick"
before trying "convert". (The external change
suggested by Earl F. Glynn.)
- par3d() reports on the version of OpenGL that it sees
(as component "glVersion").
0.98.1
- Cleaned up configure script.
- Cleaned up dynamic entry points.
- Added "add = FALSE" argument to persp3d.deldir().
- layout3d() handled multi-row cells incorrectly. (Reported
by Felix Carbonell.)
- Fixed a bug in subsetControl(), and added
toggleWidget()
- Renamed the "texture" argument to persp3d.function()
to "texcoords" for consistency with other functions, and
to avoid a collision with the "texture" material property.
- "shiny.tag" objects are now supported as inputs to
playwidget(), so that rglwidget() values can be
wrapped in htmltools::div() to set their style.
- Fixed bug in scene initialization that sometimes caused it
to ignore initial control values.
- Added figWidth() and figHeight() functions for sizing
rgl plots in R Markdown documents.
0.98.22
- Record context (ioslides, shiny, etc.) in scene
when rglwidget() is called.
- Allow more than 16 scenes in html_document, ioslides_presentation and
slidy_presentation.
- useSubscene3d() now returns the id of the previously active subscene,
to make temporary changes more convenient.
- The rendering order is changed: now all opaque objects are drawn first,
then all transparent objects. Previously this ordering was only done
within subscenes, leading to rendering errors when transparent objects
in one subscene were drawn before opaque objects in another.
- renderRglwidget() and renderPlaywidget() now have an optional argument
outputArgs for use in dynamic R Markdown documents.
- rglwidget() now warns if an object has too many vertices
- transparent spheres sometimes showed rendering
artifacts because they were not drawn from back to front. (Reported by Atte Tenkanen; original fix improved so nested
spheres should now work. WebGL display could still be
improved.)
- par3dinterp() did not always choose the best direction for interpolation
of the userMatrix.
- added an approximation to "polar" mouse controls to WebGL display.
- the "centers" attribute now refers to the individual facets
of spheres, rather than the whole sphere. Use "vertices" for
that.
- The togglewidget() function didn't work properly in Shiny.
- Tried to give a more helpful startup error message on MacOS.
- Added documentation to rglwidgetClass in Javascript.
- vertexSetter() can now set plane parameters.
- Modified platform.cpp so it works with __STRICT_ANSI__
defined.
- Fixed addition of attribute to NULL
- Fixed bug where textures or normals caused readOBJ() to fail;
added support for reading normals and texture coordinates.
- As many browsers have dropped support for setting line width
in WebGL scenes, this has been redone in rglwidget()
code using a vertex shader.
Line endings and joins are rounded, not squared as in OpenGL.
- The 65535 vertex limit has been removed (at least in browsers
that support big indices).
- The requirement that colours being controlled by an ageControl or vertexControl
be duplicated in the original has been removed.
- axes3d("bbox") didn't send parameters to bbox3d().
- Fixed examples for snapshot3d() and writeASY() so that they don't
change the working directory.
0.99.9
- Christophe Geuzaine's GL2PS library (used by rgl.postscript())
updated to version 1.4.0.
- Added support for communication with other widgets
using the crosstalk package. See ?rglShared and the
WebGL vignette for details.
- Added the rglMouse() function to allow the mouse
mode to be changed in a WebGL display.
- Fixed a bug causing the rglwidget() to fail to work
in a flexdashboard display.
- Fixed a bug in Shiny interaction
- Changed WebGL text rendering to avoid overloading
browser.
- The pandoc system requirement has been updated to
1.14, as 1.13.1 is no longer sufficient.
- Sphere rendering within R sometimes showed strange
artifacts.
|