ap vat lieu 2

Embed Size (px)

Citation preview

  • 7/27/2019 ap vat lieu 2

    1/10

    Material Tips and Tricks Part 2Chiu Thc Trong Material Quyn Trung.Lc dch: Arc NNNgun: khng nh trang no

    2.1. Self illumination mapVt liu t pht sng

    Just imagine how the lampshade's illumination looks like first. A self illumination mapcan be easily done with many layers of gradient ramp.Trc ht hy tng tng xem s chiu sng ca ci chao n trng nh th no.Mt vt liu t chiu sng c th d dng to ra vi nhiu lp gradient ramp.

  • 7/27/2019 ap vat lieu 2

    2/10

    1. Black and white cross hatch bitmap put on mix map and change the color for thelampshade's diffuse color.

    2. Gradient ramp map tree for self illumination maps.

    2.2. Fluorescent diffuser (light box)

    Hp n

  • 7/27/2019 ap vat lieu 2

    3/10

    We can create this map by using two layers of gradient ramp and putting in self-illumination maps.Dng 2 lp gradient ramp self- illumination map.

    2.3. Fake translucency using falloff map on self illumination mapDng falloff map cho self illumination map gi to translucency

    From Max help file: "Translucent shading is similar to Blinn shading, but it also letsyou specify translucency. A translucent object allows light to pass through, and alsoscatters light within the object. You can use translucency to simulate frosted and

    etched glass."Con Heo ca Max cho bit: Ch t bng Translucent shader ging ging cht bng Blinn, nhng cng cho bn to c s trong m. Mt vt th trong m chophp nh sng xuyn qua, v ri nh sng trong vt th. Bn c th dngtranslucency gi knh mi m.

  • 7/27/2019 ap vat lieu 2

    4/10

    Translucent shader

    There is an unwanted shadow appearing on the sphere which is the translucentshader or translucent color in the raytrace material. I have not yet found a solution tosolve this problem.Chng ta thy c mt ci bng khng mong mun xut hin trn qu cu mu khi pci vt liu dng translucent shader hoc translucent color trong raytrace material.Ti cha tm ra gii php x l vn ny (ni chuyn hu tin!).

    Fake Translucent, using falloff map (shadow and light) on self-illumination map inBlinn shader.Dng falloff map (shadow and light) cho self-illumination vi ch Blinn gi toTranslucent.

  • 7/27/2019 ap vat lieu 2

    5/10

    Though the effect of this falloff map is not as good as the real translucent shader, theeffect is still too closed and without the weird shadow appearing on the object.D vy hiu qu ca loi falloff map ny khng ngon nh tht cho lm, ci hiu quny cn qu hn ch v khng to c nhng ci bng huyn o xut hin trongvt th.

    An example of faking translucent, using falloff.Mt v d ca s trong m gi to dng falloff:

  • 7/27/2019 ap vat lieu 2

    6/10

  • 7/27/2019 ap vat lieu 2

    7/10

    1. Diffuse 2. Self illumination

    3. Opacity 4. Reflection

  • 7/27/2019 ap vat lieu 2

    8/10

    5. Refraction

    The beer bottles in the image are just small items compared with the whole scene,so it's non-sense if we put the material above for these as the rendering time aresurely super long. So, for these bottles, it's enough to put only the self illuminationand opacity map on them.Cc chai bia trong hnh chl mt phn nh ca khung cnh, v vy tht l phi l nuchng ta p vt liu trn cho chng render l li vlu. Th, nn ta chcnchi ci vt liu self illumination v opacity map l ri. (Khi no chthit k chaibia thi th mi phi tn cng cho n phi khng?)

    2.4. Vertex illuminationS chiu sng cc nh (vertex)

    The vertex illumination uses a similar technique as the vertex color on diffuse butinstead, we put this map on the self illumination map. The default color of vertex iswhite. So if we use the vertex color map for self illumination, we first need to changeall the vertex colors to be black.S chiu sng cho cc nh cng tng t nh k thut t mu cho cc nh,nhng chng ta s ch self illumination map (thay v diffuse). Mu ca vertex mcnh l mu trng, khi dng vertex color map self illumination, trc tin chng taphi i mu tt c cc vertex thnh mu en.

  • 7/27/2019 ap vat lieu 2

    9/10

    HT QUYN TRUNG

  • 7/27/2019 ap vat lieu 2

    10/10