Files with .obj extension now have problems when working with rgl function in Shiny App before
kahvecirem opened this issue · 4 comments
kahvecirem commented
Files with .obj extension now have problems when working with rgl function in Shiny App before
dmurdoch commented
Could you please provide some details?
kahvecirem commented
Sorry for my misspelling. I forgot to revise. I have a file with .obj extension, but when I scanned it two weeks ago, there was no problem, now when I scan it on shiny app, it does not output my .obj file. But the same code works in normal R interface thanks to rgl. I tried getting solution in many places including Stackoverflow but it didn't work.
My code simply looks like this:
open3d(),
shade3d(readOBJ("tirtill.obj", material = list(color = "green", shininess = 1)))
… On 21 Jul 2022, at 21:58, dmurdoch ***@***.***> wrote:
Could you please provide some details?
—
Reply to this email directly, view it on GitHub <#257 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AVCGYU4UFR2W76BWYCTDNCTVVGMWFANCNFSM54IUSW6A>.
You are receiving this because you authored the thread.
dmurdoch commented
Sounds like a bug in your Shiny app, if the code works in R but not in your app. You could try printing the result of digest(file = "tirtill.obj")
in both situations to see if they are reading the same thing.
dmurdoch commented
Without something reproducible, there's nothing to do here.