How to construct irregular shapes and render it

I have slices of a object which is a irregular shape. How do i give this 2D slice to opengl and form mesh and render the volume of all slices put together.

Secondly how do i create irregular object in opengl.

Regards,
Vinayak Yardi
vinayakyardi@usa.net

If your slices are scalar fields, then it sounds like you need to look into computer visualization, and use something like the marching cubes algorithm. If your slices are just contours, then you can just divide the contours with points and connect them with their neighbors to form a mesh.