Original Post
🔒 Locked
Drawing techniques
Advertisement
Do not use the
glTexImage2D in your draw() function,that's means the GL will upload the texture data each frame.
Do not compute the static data(Vertex Index and so on)
That's means GL will compute those static data each frame too. Compute them then store in an array,just use it.
Try use the glEnableClientState, but the use time should be small.
glTexImage2D in your draw() function,that's means the GL will upload the texture data each frame.
Do not compute the static data(Vertex Index and so on)
That's means GL will compute those static data each frame too. Compute them then store in an array,just use it.
Try use the glEnableClientState, but the use time should be small.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement