Login
 
Archive
Links
Search
Blog List
There are no categories in this blog.
 
Aug 6

Written by: Jeremiah Morrill
8/6/2007 3:41 PM

I found a nice algorithm online for rendering water effects.  I thought this would be a good way to put the BitmapSource pixel buffer trick to work.

I've posted the executable and will post the source code when it's a little more cleaned up.

Click and drag on the image after you run it.

watereffect.zip

Tags:

13 comments so far...

Re: Advanced Graphics Effects in WPF

Woooooo - nice! I love what you guys are doing. Thanks!

By PeterK on   8/7/2007 4:29 AM

Re: Advanced Graphics Effects in WPF

Fan-freakin-tastic! I can't wait to see the source!

By John Ayres on   8/7/2007 6:33 AM

Re: Advanced Graphics Effects in WPF

that reminds me of the time I was off the coast of Australia in the Great barrier reef - You need some fish in the scene then you would have another screen saver
amazing effects.

By hv3 on   8/7/2007 2:45 PM

Re: Advanced Graphics Effects in WPF

Hi! Nice job! Your DirectShow articles were great!
Wanted to ask one question - do you know some efficient way to get Direct3D surface into WPF? Quick search on the net did not give me any points to start with. Of course, it is always possible to get down to the surface pixels and copy them to BitmapSource, but I guess it is not the most efficient way. Any ideas? Thanks in advance!

By RomanH on   8/29/2007 12:47 PM

Re: Advanced Graphics Effects in WPF

Hmmm. For some reason, the executable doesn't work for me ... I just get a blank window.

By Cory Plotts on   9/5/2007 5:16 AM

Re: Advanced Graphics Effects in WPF

I have the same problem. Just a blank window.

By Placido Domenech on   9/27/2007 7:08 AM

Re: Advanced Graphics Effects in WPF

Awesome stuff! I knocked up something like this as a screensaver using GDI back in 2005 during a Developmentor Guerrilla.NET training course and it ran like a dog. With 3 legs. Eating all my CPU. This however looks great and I'd *love* to see the source code to try again in WPF. Any chance of you sharing it please? Your blog is a great random discovery this morning :-D

By Christopher Morgan on   12/14/2007 3:17 AM

Re: Advanced Graphics Effects in WPF

can you share the source code to get a working sample

By source code on   1/26/2008 2:22 AM

Re: Advanced Graphics Effects in WPF

I've always ment to clean up the code, but it's so bad..I am sort of embarrassed.

As long as you guys don't hold that against me...I'll post the code ;)

By Jeremiah Morrill on   1/26/2008 6:52 PM

Re: Advanced Graphics Effects in WPF

I'm was looking for a effect like this.. Jeremiah please put some code, it is really useful!
Don't care about programming style...

By Daniel Tomasini on   2/19/2008 10:36 AM

Re: Advanced Graphics Effects in WPF

hey Jeremiah, did you post this code yet??? I would love to see how this is done. No problems on code quality, maybe we can even help clean it up and repost.

By mike kidder on   4/6/2008 5:32 PM

Re: Advanced Graphics Effects in WPF

I can send it to you, but I think i broke the source and won't work again.

I would just wait for the pixel shader support comming this summer..it will be 1000x more performant that what I have.

By Jeremiah Morrill on   4/6/2008 5:33 PM

Re: Advanced Graphics Effects in WPF

Amazing, is there any way I can get that code - broken or not to see how it's done? amazing.

By Ben Tsui on   11/18/2008 10:26 PM

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel  
  Minimize
Text/HTML Minimize
Copyright 2007
Downloaded from DNNSkins.com