我有一个使用R rgl包生成的3D场景.
我可以保存为PLY格式,然后导出到.u3d(例如使用Meshlab),但它给我以下错误:
Error in if (sum(normals[1:3, it[j, i]] * normal) < 0) normals[, it[j, :
missing value where TRUE/FALSE needed
Run Code Online (Sandbox Code Playgroud)哪个我真的不知道怎么解决.
这是一个重现问题的示例文件.要重现只需在工作目录中下载文件,执行R并运行:
library(rgl)
load("alps3d.Rdata") #This loads the alps3d variable
plot3d(alps3d)
writePLY("alps3d.ply")
Run Code Online (Sandbox Code Playgroud)
如何以可以使用LaTeX在.pdf中迭代的格式保存3d场景?
有没有办法检测PDF是否包含3D元素(嵌入的通用3D对象)而不读取文件内容?这些信息可以从元数据中获取吗?