在网站上嵌入3D模型 [英] Embed 3D models on website
问题描述
有没有一种方法嵌入在网站上的SketchUp模型? preferably一个自由的,如果它是一个商业解决方案,我想确认,它实际上是值得的钱......我知道3D模型库啄在这里你可以旋转它(JavaScript和一些图片),但我可以T上传任何东西到3D模型库因为它总是重置连接。
Is there a way to embed Sketchup models on a website? Preferably a free one, if it's a commercial solution I'd like a confirmation that it's actually worth the money... I know about the 3D warehouse thingy where you can rotate it (javascript and some images), but I can't upload anything to the 3D warehouse 'cause it always "resets the connection".
推荐答案
您可以尝试在即将到来的WebGL功能在现代浏览器。有一些JavaScript库,可以读取模型文件,并在您(HTML 5?)网站上显示它们。我没有使用过他们呢,但尝试这些链接,如果这听起来很有趣:
You can try the upcoming WebGL Functions in modern Browsers. There are some Javascript Libraries that can read model files and show them within your (HTML 5?) website. I have not used them yet, but try these links if this sounds interesting:
https://github.com/mrdoob/three.js/
https://github.com/timjb/sketchup-threejs/
这篇关于在网站上嵌入3D模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!