问题描述
想象一下,一个客户要求你设计一款软件来满足一些非常粗略的规范,如下所示:
Imagine a client asked you to design a piece of software that would satisfy some pretty rough specs as follows:
1:将面向时尚行业营销
1: it will be marketed towards the fashion industry
2:用户将是设计衣服和东西"的人(可能有一个特定的术语,但没有想到)
2: the users will be people that "design clothes and stuff" (there is likely a specific term for it but it doesn't come to mind)
3:出于各种原因,能够快速制作原型设计并查看它们在模型上的外观会很有用.为了使它更有用,它应该渲染 3D 模型,以便设计人员在必要时可以从多个角度查看它.
3: For various reasons, it would be useful to be able to quickly prototype designs and see how they look on models. To make it more useful, it should be rendering 3D models so that the designers can look at it from various angles if necessary.
4:为了有用,用户应该能够使用他们喜欢的任何3D建模工具(甚至可能是内置的)设计自己的服装,然后将其导入到该系统中.同样,用户也应该能够设计自己的模型.
4: In order to be useful, users should be able to design their own outfits using whatever 3D modeling tool they like (it may even be built-in), and then import it into this system. Similarly, users should also be able to design their own models as well.
5:用户将能够选择他们想试穿的模特.当然,人类的比例各不相同,因此他们可能希望相应地调整模型,以了解它在不同人身上的表现.
5: Users will be able to pick a model that they wish to try the outfit on. Naturally, humans come in various proportions so they may want to adjust the model accordingly to see how it looks on different people.
6:因此,需要调整服装以适应比例的变化.仅仅为了做一些细微的改变而不得不一遍又一遍地设计相同的服装是不可行的,所以这应该由计算机来完成.
6: Consequently, the outfits would need to be adjusted to account for the change in proportions. It is not feasible to have to design the same outfit over and over again just to make some minor changes, so this should be done by the computer.
大部分系统听起来都非常简单.但最后是 3D 内容.
Most of the system sounds pretty straightforward. But then comes the 3D stuff at the end.
特别是,我想象的系统中最困难的部分是实际的服装试穿"算法,因为您可以创建静态对象并查看它们的外观,但要能够即时更改它们并且仍然具有它们自然合身似乎绝对令人兴奋.
In particular, the most difficult part of the system I imagine would be the actual "clothing fitting" algorithms, since you can create static objects and see how they look, but to be able to change them on the fly and still have them fit naturally seems absolutely mind-blowing.
现在有这样的工具吗?什么样的工具可以使这个问题更容易解决?有没有人做过这样的事情?
Are there any tools like this already? What kind of tools would make this easier to solve?Has anyone ever worked on something like this?
推荐答案
这里面有很多核心计算几何学,虽然它的点点滴滴确实存在,但据我所知,以前没有人做过完整的事情.
There's a lot of hardcore computational geometry in this, and while bits and pieces of it do exist, as far as I know no one's done the whole thing before.
奇怪的是,试衣实际上可能是更容易的部分之一.您可以让设计师定义具有参数化尺寸组件的织物图案,模拟以特定尺寸和各种姿势穿着它的模型,并在每个尺寸-姿势对中生成紧密度(变形量)的量度.然后,您将定义一个对大小和紧密度进行惩罚的成本函数,然后进行梯度下降以将其最小化.
Oddly enough, the clothing fitting may actually be one of the easier parts. You would have the designer define a fabric pattern with parametrically sized components, simulated a model wearing it at a particular size and in various poses, and produce a measure of tightness (amount of deformation) in each size-pose pair. Then you'd define a cost function with a penalty for size and for tightness, then do gradient descent to minimize it.
但首先您需要织物模拟(困难)、各种姿势的人体 3D 建模(困难),以及参数形状织物图案的建模工具(困难).
But first you need fabric simulation (hard), 3D modeling of humans in various poses (hard), and a modeling tool for parametrically shaped fabric patterns (hard).
这篇关于一种自动适应衣服的算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!