Jump to content

How to show just the frontside of the mesh


Yime Benites
 Share

Recommended Posts

Hi, I need help with a human body transparent.

* I want to display just the frontside of the body and intern organs.

* I want hide the backside of the body.

link to model: http://52.74.240.184/questions/body/index.html

link to code: http://52.74.240.184/questions/body/js/file.js

I'm new developing with Babylon and I need similar examples or ideas about how to fix my problem. thanks

Screen Shot 2016-06-16 at 4.43.40 PM.png

Link to comment
Share on other sites

It looks like a difficult objective to reach, i don't know if a 3d engine can check alpha order on the same mesh.

Maybe you can try a big fake : don't use alpha on the body material and assign a diffuse color similar to the background, keep the fresnel effect, then play with the zOffset of organs material. I don't guarantee any result :D

Link to comment
Share on other sites

On 6/16/2016 at 8:05 PM, V!nc3r said:

It looks like a difficult objective to reach, i don't know if a 3d engine can check alpha order on the same mesh.

Maybe you can try a big fake : don't use alpha on the body material and assign a diffuse color similar to the background, keep the fresnel effect, then play with the zOffset of organs material. I don't guarantee any result :D

Hi V!ncer, I tried your Idea but it didn't work. thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...