Sign in to follow this  

HLSL see through effect

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this