Depth shading question

New Message Reply Date view Thread view Subject view Author view

Mark Davey (mkd@medphys.ucl.ac.uk)
Wed, 03 Nov 1999 17:35:12 -0800


Hi....
I wish to change the default volume rendering technique given in the
demos so that parts of the rendered object that are further away from
the camera appear darker. In this way I hope to give the user depth
information which can be useful in interpreting certain types of image.

I can change the colour of each polygon thats goes to make up the volume
rendered image. I now need to find out the distance of the polygon from
the camera. The polygons generated using the
voGeometryActions::polygonize command have their coordinates relative to
the volume and not the world coordinates. I could transform these so
that they are in world coordinates, but by now, I am wondering if there
is an easier way of generating a depth enhanced image!!!!

So does anyone have any ideas??

Regards
Mark...

--
From: Mark Davey
Dept. of Medical Physics, UCL.

TEL: +44 (0)171 915 1673. FAX: +44 (0)171 837 9279.

Institute of Laryngology and Otology, 330 Gray's Inn Road, London. WC1X 8GE.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Nov 03 1999 - 12:00:32 PST