PDA

View Full Version : OpenGL Point Size using Arrays? Anyone?


scratt
2008-04-24, 03:46
Am I right in assuming if I want to draw a large array of Points in OpenGL, and I choose to use arrays to do it then the only way to get variable point size throughout that array is to either use a shader, or texture mapping?

Does anyone know if there is a way similar to the OpenGL ES POINT_SIZE_ARRAY option?

Thanks.

scratt
2008-04-24, 04:15
Actually I found a solution using Point Parameters, and fudging the data order.
But if anyone knows of a better way, or if there is an Apple only extension for POINT_SIZE_ARRAYs I am all ears..