PDA

View Full Version : Warping Textured Quad



Sebaot
03-17-2001, 10:38 AM
Hello again,

I'm looking to warp a textured quad. Effect is simple: "run" a sinewave through it. Implementation, however, may be a different issue.

One way I've thought of is to extract every x-row in the bitmap, generate a textured rectangle for them, and push to the screen. Another thing I thought about was that since OGL takes care of storing the texture, maybe it lets me read it, warp it, or whatever. The pixel-access is very alluring ...

Well, I figured somebody had done their fair share of warping and can suggest some ideas. :-)

Tom