Author Topic: Make people 'solid' but 'transparent'  (Read 2588 times)

2020-10-20, 10:41:04

aaouviz

  • Active Users
  • **
  • Posts: 882
    • View Profile
    • Another Angle 3D
Sorry for the confusing title, but I'm not sure how else to describe this problem or the solution I'm looking for...

I often render out 'ghosted' white people in sketch renders. I usually do this on a separate pass and photoshop it in later. I'm trying to avoid this step and render the ghosted people into the final beauty pass....

See my attached render - this is a work-in-progress. It's close to the effect I want, but I don't want to see the other side of the people - ie; no arm, just a flat (basically 2d) person. The proper effect is achieved by turning on self-illumination, but if I also want the person 50% transparent, then that's when I get the extra detail I don't want...

Any tips how I might achieve this?

Thanks!
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/

2020-10-20, 15:59:34
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Use the Corona Front Back map with one side set to gray and one side set to pure black plugged into the opacity slot.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-10-20, 17:01:17
Reply #2

aaouviz

  • Active Users
  • **
  • Posts: 882
    • View Profile
    • Another Angle 3D
Hi Maru,

Thanks for the suggestion. I did try this. Although that technique does work, per se, it doesn't get me what I want...

The problem is that there is essentially 'more' geometry (front facing to camera) behind the first layer. Take the hand, for example, I don't want it visible behind the body.

I essentially want to create a ghosted silhouette... I can easily create a silhouette (self-illumination) OR I can easily create a ghosted person (opacity), but I'm able to create a ghosted silhouette.

Any tips? Thanks
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/

2020-10-20, 17:06:42
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
I think this will have to be done in two steps, as I can't think of a material that says "render only the first time a ray hits this material and not any other time the ray encounters the same material". Might be possible by limiting Max Ray Depth or something, but then you'd ruin the rest of the scene :)

I'd end up going with "render the scene without the figures; enable the figures and use Render Only Masks to get masks for them; use the masks in a post-process to add a transparent silhouette with a solid color and the mask to cut out the figures".
Tom Grimes | chaos-corona.com
Product Manager | contact us

2020-10-20, 17:15:30
Reply #4

aaouviz

  • Active Users
  • **
  • Posts: 882
    • View Profile
    • Another Angle 3D
Bummer, I was afraid you might say something like this :)

Thanks Tom. I'll go back to my 2-step process
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/

2020-10-22, 20:10:55
Reply #5

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
Like here? Only front is visible. But also, no other transparent object is seen behind.



Description:
Diffuse.
Refraction 90%, IOR= 1.
Ray Switch = invisible in refractions.

2020-10-23, 10:48:31
Reply #6

Jpjapers

  • Active Users
  • **
  • Posts: 1644
    • View Profile
Could you make it a milky glass material then make the people themselves not visible in refractions? So you wouldnt see themselves through themselves?

2020-10-23, 14:09:13
Reply #7

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
That's the tech demoed above.
But on C4D, where instead of noodling with RaySwitch there's just a click needed on an advanced material option to unchec/disable "Visible in refractions".

Now, added translucency, reflection, refraction, IOR = 1.54, and a bit of roughness.

2020-10-23, 14:37:05
Reply #8

aaouviz

  • Active Users
  • **
  • Posts: 882
    • View Profile
    • Another Angle 3D
I appreciate all the replies, guys. Though nothing has quite got the result I wanted. See attached for a more precise versions of what I'm hoping for... a solid silhouette, 50% transparent

I really don't think its possible as a 1-step operation. The attachment was made with 3d people in the scene on a separate texmap pass
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/

2020-10-23, 16:33:19
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Like here? Only front is visible. But also, no other transparent object is seen behind.



Description:
Diffuse.
Refraction 90%, IOR= 1.
Ray Switch = invisible in refractions.

The problem is that if the mannequin bends one elbow or a knee, the two objects will be visible behind each other.
I don't think this can be achieved in Corona.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-10-23, 17:00:47
Reply #10

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
No, as can be seen all refractive matter behind stays invisible. Which creates a different problem with glass, water and such being invisible behind.

Closest I could get was layering 'XRay' with Light material.



From experience, the easiest way I did silhouettes, was to 'flatten' the geo (scale to 0 / make it planar) relative to camera and use opacity.
If there's such a script for max, then it's no brainer.
« Last Edit: 2020-10-23, 17:04:41 by burnin »