I have created an object using
glColor4ub(0, 255, 0, 255);
glVertex3f((GLfloat)(dE1), (GLfloat)(dN1), (GLfloat)dZ1);
What I am trying to say is I am not using VBO’s or arrays.
There are millions of points in the object. After drawing the scene I want to change the colours of the points in object and redraw the scene. Each point might have a different colour.
I have tried deleting the lists and recreating the object with a new colours, it works but uses up more memory which is in short supply.
Any help gratefully appreciated.