Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jefferis/readobj
R package providing fast reader for Wavefront OBJ 3D scene files
https://github.com/jefferis/readobj
3d-models r rgl tinyobjloader wavefront-obj
Last synced: 27 days ago
JSON representation
R package providing fast reader for Wavefront OBJ 3D scene files
- Host: GitHub
- URL: https://github.com/jefferis/readobj
- Owner: jefferis
- License: other
- Created: 2015-06-24T17:27:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T17:57:23.000Z (over 2 years ago)
- Last Synced: 2024-09-23T01:53:19.629Z (about 2 months ago)
- Topics: 3d-models, r, rgl, tinyobjloader, wavefront-obj
- Language: C++
- Homepage: http://jefferis.github.io/readobj
- Size: 210 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# readobj
[![Travis-CI Build Status](https://travis-ci.org/jefferis/readobj.svg?branch=master)](https://travis-ci.org/jefferis/readobj)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/readobj)](https://cran.r-project.org/package=readobj)
[![Downloads](http://cranlogs.r-pkg.org/badges/readobj?color=brightgreen)](https://www.r-pkg.org:443/pkg/readobj)## Quick Start
For the impatient ...
```r
# install CRAN version
install.packages("readobj")# use
library(readobj)# run examples
example("read.obj")# get overview help for package
?readobj
# help for functions
?read.obj# run tests
library(testthat)
test_package("readobj")
```## Installation
A released version is now available on [CRAN](https://cran.r-project.org/package=readobj).```r
install.packages("readobj")
```### Development version
You can use the [remotes](https://cran.r-project.org/package=remotes) package
to install the development version:```r
if (!require("remotes")) install.packages("remotes")
remotes::install_github("jefferis/readobj")
```Note: You will need a development environment able to compile code C++ to
install in this way. MacOS X users will likely need Xcode (see https://cran.r-project.org/). Windows users need [Rtools](http://www.murdoch-sutherland.com/Rtools/) to install this way.## Acknowledgements
This package wraps the tinyobjloader C++ library available at
https://github.com/tinyobjloader/tinyobjloader. Kudos to its author, Syoyo Fujita!tinyobjloader is released under a liberal 2 clause BSD license, which this
package therefore inherits.