在网站上嵌入 3D 模型 [英] Embed 3D models on website

查看:34
本文介绍了在网站上嵌入 3D 模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在网站上嵌入 Sketchup 模型?最好是免费的,如果它是商业解决方案,我想确认它确实物有所值......我知道可以旋转它的 3D 仓库(javascript 和一些图像),但我无法上传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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆