c++ - Volume rendering question -


I have already prepared a skeleton and a skin. I am currently learning OpenGL. I want to know that I How can I remove the skeleton and the skin of the iso-surface and see the skeleton under semi-transparent skin.

How do I set up two thresholds for skeletal and skin, and can Iososurfus while scanning the voices from back-to-front? After getting a vocal crossing threshold, I can calculate the normal vector with finite difference.

Finally, I can calculate the color by the diffuse reflection: N * (0, 0, 1) where N is the normal vector, * is a dot product, and (0,0,1) The vector on the camera's side. Skeletal color and skin appear skeleton behind semi-transparent skin. I know this idea, but do not know how to implement it in C ++ and OpenGL.

"Bible" is for real-time segment graphics. This quantity of GPU / shader implementation renders very much Well, although this approach is almost obsolete, and you want to directly apply algorithms directly to the CUDA / OpenCL.

Some introductory material in this (IEEE Vis 2008) may also be useful for you.

Comments