SCM

[#6586] ERROR: 0:3: 'highp': precision is not supported in fragment shader

Date:
2018-06-18 04:08
Priority:
3
State:
Closed
Submitted by:
Michael Thrun (mctmct)
Assigned to:
Nobody (None)
Hardware:
PC
Product:
None
Operating System:
None
Component:
None
Version:
None
Severity:
major
Resolution:
Won't Fix
URL:
Summary:
ERROR: 0:3: 'highp': precision is not supported in fragment shader

Detailed description
Hello All,
Calling a simple example yields an error in Rstudio in Win 7, 64 bit, R 3.5

library(rgl)
plotids <- with(iris, plot3d(Sepal.Length, Sepal.Width, Petal.Length,
type="s", col=as.numeric(Species)))
#this lines does not work resulting in the error in summary above
rglwidget(elementId = "plot3drgl")

Normal Internetbrowser supports Web-GL by testing with
https://get.webgl.org/

Error could not be found in google.It seems for me that, it is connected to your packages.
Rstudio is not usuable after the error and has to be shutdown by task manager.

Best Regards
M.Thrun

Comments:

Message  ↓
Date: 2018-06-20 04:18
Sender: Michael Thrun

Getting now a new error: "error in rgl.snapshot(): pixmap save format not supported in this build
convertScene -> initResult -> snapshot3d -> rgl.snapshot

However, the *.Rmd works on another PC.

Date: 2018-06-18 09:06
Sender: Duncan Murdoch

I've just added a check for this in version 0.99.17 (R-forge only). You should be able to try it out in a while when R-forge finishes the test and build.

Date: 2018-06-18 08:46
Sender: Michael Thrun

I am using the newest Version of Rstudio (1.1.453) because this was also my first idea :-)
And their internal Browser. My paramount goal is to write a Rmarkdown Vignette for my R package DatabionicSwarm on CRAN. This was the smallest example where I could reproduce the error.

Date: 2018-06-18 08:36
Sender: Duncan Murdoch

This error is coming from the browser. Are you using the built-in browser in RStudio, or a different one? What is the exact version number?

"highp" is an optional part of WebGL in browsers, but I've never heard of any that don't support it before (other than mobile ones).

Attached Files:

Attachments:
Size Name Date By Download
49 KiBscreenshot_04.png2018-06-18 04:08mctmctscreenshot_04.png
15 KiBscreenshot_08.png2018-06-20 04:18mctmctscreenshot_08.png
9 KiBDatabionicSwarm.Rmd2018-06-20 04:18mctmctDatabionicSwarm.Rmd

Changes

Field Old Value Date By
status_idOpen2021-02-02 18:03murdoch
close_dateNone2021-02-02 18:03murdoch
ResolutionNone2021-02-02 18:03murdoch
File Added5171: DatabionicSwarm.Rmd2018-06-20 04:18mctmct
File Added5170: screenshot_08.png2018-06-20 04:18mctmct
File Added5169: screenshot_04.png2018-06-18 04:08mctmct
Thanks to:
Vienna University of Economics and Business Powered By FusionForge