嵌入的obj(或任何3D文件)的网站上文件、网站、obj

2023-09-08 10:45:47 作者:傲氣逼人 。

我会如何嵌入到我的网站上的3D对象,允许拖动旋转(preferably各个方向不只是水平)

How would I go about embedding a 3d object onto my website that allows drag to rotate (preferably all directions not just horizontally)

推荐答案

使用JavaScript,应该尽可能使用JavaScript的3D引擎之一:

Using javascript, it should be possible with one of the javascript 3D engines:

免费的JavaScript的3D引擎

我和JavaScript的3D没有经验,所以我不能太多,除了笔记评论可能的可能性。

I have no experience with javascript 3D so I can't comment much except note the probable possibility.

快讯:一些3D图形引擎:

Flash: several 3D graphics engines:

免费的Flash 3D引擎

我正与Away3D中,我觉得它适合我的需要。它有一个AIR应用程序称为prefab通过,使工作与3D格式更容易的开发者之一进行。无论是其他引擎具有相同的或更硬的工作流程我不能评论。

I am working with Away3D and I find it fit for my needs. It has an AIR app called Prefab made by one of the developers that makes work with 3d formats easier. Whether other engines have the same or harder workflow I can not comment.

你选择哪一个是你,虽然。被prepared战斗出来几天来得到它的工作,虽然,它可能很难,如果你是新来这个东西。

Which one you choose is up to you though. Be prepared to battle it out for a few days to get it working though, it can be hard if you are new to this stuff.

有其他的选择,Java小程序或Unity3D插件,但他们可能不是你所期待的。

There are other options, Java applet or Unity3D plugin, but they probably are not what you are looking for.