Author Topic: Label is visible on back side of transparent material (cylindrical mapping)  (Read 4899 times)

0 Members and 1 Guest are viewing this topic.

Offline Blacktip

  • Newbie
  • *
  • Posts: 33
  • Just started learning Fusion 360 & Keyshot
    • My own site
Hello. Sorry if the solution has been posted earlier, but I couldn't find it. I have a transparent material that has a label attached (yeah, another of those syringe-thingies). The label is rendered on both sides of the transparent material (which I don't want it to), and it the depth-slider for the label is not visible when mapping as a cylinder. If I choose the other mapping-type, the depth setting is there... but then the texture/label looks awfully distorted. Is there a tutorial I can follow in order to get things sorted?

regards,
Markus

guest84672

  • Guest
Re: Label is visible on back side of transparent material (cylindrical mapping)
« Reply #1 on: September 29, 2017, 05:26:09 pm »
You may need to separate the inner surface from the rest of the cup, and add a separate material that doesn't contain the label.

Offline Blacktip

  • Newbie
  • *
  • Posts: 33
  • Just started learning Fusion 360 & Keyshot
    • My own site
Thanks. It seems like that did the trick.

Offline RyanID

  • Newbie
  • *
  • Posts: 1
This is not an acceptable work around. Keyshot needs to fix this. Everytime I realize that I need to seperate surfaces and go back into Solidworks to fix it and update all of my material shaders get mixed up and I am basically starting over.

Offline CarlosFerreira

  • Newbie
  • *
  • Posts: 32
I'm having the same issue but on gold material. Besides splitting the part in two, is there any other way to keep the cylindrcal mapping from projecting to the back? Any help would be greatly appreciated.

Offline Esben Oxholm

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1673
  • esbenoxholm.dk/keyshot-video-course
    • Freelance CG Artist
With some careful positioning of a cylindrical color gradient in the opacity channel of the label you can hide the backside part of the label. Not optimal, but a different way if doing it.

See here how it works: https://cl.ly/052d3E3S3q1C

Grab the KSP here: https://we.tl/oBHmOEPOJG

Offline CarlosFerreira

  • Newbie
  • *
  • Posts: 32
Hi Esben

Once again you come to the rescue! You're right, this is not optimal but it does work. Thank you so much for your help. Really appreciate it!

Offline CarlosFerreira

  • Newbie
  • *
  • Posts: 32
Hi Esben

I'm having major issues trying to create the cylindrical opacity map. How did you figure out the size and location of the gradient? The part that I'm working on is extremely thin and can't seem to line it up. Is it just a matter of trial and error? I've spent almost 45 minutes and cant get it quite right. Any further insight would be appreciated.

Thx
-Carlos

Offline Esben Oxholm

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1673
  • esbenoxholm.dk/keyshot-video-course
    • Freelance CG Artist
I'm having major issues trying to create the cylindrical opacity map. How did you figure out the size and location of the gradient? The part that I'm working on is extremely thin and can't seem to line it up. Is it just a matter of trial and error? I've spent almost 45 minutes and cant get it quite right. Any further insight would be appreciated.
Ha, yeah, that might be a tough one if you have a really thin part.
Do you know the diameter of your part? Then you should be able to type that into the scale slider. Also you have to figure out wether the cylindrical gradient is rotated in the right direction.

Are you able to share the file?

Offline CarlosFerreira

  • Newbie
  • *
  • Posts: 32
Hi Esben

Think I figured it out but not sure how to streamline this process. I just placed the opacity mask and kept adjusting little by little until I got what I wanted. I'm using inches and working with a ZBrush imported object. I know modeling a part like this is better in CAD but it's way faster for me in ZBrush.

Thanks again for all your help.

https://www.dropbox.com/s/t8qibj2xpq9dd0c/Cylindrical_Mapping_Part.ksp?dl=0

Offline Esben Oxholm

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1673
  • esbenoxholm.dk/keyshot-video-course
    • Freelance CG Artist
Re: Label is visible on back side of transparent material (cylindrical mapping)
« Reply #10 on: December 13, 2017, 01:20:31 pm »
Think I figured it out but not sure how to streamline this process. I just placed the opacity mask and kept adjusting little by little until I got what I wanted. I'm using inches and working with a ZBrush imported object. I know modeling a part like this is better in CAD but it's way faster for me in ZBrush.

All right, cool.
It's not streamlined but I found a few tricks that might help:

1. I added in a cylinder and adjusted the size and position manually to fit the curve of the part. Wasn't too hard when looking directly from the top using orthographic view

2. Turned on 'halves' image grid and adjusted the view to center the cylinder.

3. Added the color gradient and adjusted the position of the two color pins to 0,5 to create a complete sharp transition.

4. Moved the center of the gradient to the cross section of the halves grid.

5. Adjusted the size of the gradient until the color transition was visible on the part. Had to fine-tune the position of the gradient a bit.

Might not be the best way to do it, but it at least makes it a bit easier by adding in the cylinder and halves-grid as visual guides.

Cheers,

Offline CarlosFerreira

  • Newbie
  • *
  • Posts: 32
Re: Label is visible on back side of transparent material (cylindrical mapping)
« Reply #11 on: December 13, 2017, 01:40:56 pm »
THANK YOU!!

That's a great idea. Does make it a bit easier to get the mask just right.