I had to do some experimenting to get this working, so why not share that knowledge with all of you?
Modelling
Please note that the modelling is very basic and is only used here to support the shading. It is very similar to the glass modelling on the assistant site
1. Draw a curve that will outline ( in this case ) the bottle
2. give the bottle a thickness by offsetting the curve by -0.5 or so
3. select both curves and revolve (cfr. bottle1)botlle_1.zip
Shading
for shading I used a layered shader with the phong glass in one layer and a lambert in another. I'll elaborate....
1. create a layered shader
2. create a phong glass shader - there are some on the assist site, but if you mess around with the transparency and the refracion of a phong (E) you can make any glass you want, and after some cursing you will learn more from that ;-)
3. If your label (the paper you want to add to the bottle) has no alpha channel, add one in photoshop. The alpha channel will be used to mask the transparecny, so just add a black channel to your image and save as .tif
4. map the tif on the color of a lambert and connect the out alpha to the RGB of the transparency. You do that by shift + MMB it over the lambert icon or by opening the connection editor)(take a look at the hypergraph)botlle_2.zip
5. open up the layered shader and drag the phong and lambert in the swatches
6. in the place2d node of the file texture, mess around with the interactive placement and scale your label as you want (use the MMB)
7. assign the shader to the bottle
Rendering
1. add some light to your scene
2. tick on raytracing in your main light
3. tick on raytracing in your render globals
4. render away
take a look at the rudimentary final rendering, pretty crappy, but you'll get the idea. final.zip
As in all 3D, it takes a lot of tweeking and messing around to get the desired look. So, get a cup of coffee and start sliding those sliders... If you have questions or remarks, drop me a line at kmannens@aw.sgi.com
Modelling
Please note that the modelling is very basic and is only used here to support the shading. It is very similar to the glass modelling on the assistant site
1. Draw a curve that will outline ( in this case ) the bottle
2. give the bottle a thickness by offsetting the curve by -0.5 or so
3. select both curves and revolve (cfr. bottle1)botlle_1.zip
Shading
for shading I used a layered shader with the phong glass in one layer and a lambert in another. I'll elaborate....
1. create a layered shader
2. create a phong glass shader - there are some on the assist site, but if you mess around with the transparency and the refracion of a phong (E) you can make any glass you want, and after some cursing you will learn more from that ;-)
3. If your label (the paper you want to add to the bottle) has no alpha channel, add one in photoshop. The alpha channel will be used to mask the transparecny, so just add a black channel to your image and save as .tif
4. map the tif on the color of a lambert and connect the out alpha to the RGB of the transparency. You do that by shift + MMB it over the lambert icon or by opening the connection editor)(take a look at the hypergraph)botlle_2.zip
5. open up the layered shader and drag the phong and lambert in the swatches
6. in the place2d node of the file texture, mess around with the interactive placement and scale your label as you want (use the MMB)
7. assign the shader to the bottle
Rendering
1. add some light to your scene
2. tick on raytracing in your main light
3. tick on raytracing in your render globals
4. render away
take a look at the rudimentary final rendering, pretty crappy, but you'll get the idea. final.zip
As in all 3D, it takes a lot of tweeking and messing around to get the desired look. So, get a cup of coffee and start sliding those sliders... If you have questions or remarks, drop me a line at kmannens@aw.sgi.com
Page 1 of 1
Author: sdb1987
Submitted: 2005-09-07 19:17:53 UTC
Tags:
Software: Maya
Views: 74,255
Related Items
-
Small Spray Bottle 3D Model
$5.00 (USD) -
Mandala: A Stable Diffusion renderer 1.1.0 for Maya (maya plugin)
$89.00 (USD) -
F/A-18E 3D Model
$139.00 (USD) -
Nike Sports Drinking Bottle 3D Model
$29.90 (USD) -
LG KG800 Chocolate Black Label series 3D Model
$25.00 (USD) -
Wine Bottle/Glass 3D Model
$15.00 (USD) -
E-3 Sentry A.W.A.C.S. 3D Model
$28.00 (USD) -
F/A-22 A Raptor 3D Model
$32.00 (USD) -
S-47 Sukhoi F.A.V. 3D Model
$32.00 (USD)