Jump to content
  • Advertisement
Sign in to follow this  
YixunLiu

HLSL see through effect

This topic is 651 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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.

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!