Announcement

Collapse
No announcement yet.

Liquid in glass test - in reference to Metin_7's post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Liquid in glass test - in reference to Metin_7's post

    I've found a fairly simple way to get an accurate water-in-glass look.
    Since there is no air pocket between the liquid & glass it is like they get
    fused together and become one (except for the slight difference in refractive indices) So I model the liquid into the container (see pics)
    This seems to give a very realistic representation. If the glass and liquids are different colors, then you just select the seperate faces(liquid surface and glass-up to that liquid level).

    Jon





  • #2
    Hi John,

    I think it's a very convenient solution, thumbs up. The only minor drawback is that with close-ups it becomes visible that the liquid reaches the outside boundaries of the glass hull, as if the glass has no thickness. You probably expected someone was going to say that.

    Cheers (I'll have that cold Corona with a slice of lemon please! ),

    Metin
    Sevensheaven.nl — design | illustration | visualization | cartoons | animation

    Comment


    • #3
      Metin_7,

      Well, I had to test the theory. Here is a photograph I took of a mug
      with water in it - there is no evidence of the glass thickness below
      the water line. This didn't surprise me but I had to check anyway.
      I thought the thick glass of the mug would make a good test.

      Jon

      Comment


      • #4
        You're right, but it's the liquid's surface line I meant. The surface goes all the way to the outside boundary of the glass. That's the minor disadvantage of this method when it comes to realism.

        Nevertheless I think it's a useful, quick 'n' convenient solution.

        Cheers,

        Metin
        Sevensheaven.nl — design | illustration | visualization | cartoons | animation

        Comment


        • #5
          This is the way I use to create STILL water too. But what's happen in the case of the simulated water with realflow, or glue in animation?

          Boolean (power boolean) can be a solution, but soooo painful

          Best regards
          Palee

          Comment


          • #6
            Beautifull !!

            Can you give us a hint about the droplet on the beer bottle?

            Comment


            • #7
              Very usefull hint.. some of the best "liquid in glass" renderings so far

              Comment


              • #8
                You can also do it like in the attached picture. This is useful when your glass color and liquid color are not the same.

                Gijs

                You can contact StudioGijs for 3D visualization and 3D modeling related services and on-site training.

                Comment


                • #9
                  i didnt put half the thought as this into my bottles. hehe. the bottle was modeled solid. then i copied it, used a push modifyer on it to shrink it then booleaned it to make the hollow bottle. then copied the inner liquid. put a push on that as well sliiightly and booleaned off the top and that was my liquid. then used egz glass on both of them with the appropriate ior.

                  ---------------------------------------------------
                  MSN addresses are not for newbies or warez users to contact the pros and bug them with
                  stupid questions the forum can answer.

                  Comment


                  • #10
                    Boolean is still a dirty word for me.
                    Sevensheaven.nl — design | illustration | visualization | cartoons | animation

                    Comment


                    • #11
                      Boolean can be very handy sometimes if you follow the rules.
                      I have a tutorial called "Boolean reminders" from Atomic Animation. Since I've read, boolean seems to be domesticated somehow...
                      But can be soooo slow in this case...

                      (Now I can't find this tutor, but I'm sure, some of you have read already...)

                      Best regards,
                      Palee

                      Comment


                      • #12
                        The droplets on the Corona bottle were created using PArray
                        with the bottle as the emmitter and instanced geometry (spheres).
                        There are 2 PArrays on the bottle, one for the larger drops, one for the smaller drops.

                        Jon

                        Comment


                        • #13
                          wouldnt the parray spheres intersect the bottle geometry?

                          ---------------------------------------------------
                          MSN addresses are not for newbies or warez users to contact the pros and bug them with
                          stupid questions the forum can answer.

                          Comment


                          • #14
                            jwatson :

                            Very impressive results.

                            I have been very interested by this subject (see http://www.chaoticdimension.com/foru...ighlight=glass).
                            I found you solution interesting and your rendering very realistics, especialy the corona one (and that's what we want, wathever the fake/trick used).

                            I dont really understand hox you set the two differents colors , were do you split the faces? So could you post a simple scene with this method, it would be great for the community. What are you liquid setting in terms of fog?

                            Gijs :
                            I like your physics approach , can you post a result ?

                            Thanks to all.

                            Comment


                            • #15
                              Hi 3dben,
                              here is the example which uses ior 1.6 for the glass, ior 1.3 for the fluid and ior 1.23 for the 'transition'-material
                              BTW: This was rendered in Flamingo

                              Gijs
                              You can contact StudioGijs for 3D visualization and 3D modeling related services and on-site training.

                              Comment

                              Working...
                              X