Author Topic: How can I create white smoke in yellow liquid?  (Read 8947 times)

0 Members and 1 Guest are viewing this topic.

Offline McGugan

  • Newbie
  • *
  • Posts: 4
How can I create white smoke in yellow liquid?
« on: November 27, 2014, 04:55:11 am »
Hello out there!
I need some help in creating a material that I can apply to a cylinder. The cylinder is transparent like water but with a layer of white smoke in the bottom half of the cylinder. I have created everything but the white smoke.

I have attached a PDF showing the keyshot rendering which I have prepared and photos of how it looks in real life.

I look forward to hear if someone can help me with this task.

Offline edwardo

  • Hero Member
  • *****
  • Posts: 1116
Re: How can I create white smoke in yellow liquid?
« Reply #1 on: November 27, 2014, 05:53:48 am »
I'm not sure, but I bet graduated opacity maps will work to some degree. Also I guess the 'smoke' material will have zero specular, so bump the refraction index right down, and put the specular colour to black. Failing that.... photoshop?

Ed

Offline McGugan

  • Newbie
  • *
  • Posts: 4
Re: How can I create white smoke in yellow liquid?
« Reply #2 on: November 27, 2014, 08:01:35 am »
Hi Ed,

Thank you for the suggestions. I have tried a graduated opacity map, but I can't get it to look anything like the real life results.

I will keep working on it, but if someone has any other ideas, I am all ears.

Offline OK

  • Newbie
  • *
  • Posts: 23
Re: How can I create white smoke in yellow liquid?
« Reply #3 on: November 27, 2014, 09:47:06 pm »
I would have to agree with Edwardo, I think the opacity map is the way to go. Here is what I came up with in a few minutes so with some tweaking I'm sure you should be able to get the result you want!
I also added the opacity map I made.


Offline McGugan

  • Newbie
  • *
  • Posts: 4
Re: How can I create white smoke in yellow liquid?
« Reply #4 on: November 28, 2014, 03:53:21 am »
I have been working on the problem and have tried your proposal. Here is what I could get out of using a opacity map.



Test 1-I used your image and applied it to my internal part as an opacity map. The problem is that I have to have the product on a white background because the renderings will be cut and pasted to create a users guide. As you can see the smoke affect dose not show up clear enough, plus it is too transparent (even after several different adjustments). The other issue is that the liquid is a light yellow color which also gives the smoke a yellow tint.



Test 2-I tried changing your image to give the smoke a yellow color. I then created another image that was just a light yellow color. I applied the yellow colored smoke as an opacity map and the light yellow color as a color map. This did not work so well either.



Test 3-I found a photo in iStock of some fog. The photo is black & white. In photoshop I changed the background color to a light yellow, then I created a new layer and filled the whole layer with a yellow color, then adjusted the transparency of this layer so the the fog was visible. This added a yellow tint to the fog. I then saved it as a jpeg and applied it as a color image (only) to my part.



Here again is how it looks in real life. Just for a comparison.

With some more adjustments I think this could work. It is not exactly what I was looking for because the yellow area is not transparent. The image covers the out side surface of the cylinder, so if I place something behind the device it won't be visible through the yellow area.

I don't know if there is another way in which the yellow area could become transparent, like liquid, without using a opacity map?

Offline TpwUK

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 2910
Re: How can I create white smoke in yellow liquid?
« Reply #5 on: November 28, 2014, 05:41:06 am »
I would model the cloudy part as if it was liquid. Pulling the control parts on the top part of the cloud cylinder shape, then use Dielectric material or possibly a Translucent one.

Martin

Offline OK

  • Newbie
  • *
  • Posts: 23
Re: How can I create white smoke in yellow liquid?
« Reply #6 on: November 29, 2014, 06:36:51 am »
Is this more like what you had in mind?
Also I don't think you want to put the opacity map on the yellow liquid, just make that glass dense or something and add a new part for the smoke where you add the opacity map.
The thing is that if you have a white background the 'white' smoke actually doesn't look white (see your pictures) but is actually quite dark compared to the liquid/background.

Offline TpwUK

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 2910
Re: How can I create white smoke in yellow liquid?
« Reply #7 on: November 29, 2014, 07:00:42 am »
That looks more like what i was referring to... Nice effort OK

Martin

Offline McGugan

  • Newbie
  • *
  • Posts: 4
Re: How can I create white smoke in yellow liquid?
« Reply #8 on: November 29, 2014, 07:56:43 am »
Hi OK,

Your solution looks very close to what I am looking for.

I see what I was doing wrong now. I was trying to achieve this look using one solid cylinder. But as you explain, I need to use two different cylinders.

Thank you very much for this insight. I will try it and post the results.

Have a nice weekend and once again thank you.

Offline OK

  • Newbie
  • *
  • Posts: 23
Re: How can I create white smoke in yellow liquid?
« Reply #9 on: November 29, 2014, 10:04:40 am »
No problem, good luck! Looking forward to see the result!