Advertisement

Slow Texture Creation

Started by November 21, 2003 10:03 PM
0 comments, last by DudeMiester 21 years, 3 months ago
Ok I have this function which makes perlin noise and stores the results in a large array. Now I want to turn this array into a texture that OpenGL can use. Currently I am using GLTexImage2D() to do this, but I notice a large delay before I see the newly created texture being rendered (~0.75s). I''ve tested my algorism for creating the perlin noise, and it is certainly fast enough to create 30 images per second. Can you suggest any faster methods to create real time generated textures?
[s] [/s]
I can see the fnords.
Try to use glTexSubImage2D. It should be faster.

Nehe opengl tutorial 35
PM Times change... Excuse my poor english!

This topic is closed to new replies.

Advertisement