问题描述
限时送ChatGPT账号..我正在创建一个应用程序,我需要以下效果.我不知道热要开始工作.如果有人知道我实现这种效果的第一步是什么,那么请指导我如何像这样拉伸头发.
I am Creating one application and i required following effects. I don't know hot to start work. if any one know what is my first step for this effect then please guide me for how to stretch Hair like this.
效果链接1
效果链接2
我使用了以下链接和教程,但没有成功.
I used following link and tutorial but not succeeded.
http://code.google/p/faceworkshop/
http://code.google/p/imgwarp-opencv/
http://docs.opencv/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html#table-of-content-ios
我想,我会走错路...请帮帮我.
I think, I am going to wrong way...Plz help me.
推荐答案
效果看起来就像是一个带有纹理的 OpenGL 对象,您可以在其中更改最靠近触摸点的顶点坐标.OpenGL 对象必须由与形式匹配的三角形构建,这可能是基于头发图像完成的.
The effect look alike it's an OpenGL object with a texture where you change the coordinates of the vertex nearest to the touch point. The OpenGL object has to be constructed out of triangles matching the form, which is probably done based on the hair image.
这篇关于赋予 UIImage Stratch 平滑效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论