textures: Quad Mesh Primitives and Texture Mapping for Grids

Generate quad mesh primitives from the compact specification of a regular grid, its dimension and extent. Provides fast generation of mesh indexes and vertices, an unexpanded intermediate form (the grid edge coordinates), and a compact serializable specification for meshes that are generated on demand. Meshes are 'mesh3d' objects as used by the 'rgl' package, constructed without requiring any graphics engine, with support for texture mapping (Heckbert (1986) <doi:10.1109/MCG.1986.276672>) where an image is draped over a mesh whose density is independent of the image resolution. A C++ header library is installed so that other packages may generate mesh components via 'LinkingTo'.

Version: 0.1.0
Depends: R (≥ 3.6.0)
Imports: graphics, grDevices
LinkingTo: cpp11
Suggests: knitr, png, rgl, rmarkdown, spelling, testthat
Published: 2026-07-21
DOI: 10.32614/CRAN.package.textures (may not be active yet)
Author: Michael D. Sumner ORCID iD [aut, cre]
Maintainer: Michael D. Sumner <mdsumner at gmail.com>
BugReports: https://github.com/hypertidy/textures/issues
License: GPL-3
URL: https://hypertidy.github.io/textures/, https://github.com/hypertidy/textures
NeedsCompilation: yes
Language: en-US
Materials: README, NEWS
CRAN checks: textures results

Documentation:

Reference manual: textures.html , textures.pdf
Vignettes: design (source, R code)

Downloads:

Package source: textures_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): textures_0.1.0.tgz, r-oldrel (arm64): textures_0.1.0.tgz, r-release (x86_64): textures_0.1.0.tgz, r-oldrel (x86_64): textures_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=textures to link to this page.

mirror server hosted at Truenetwork, Russian Federation.