Texture manipulation
Hey guys !
I need for a little help.
I have got two source BMP (BMP1 & BMP2), and i have to generate some textures, based on the two source BMP.
The texture must be an interpolated version (cross-fading) of the two BMP, and i would control the interpolation from BMP1 to BMP2 using an index from 0 to 1
(I think that''s multi-texturing) That means that with index = 0, the texture generated must be the exact copy of BMP1, and with index = 1, the texture generated must be the exact copy of BMP2
Inermediate values between 0 and 1, must produce an intermediate version of BMP1 e BMP2
How can i do it run-time using OpenGL (operating directly to a texture, just before binding it to a poly)? Does exist a method to perform this operation unless creating N static versions of textures ?
Any help will be fully appreciated. Thanks
//-------------
Making Funny Garbage Codes on
http://members.xoom.it/NinjaCross
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement