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
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross
I can''t really help you since I haven''t done multitexturing yet (crappy computer) but with single texturing, I think you could try to draw two quads, the first one containing your first bitmap, and the second one at the same position but drawn by modulating white+alpha (1.0f, 1.0f, 1.0f, alpha) and your bitmap.
Somebody else can probably give you better indications, but that''d be the first thing I''d try, before taking a peek in the blue/red book...
EL
----------------------------------------
"Inash neteia haeg joa kavari quilm..." SD4
Somebody else can probably give you better indications, but that''d be the first thing I''d try, before taking a peek in the blue/red book...
EL
----------------------------------------
"Inash neteia haeg joa kavari quilm..." SD4
----------------------------------------"Inash neteia haeg joa kavari quilm..." SD4
Ca va Lord,
Are you from Montreal?
I saw your profile (videotron.ca) and I have an offtopic question for you: Is videotron''s cable modem service any good? Is it true that they have download limit (bad for MP3s?
Are you from Montreal?
I saw your profile (videotron.ca) and I have an offtopic question for you: Is videotron''s cable modem service any good? Is it true that they have download limit (bad for MP3s?
Je suis de Chicoutimi.
I usually get download speeds from 30kB/sec to over 300kB/sec. Upload seems to be limited to 16kB/sec. Total allowed download, if I''m right, is about 6GB per month while uploads are limited to 1GB without additionnal fees.
I myself never exceeded these limits, but I know people who did in less than a week.
I really feel stupid answering this question in English when you obviously speak French...
EL
----------------------------------------
"Inash neteia haeg joa kavari quilm..." SD4
I usually get download speeds from 30kB/sec to over 300kB/sec. Upload seems to be limited to 16kB/sec. Total allowed download, if I''m right, is about 6GB per month while uploads are limited to 1GB without additionnal fees.
I myself never exceeded these limits, but I know people who did in less than a week.
I really feel stupid answering this question in English when you obviously speak French...
EL
----------------------------------------
"Inash neteia haeg joa kavari quilm..." SD4
----------------------------------------"Inash neteia haeg joa kavari quilm..." SD4
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement