Open chozabu opened 10 years ago
I am currently in favor of (1 or 2) and 3 ;)
Hey chozabu,
I wanted to put down my thoughts for how to go about expanding this portion.
The main problem is that the current system was designed for static meshes. In order to introduce dynamic vertices we need to introduce several types of modifcations.
Handling Modification of Vertex Attributes
Modification at the Canvas Level
One of the fundamental problems here is that we have access to per vertex attributes which can be controlled at the vertex level but require many data points to be duplicated if shared between vertices, and uniform attributes which will be the same per canvas and thus shared between every mesh rendered. Apple makes reference to GL ES 2.0 having some type of Constant Vertex Attribute we could set manually with a gl command, but I can't find much documentation on it https://developer.apple.com/library/ios/documentation/3ddrawing/conceptual/opengles_programmingguide/TechniquesforWorkingwithVertexData/TechniquesforWorkingwithVertexData.html
I am interested in polygons that can move and change color rapidly. As we have discussed, methods could include: