Author Topic: [RESOLVED] CS9 materials/label problem  (Read 1580 times)

0 Members and 1 Guest are viewing this topic.

Offline MM46

  • Newbie
  • *
  • Posts: 9
[RESOLVED] CS9 materials/label problem
« on: December 06, 2019, 04:52:36 am »
Hi guys
Is there anyone who can help me please?
I’m trying to create a bottle cap that is a metal object with a painted outer surface (top and sides)
I have got to the point where I can apply a red label acting as the red paint. When set as single sided there are still areas that don’t take the label…
Please is there any way round this?

See attached
I have fixed for now by creating two objects that fit one inside the other, but would love to know if there’s a long term proper fix/technique
Thanks
Marcus
 
« Last Edit: January 06, 2020, 02:20:54 pm by Justin A »

Online INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1105
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: CS9 materials/label problem
« Reply #1 on: December 06, 2019, 11:52:04 am »
You need the experimental features enabled.
Then apply the paint material as a label onto the metal.
And add the backside surface mask in the opacity channel of the label material.
If the paint is on the wrong side (caused by the normals), then use the invert utility between the backside mask and the opacity connection.


This should help


Cheers
Marco

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #2 on: December 07, 2019, 04:01:57 am »
Thanks Marco, I'll give that a try :)

Online INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1105
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: CS9 materials/label problem
« Reply #3 on: December 08, 2019, 11:01:12 pm »
Could you upload the cap geometry?

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #4 on: December 09, 2019, 09:08:26 am »
Hi Marco
Struggling to find the 'experimental features'...
Is this what you mean by the geometry?
Thanks
Marcus

Online INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1105
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: CS9 materials/label problem
« Reply #5 on: December 09, 2019, 10:11:39 am »

Hello Marcus

To activate the experimental features, just open the ks9settings.xml from the resources folder with a notepad. Then search for "experimental" and change the value from false to true. (<experimental_features bool="true"/>)
Then start KeyShot.


In the attached KSP, you'll see two solutions.
I've splitted the cap into separated objects (inner and outer shape) and applied different materials.
And I've splitted the cap to get just a single surface (without thickness). This part has a metal and a paint on top. As you can see, there's a "ray mask" node applied on the opacity of the labels. This ray mask ist an experimental feature and do the job right. A backside mask with an invert (utility) node would work as well, but ray mask is one node simpler.


Hope that helps


Cheers
Marco
« Last Edit: December 09, 2019, 11:40:40 am by INNEO_MWo »

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #6 on: December 09, 2019, 12:08:00 pm »
OK, I have found the .xml file and opened. How do I find 'experimental' in what looks like a pile of code? (sorry I'm not very tech ???)
Did the files I sent make any sense
Thank you
Marcus

Offline Don Cheke

  • Jr. Member
  • **
  • Posts: 58
  • Provider of Comprehensive TurboCAD Tutorials
    • Textual Creations
Re: CS9 materials/label problem
« Reply #7 on: December 09, 2019, 01:16:22 pm »
OK, I have found the .xml file and opened. How do I find 'experimental' in what looks like a pile of code? (sorry I'm not very tech ???)
Did the files I sent make any sense
Thank you
Marcus

If I may, if you opened in notepad, just press ctrl+F and do a word search for experimental.

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #8 on: December 09, 2019, 01:43:46 pm »
Cheers Marco! I'll check that out in the morning. Great job, that's what I was after
Thank you

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #9 on: December 09, 2019, 01:44:51 pm »
Thanks Don

Offline MM46

  • Newbie
  • *
  • Posts: 9
Re: CS9 materials/label problem
« Reply #10 on: December 10, 2019, 08:40:20 am »
Hi Marco
I've nailed it!
I had a slight problem locating the split/separated surface but found it in the scene tree. Should have looked there first... :-[
Thank you for your help
Marcus

Online INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1105
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: CS9 materials/label problem
« Reply #11 on: December 10, 2019, 12:26:12 pm »
glad that I can help.


Cheers
Marco