HLSL see through effect

Started by
1 comment, last by Burnt_Fyr 7 years, 3 months ago

Hi,

Can anybody tell me how to create a see through effect using HLSL?

For instance, I use a camera to take a picture of the human chest.

Then I use volume rendering based on 3D CT/MRI to render the lung.

How to combine the real image (chest) and the virtual lung together to create a realistic see through effect such as we can see part of the lung through the skin of the chest?

Thank you so much!

YL

Advertisement

Probably you should use Photoshop for some experiments using the two images and a hand drawn mask for the lung area.

You can put the masked MRI image as a layer on top of the skin image (or vice versa) and experiment with various blending modes.

If you find something you like it should be easy to replicate the same effect with alpha blending or a pixel shader.

Seems like a standard alpha blending situation. I'd start with understanding how alpha blending is done and go from there, as it's not too difficult. Is there anything specific you are having issues with?

This topic is closed to new replies.

Advertisement