Great thanks

seems to work, now i seem to be having problems again with the following section, it loops through a few times and then an access violation:

[pascal]
glVertexPointer(3, GL_FLOAT, 0, Cloud.vBuffer);
glColorPointer(4, GL_FLOAT, 0, Cloud.cBuffer);
glTexCoordPointer(2, GL_FLOAT, 0, Cloud.tBuffer);

glDrawArrays(GL_QUADS, 0, Length(Cloud.Puffs)*4);
[/pascal]

i assumed to change from '@Cloud.vBuffer[0]' to 'Cloud.vBuffer'?

Thanks again
Nic