Erik Hofman wrote: > Ampere K. Hardraade wrote: > > A texcopy function that allows one to copy one part of the texture > > to another would be useful. > > Although it would be doable, one problem with this is that the textures > themselves are stored in video memory so updating them isn't as easy as > it sounds.
And the APIs are complicated. Traditional (1.1) OpenGL can only do this to and from the framebuffer, not between textures. The last time I looked at this problem, about 2 years ago, there were a bunch of extensions being proposed that would represent all memory areas on the graphics card (vertex buffers, textures, framebuffers, depthbuffers, etc...) with a unified API that was tentatively called the "uberbuffer". I'm not sure what happened to this, or what the status is of driver support on modern cards. Andy _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d