PSP-like Background

Hi, im pretty new to the direct-x programming and i really would like to know how i can create something like the psp-background (putting the background image cant be that complicated), i mean, the wave effect. i thought of something like putting small image to a sinus-curve or create some path-deformer?!

please help me... (btw. sorry for my bad english)

[371 byte] By [nini_knoxville] at [2007-12-24]
# 1

If you create a grid of vertices and apply the texture to that grid. Then you can move the vertices to create a wave effect. It would also be possible to do this in a vertex or pixel shader, but that would be pretty complicated to explain in a forum post.

(I'm not 100% sure what the PSP-life effect actually is - maybe someone can explain better)

TheZMan at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 2
http://upload.wikimedia.org/wikipedia/en/5/51/Xbar1_0003.jpg

every "line" simply waves smoothly...

hmm i think i need to read something about the vertics(grid)... but thank you for your answer

nini_knoxville at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 3

I think the easiest way to make that effect would be to get the waves into a tecture wideer than the screen and draw them on top of a static background while moving them left and right. You could do this all with sprites probably.

You could probably do the whole thing in a pixel shader but as I said thats pretty advanced stuff.

TheZMan at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...