Chico CSCI 140 - How to Present Liquid in the Glass

Unformatted text preview:

How to Present Liquid in How to Present Liquid in the Glassthe GlassBy: By: JinshengJinshengLiLiIn this tutorial, it is not going to show how to make a In this tutorial, it is not going to show how to make a glass but it will focus on how to present some kind of glass but it will focus on how to present some kind of liquid in a glass.liquid in a glass.Here we are going to make a glass of Here we are going to make a glass of cranberry juice cranberry juice as as the example.the example.The main idea to present the liquid in a glass is to The main idea to present the liquid in a glass is to fill the glass by using that “glass shape” of fill the glass by using that “glass shape” of liquidliquidinstead of that inside “glass shape” of instead of that inside “glass shape” of airair..Main Idea …Main Idea …Two Main ThingsTwo Main Thingswe need to consider for the air we need to consider for the air and different kinds of liquids besides and different kinds of liquids besides specularityspecularity, diffuse, , diffuse, transparency, translucency, etc. :transparency, translucency, etc. :ColorColorRefraction Index (RI) Refraction Index (RI) ––It is a constant for a given pair of materials. InIt is a constant for a given pair of materials. InLightwaveLightwave, it is the setting that makes the, it is the setting that makes thedifference between different kinds of materials.difference between different kinds of materials.Step 1Step 1Load a transparent, colored object into Lightwave modeler.Step 2Step 2-- Make sure that you are in the “Polygons” mode-- Tap “w” to show Polygon Statistics window; Select the “Glass_Int” polysStep 3Step 3-- After selecting the “Glass_Int” polys, tap “=“ to hide the other polysStep 4Step 4-- Drop selection -- Select the inside polys in “Glass_Int”:Select theinside bottomones first, andthen expandthe selectionby using “}”until youexceed thelevel wherethe cranberryjuice will bede-select polysStep 5Step 5-- Tap “=“ to hide the unselected polys-- Use the “Knife” tool (“K+Crtl”) to cut the top of the “Cranberry” -- Drop the selection -- Select those ploys above the line (where the cranberry will be)-- Tap “-” to hide themStep 6Step 6-- Make sure that you are in the “Points” mode-- Select those points on the -- Tap “ p “ to combine them to make a poly as the top of the cranberry juiceStep 7Step 7-- Tap “ q “ pump up the “Change Surface” window and name it “Cranberry”Now we have a basic “cranberry juice” model ! Now we have a basic “cranberry juice” model ! Next …Next …Because every kind of liquid has the viscosity when it meets theBecause every kind of liquid has the viscosity when it meets theglass, there is a meniscus on the top of the liquid. In order toglass, there is a meniscus on the top of the liquid. In order tomake make the whole cranberry juice model more realistic, we would like tothe whole cranberry juice model more realistic, we would like tomodify the top of the cranberry juice by the following steps… modify the top of the cranberry juice by the following steps…Step 8Step 8-- Go to the “Modes”, select “Action Center:Selection” -- Select the poly which is the top of cranberry-- Tap “F” Æ ClickÆtap “H” Æ Drag the poly a little smaller Ætap “t” Æ Ctrl + Dragthe poly a little lower-- Repeat these steps several times until get the desired meniscusde-select polysmeniscusStep 9Step 9Make it “real“ !Make it “real“ !-- Tap “F5” to open “Surface Editor” window-- Setting for Glass:Glass_ExtGlass_Int (RI: 1.0)“Options”tab:“Antialiasing”“Environment”tab:“Ray Tracing +Spherical Map”“Reflection Blurring” set to “80.0 %”Step 10Step 10Make it “real“ !Make it “real“ !-- Setting for Cranberry:RI: 1.35“Options”tab:“Antialiasing”“Advanced”tab:“Color Filter” set to“100.0 %”“Environment”tab:“Ray Tracing +Spherical Map”“Reflection Blurring” set to “50.0 %”-- Save your workStep 11Step 11RenderRender-- Go to Layout and load the object we just made (“JuiceGlass_Model”) -- Under “Rendering” tab:Draw down “Render Options”menu and select those options-- Change “Ray Recursion Limit” number to “5” or another number which is a little bigger than 5 to reduce the rendering timeRay Recursion Limit: 5Rendering Time: 3m 43sRay Recursion Limit: 6Rendering Time: 8m 18sProcedureProcedureLoad a “well done” glass into modeler Load a “well done” glass into modeler ÆÆIn the glassIn the glass’’inter surface inter surface (air), select those (air), select those ““insideinside””polyspolysÆÆUse Use ““KnifeKnife””tool to cut out the tool to cut out the ““top of the liquidtop of the liquid””ÆÆMake Make a “meniscus” by using “smooth shift” if a “meniscus” by using “smooth shift” if necessary necessary ÆÆEdit Surfaces (glass & liquid) Edit Surfaces (glass & liquid) ÆÆLoad it in Layout and Load it in Layout and Render, done.Render, done.SummarySummaryReminder Reminder ----All kinds of liquid work exactly like the All kinds of liquid work exactly like the cranberry juicecranberry juice, but they , but they have different RI values (i.e. water, coffee=1.33; milk=1.35; have different RI values (i.e. water, coffee=1.33; milk=1.35; Beer=1.34; air=1.0)Beer=1.34; air=1.0)----Color: Use your eyeballsColor: Use your eyeballs----Set Set ““Reflection BlurringReflection Blurring””in some number, not be Zeroin some number, not be Zero----Lower the Lower the ““Ray Recursion LimitRay Recursion Limit””number, but NOT too small number, but NOT too smallNot Nice!This is something I have learned about how to present This is something I have learned about how to present the liquid in a glass. the liquid in a glass. Some useful websites I used:Some useful websites I used:htp://www.robinwood.comhtp://www.robinwood.comhttp://webreference.com/3d/lesson21/http://webreference.com/3d/lesson21/Hope this tutorial will give you some helps. Thank you!Hope this tutorial will give you some helps. Thank


View Full Document

Chico CSCI 140 - How to Present Liquid in the Glass

Download How to Present Liquid in the Glass
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view How to Present Liquid in the Glass and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view How to Present Liquid in the Glass 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?