Flash 中带有动态图片图的 3D 产品视图
我的一位潜在客户询问是否可以在 Flash 中显示产品的完整 3D 旋转视图,并动态包裹上传的图片。
我们以酒瓶为例。酒瓶将是“静态”的,但标签可以上传。然后,它应该显示在酒瓶周围并以 3D 旋转视图显示。
今天的Flash技术能够实现这样的概念吗?
干杯
A potential client of mine has asked whether it is possible to have a complete 3d rotating view of a product shown in flash that has an uploaded picture dynamically wrapped around it.
Let's take a winebottle as an example. The winebottle would be 'static' but the label could be uploaded. This should then be shown wrapped around the winebottle and be shown in a 3d rotating view.
Is todays Flash technology capable of such a concept?
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一些 Flash 3D 库可以帮助您实现这种效果。它不像 OpenGL 或其他硬件加速技术那样快速和流畅,但您仍然可以获得相当不错的结果。查看以下内容:
Sandy3D:http://www.flashsandy.org/
Papervision:http://blog.papervision3d.org/
Flash 10 还在 Flash 播放器中添加了一些基本的 3D 工具,但我认为它们无法实现您想要做的事情。
There are a few 3D libraries for Flash that can help you achieve this affect. It's not as fast and fluid as OpenGL or other hardware-accelerated technologies, but you can still get pretty good results. Check out the following:
Sandy3D: http://www.flashsandy.org/
Papervision: http://blog.papervision3d.org/
Flash 10 also added some rudimentary 3D tools into the flash player, but I don't think they get at what you're trying to do.
我不知道flash是否支持3d渲染,如果它支持的话,你所需要的只是酒瓶的3d模型并使用上传的图像作为纹理。
如果不需要,您需要对上传的图像进行一定程度的缩放并运行某种图像处理算法(类似于 Photoshop 滤镜)以使其看起来像包裹在瓶子周围,尽管就看起来逼真而言,这将相当有限。
编辑:如果瓶子已旋转,您当然需要为每一帧运行上述算法
I don't know if flash supports 3d rendering, if it doeds all you need is a 3d model of the winebottle and use the uploaded image as a texture.
If it doesn't you need to somewhat scale the uploaded image and run some kind of imagemanipulation algorithm (similar to a photoshop filter) to make it look like it's wrapped around the bottle, this would be rather limited though in terms of looking realistic.
Edit: And you would of course need to run the above algorithm for every frame if the bottle has been rotated