Wednesday, February 21, 2007

Über Design

I had a meeting on Monday together with Kenneth, Anders and Mattias. Mattias is also working on his master thesis in parallell fluid simulation on a computer cluster at HPC2N so we'll sort of tackle the same problems. Anyways, the meeting was about designing a nice particle system API that could be used by VRLab and others long after we both are done with our master thesis. This has now evolved and a simple layer above the particle system, HOACollide and OpenSceneGraph should now be implemented. The name is Colosseum 3D Physics Library or namespace c3dPhysics. I guess Mattias and I will limit the work to only include full physics for particle - particle and particle - geometry interaction and not rigid body simulation which would be its own master thesis I'd think.

Parallell to this I successfully implemented some SPH test runs at home. The parameters are tweaked a bit for stability a the moment but other than that it runs just fine. Considering some optimization when I got time and some better rendering of the fluid. Nothing fancy at the moment. Need to do some more documentation of the work also.

Time to design!

Friday, February 16, 2007

Back in Umeå

After flying for 12 hours and spending hours checking in and out, walking through several security checkpoints Jan and I landed yesterday in Umeå. I guess the coming days will be messed up due to the jetlag. What a great trip! MMVR had a lot of interesting sessions that we participated in and many published posters. The visit to Stanford and the people at SUMMIT was also very giving and just wonderful. Great people with great ideas about the project. I'll upload some pictures later on and more information about the discussion results and project goals will also be published.

Monday, February 5, 2007

MMVR and Stanford

I've been home all day packing and getting everything ready for the trip to the U.S. This is going to be so cool and exciting. The first couple of days will be spent at "Medicine Meets Virtual Reality" conference on Long Beach. This will be a great opportunity for me to see what has been done in the field and get ideas for the project I'm working on. More information about the conference can be found here.

The next stop will be San Fransisco where we'll stay for the weekend and enjoy the nightlife. ;-)
After that we'll continue down to Palo Alto and Stanford where we'll meet the team at SUMMIT (Stanford University Medical Media & Information Technologies). It will be interesting meeting more people in this field of research and listen what they think together with Jan and Magnus.

I'm sure I will have a blast and I'll try to thouroughly document the trip. Now, more packing and preparation. Over and out!

Friday, January 26, 2007

Smoothed Particle Hydrodynamics

Had a small chat with Krister Wiklund at the department of physics by mail and recieved three books about SPH that he really recommended. I was wondering what I would do this weekend except for that floorball game on Saturday. I guess I know what to do rest of the time. :-)

Made further progress of integrating a SPH simulation into OSG as well. I'm pretty satisfied with the design but there's still alot to do. Anyone up for afterwork beer? *raises hand*

Wednesday, January 24, 2007

Tri-Mesh Model


Today Magnus recieved a tri-mesh model of the tract from Robert Cheng at Stanford. It's a high-res model with 48k triangles and 24k vertices.

Tuesday, January 23, 2007

Reading Frenzy

For the last days I've been reading a couple of publications. One interesting publisher is Matthias Müller and his crew at the graphics laboratory at ETHZ in Zürich. They've published several articles in the field of fluids and deformable objects. I've read the following publications with great interest.

Particle-Based Fluid Simulation for Interactive Applications
Interactive Blood Simulation for Virtual Surgery Based on SPH
Interaction of Fluids with Deformable Solids
Optimized Spatial Hashing for Collision Detection of Deformable Objects

I've also been studying the performance difference in different volume rendering techniques. To use 3D textures or slices of 2D textures. It seems that slices of 2D textures implemented on the GPU can perform higher framerate and still achieve the same "visual" result, though it's much harder to implement. This is still to be investigated. I've encountered several articles about real-time raycasting on the GPU but not yet looked into to it. Below are some articles about volume rendering.

Advanced GPU Raycasting
GPU-Based Ray Casting
Maintaining Constant Frame Rates in 3D Texture-Based Volume Rendering
3D Textures and Pixel Shaders
Optimizing GPU Volume Rendering

OpenSceneGraph has also been succesfully installed and some time have been spent reading documentation about OSG. The plan for tomorrow is to start designing and implementing SPH and collision handling. And hopefully the office will be ready as well. :-)

Tuesday, January 16, 2007

Project Specification and Schedule

The project specification is now complete and available under Links aswell as a preliminary schedule for project sub tasks.