putting liquid in a glass

FabeFabe Posts: 225
edited December 1969 in Daz Studio Discussion

I'm working on a new render and I plan on having the character in the render holding either a glass of champagne or a martini . I have the the glasses but they are both empty. What would be the best way to fill the glass so it looks like it has something in it?

Comments

  • SzarkSzark Posts: 10,634
    edited December 2012

    You would need to take the glass in to a modeling program and add a mesh for the liquid with its own material zone.

    I think if you searced shareCG etc hard enough you may find a glass with the requirements you need for free.

    Post edited by Szark on
  • JaderailJaderail Posts: 0
    edited December 1969

    Szark said:
    You would need to take the glass in to a modeling program and add a mesh for the liquid with its own material zone.

    I think if you searced shareCG etc hard enough you may find a glass with the requirements you need for free.

    This is the best option, I have a few that even have tilt so the glass and liquid do not need to be standing up 100% straight. That just looks so fake.
  • bighbigh Posts: 8,147
    edited December 1969

    Fabe_ca said:
    I'm working on a new render and I plan on having the character in the render holding either a glass of champagne or a martini . I have the the glasses but they are both empty. What would be the best way to fill the glass so it looks like it has something in it?

    best way is to render and then paint in the color :-)

  • srieschsriesch Posts: 4,241
    edited December 2012

    If you can find some object to fill the glass (a shorter cylinder for a cylindrical glass, an inverted cone primitive for a cone-shaped glass, etc.) you could go into the Surfaces (Color) tab and play around with the settings to try to duplicate the appropriate liquid. To start with set "Opacity Strength" to some value less than 100 so you can still see it but can also partly see through it. I haven't really experimented with these yet, but there's also a Refraction Strength and Index of Refraction slider you would presumably want to research.

    Post edited by sriesch on
  • FabeFabe Posts: 225
    edited December 1969

    Jaderail said:
    Szark said:
    You would need to take the glass in to a modeling program and add a mesh for the liquid with its own material zone.

    I think if you searced shareCG etc hard enough you may find a glass with the requirements you need for free.

    This is the best option, I have a few that even have tilt so the glass and liquid do not need to be standing up 100% straight. That just looks so fake.


    I creating a new mesh is a bit beyond my current skill level but I did find a suitable glass on Share CGI. The only problem now is I have no idea where to place the files,its not a runtime so I'm at a bit of a loss.

  • FabeFabe Posts: 225
    edited December 1969

    If you can find some object to fill the glass (a shorter cylinder for a cylindrical glass, an inverted cone primitive for a cone-shaped glass, etc.) you could go into the Surfaces (Color) tab and play around with the settings to try to duplicate the appropriate liquid. To start with set "Opacity Strength" to some value less than 100 so you can still see it but can also partly see through it. I haven't really experimented with these yet, but there's also a Refraction Strength and Index of Refraction slider you would presumably want to research.


    I was thinking of trying that but I wasn't sure if it would work, Think I'll start experimenting and see what results I get.

  • SzarkSzark Posts: 10,634
    edited December 1969

    Fabe_ca said:
    Jaderail said:
    Szark said:
    You would need to take the glass in to a modeling program and add a mesh for the liquid with its own material zone.

    I think if you searced shareCG etc hard enough you may find a glass with the requirements you need for free.

    This is the best option, I have a few that even have tilt so the glass and liquid do not need to be standing up 100% straight. That just looks so fake.


    I creating a new mesh is a bit beyond my current skill level but I did find a suitable glass on Share CGI. The only problem now is I have no idea where to place the files,its not a runtime so I'm at a bit of a loss. Throw me the link and I will take a look and see what we can do.

  • FabeFabe Posts: 225
    edited December 1969

    Fabe_ca said:
    If you can find some object to fill the glass (a shorter cylinder for a cylindrical glass, an inverted cone primitive for a cone-shaped glass, etc.) you could go into the Surfaces (Color) tab and play around with the settings to try to duplicate the appropriate liquid. To start with set "Opacity Strength" to some value less than 100 so you can still see it but can also partly see through it. I haven't really experimented with these yet, but there's also a Refraction Strength and Index of Refraction slider you would presumably want to research.


    I was thinking of trying that but I wasn't sure if it would work, Think I'll start experimenting and see what results I get.

    OK cool,thanks
    http://www.sharecg.com/v/19785/View/21/DAZ-Studio/brandy-glass

    it's just a folder with the files so as I said I'm not sure where to put it.

  • SzarkSzark Posts: 10,634
    edited December 1969

    Ok first off exract the files with something like 7-Zip http://www.7-zip.org/ If you don't know how shout and I will guide you through.

    Once decompressed (extracted) open Daz Studio and go to File > Import and import the brandy glass.obj

    Then select the glass and go to File > Merge and go and select b-glass-mat.dsb material preset.

    You should now have the glass and liguid textured.

  • wancowwancow Posts: 2,708
    edited December 1969

    if you want to make this yourself, the easiest way is this:

    Download Rhino3d http://www.rhino3d.com

    Create a glass using the REVOLVE command. Create the liquid using the REVOLVE Command. And use a Boolean operation to slice it at an angle if you want the glass tilted. It is the simplest, easiest way to create this fast. You can do the same in Hexagon, it's simply more involved than it would be in Rhino...

  • Richard HaseltineRichard Haseltine Posts: 100,764
    edited December 1969

    Hexagon should be perfectly capable of doing the job, especially as you are unlikely to need any uv mapping for a glass of drink. Just select a loop of edges around the glass at liquid level, and at simplest create a polygon to fill the surface, then select the below the surface faces of the inside of the glass and the new polygon and assign them to a new material for the drink. Better would be to extrude the new polygon in and down a bit to create the meniscus.

  • SzarkSzark Posts: 10,634
    edited December 1969

    how did you get on with this Fabe_ca?

Sign In or Register to comment.