Monday, April 21, 2008


Output with diffuse and specular shading.....still need to work on specular shading......
-Mitesh

Saturday, April 19, 2008

Silhouette for the hair model


Soo...I have integrated the two parts 1)cuda for hair creation and rendering 2)cg shaders for the edge detection giving the silhouette.
Note:-we were considering implementing the bitonic sort for sorting the hair strands.But it seems that enabling the depth test has solved the problem.
-Chitranjan

Friday, April 18, 2008


Rendering hair using different interpolation points has been done successfully. Currently working on diffuse and specular shading....
-Mitesh

Thursday, April 17, 2008

Sobel Edge detection for Sihouette


Sooo... I have been able to apply the sobel filter to our output.Thanks to the reflections assignment :).I tweaked a readily available sobel filter shader for getting the output as desired by us.I have also tested it with alpha blended output.This means that we can now render our hair output directly to the display and sobel output to a quad and then align the two to get the desired looking result.Also attaching the output of sobel with alpha blending.The image has turned out to be poor in quality but you can see the outline of the sphere below the green sphere.It looks proper on a computer display.

-Chitranjan

Multiple Hair Creation

Sooo.. I have created the interpolation points for multiple hair strands. This is done in parallel using Cuda.So we consider a sphere as our head and our hair strands are to be rendered 360 degrees around the sphere.It was just a matter of fixing a single hair strand and then rotating it around the sphere using the y-axis rotation matrix.For the sake of simplicity and ease everything happens around the origin of the axis.These interpolation points will be handled by the Mitesh's catmul-rom implementation.
-Chitranjan

Monday, April 7, 2008

Catmull-Rom implementation

Implementation of the Catmull-Rom was successful. We tried parallelizing the implementation as much as possible. Our main aim was to parallelize the time step function which would take maximum time as it calculates the curve point at various interval. Also the calculation of these points between different interpolation points have been implemented in parallel.

Currently we are trying to implement the Bitonic Sort for sorting the hair strands. We are having few difficulties in its implementation, more so with the actual working of the algorithm. We hope to solve this problem soon.
-Mitesh