SCM

[#6502] I cannot get transparency (alpha=x) options working when using knitr on rgl plot

Date:
2017-04-11 21:22
Priority:
3
State:
Closed
Submitted by:
Alex Sutton (ajs22)
Assigned to:
Nobody (None)
Hardware:
PC
Product:
None
Operating System:
None
Component:
None
Version:
None
Severity:
None
Resolution:
Won't Fix
URL:
Summary:
I cannot get transparency (alpha=x) options working when using knitr on rgl plot

Detailed description
e.g. if you use knitr on the below simple code it does not seem to produce a plot (and I get errors when checking the html document using developer tools in Chrome). Remove the alpha = 0.5 option and it works fine.

Apologies if this is a known issue - I could not find it documented anywhere. Rgl is superb work making a huge difference to my research - thank you. Alex

---
title: "Untitled"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

```{r test}
library(rgl)
plot3d(c(1,2,3), c(1,2,3),c(1,2,3), type="s",
add=TRUE, col="red", radius = 0.5, alpha=0.5)
rglwidget()
```

Comments:

No Comments Have Been Posted

Attached Files:

Changes

Field Old Value Date By
status_idOpen2021-02-02 18:03murdoch
close_dateNone2021-02-02 18:03murdoch
ResolutionNone2021-02-02 18:03murdoch
Thanks to:
Vienna University of Economics and Business Powered By FusionForge