Saturday, June 14, 2008

SPH Raytracing video

Hi! As I said in the last post I have written a simple raytracer to display the liquids avoiding the creation of triangle meshes, so I´m only shooting rays to the particles and getting the density at the collision point with the surface of the liquid then compute the normal, a bit of refraction and specular and that´s all. Again I promise a more detailed explanation some day :O)
This video has been generated with 45000 particles.
Hope you like it!

Tuesday, June 3, 2008

SPH 90000 particles

This is the last video I´ll post as I have checked the stability of the simulator with 90000 particles. Now I´m going to write a raytracer to display the liquid in a more interesting way, I´ll keep you informed about any advance I make about it.

Monday, June 2, 2008

And... more videos!

After some optimizations I have created another two videos, one with 18000 particles and another one with 38000!! wow! :D

In the next days I will try to make it multi-threaded as now it´s only running with one processor. I have to write collisions with animated objects too. In the near future I´m thinking about writing a simple raytracer to display the liquid as a mesh probably an implicit surface shader or something cause just watching particles is a bit boring :)

Sunday, June 1, 2008

More SPH Videos


I´m back in Spain now and I want to show you two more videos of my liquid simulator. This tests have 15000 particles. The simulator is still a bit slow, but I´m trying to optimize the speed as much as I can. Well, here they are, hope you like it!