¡@

Home 

2014/10/15 ¤U¤È 10:11:21

iphone Programming Glossary: mesh

How to change thin image to fat image in iPhone SDK?

http://stackoverflow.com/questions/10186200/how-to-change-thin-image-to-fat-image-in-iphone-sdk

a fat face transformation What I did is to import the image into an OpenGL texture and then apply that texture to a mesh grid. I apply a set of changes to the mesh grid squeezing certain points closer together and stretching others further apart... to import the image into an OpenGL texture and then apply that texture to a mesh grid. I apply a set of changes to the mesh grid squeezing certain points closer together and stretching others further apart. Getting a realistic fat face took a lot.. apart. Getting a realistic fat face took a lot of fine tuning but the results are quite good I think. Once I have the mesh calculated OpenGL does the heavy lifting of transforming the image and very fast. After everything is set up actually drawing..

Is it possible to connect two ios devices using sockets by getting their IP addressess?

http://stackoverflow.com/questions/10210835/is-it-possible-to-connect-two-ios-devices-using-sockets-by-getting-their-ip-addr

reachability. First you need to know the IP address of the other peers to connect to them. Once you're connected to a mesh of peers they can all keep each other updated on the state of the network suggesting better peers to each other passing.. information. More importantly you need to jumpstart things in some way because when a new peer starts up it's in a mesh of just itself and it has no information to give itself. One possibility is to have a handful of well known superpeers that.. which can be automated to various degrees. There are also shortcuts that can help ”Bonjour can get other peers onto the mesh as long as one peer on the LAN is already there GameCenter GameKit can be used as an automated external trading network..

Loading model using Jeff Lamarches script

http://stackoverflow.com/questions/11567640/loading-model-using-jeff-lamarches-script

split the image into a mesh of small quadrangles in OpenGLES

http://stackoverflow.com/questions/15701125/split-the-image-into-a-mesh-of-small-quadrangles-in-opengles

the image into a mesh of small quadrangles in OpenGLES How do I split the image into a mesh of small quadrangles in OpenGLES . I need to split.. the image into a mesh of small quadrangles in OpenGLES How do I split the image into a mesh of small quadrangles in OpenGLES . I need to split image in small parts and after that stretch only one part of the image..