2010年3月24日 星期三

~SHADER in Maya~

This week , I learn more about shader, and now I want to share with you that there are some useful free shaders libaray on the websites, I've download some of them and I try to apply to some simple objects ,then I can see the effects.

I try to make changes for the shaders,then I get something very interesting~

Credits: There are the websites where I download those shaders for my assignment.(thx lot!)


(P.S. some of them are just aollow their members to download,so if you wish to get it,you need to join them.)


1.wooden shader:

the original one
chocolate liked one,i changed the node,and the color
sometimes, we can apply the same shader to different objects.

2.lava shader
original one



Ice cream liked shader... as the surface is rought,by changing the color, it looks like the ice cream.




Like the moon surface, very rought by adjusting the bump map deepth.




3. circlar pattern shader
original one

by changing the node (2d texture placement)
I got some illusion liked pattern.

something like the Rainbow candy...
4.glass shader


original one



eye con liked shader,I replaced the texture node as a "Checker", so in the eye con.I got some checker pattern.



the bubble liked shader, I can use the above shader to create my bubble shader.

5.eye ball shader
original one


this the watermelon liked shader,as I find the lines pattern like the one on the watermelon,so I change the color,and apply it on those objects, then it looks like the watermelon!




Also the lines can be some thread sew on the cloth, just like running stich.(the photo shown)

2010年3月17日 星期三

Modeling with Polygons and NURBS

I want to create 5 objects which I use daily and put them on my desk.

As I like to make some dolls , so on my desk, there are pin cushion, thread and a pair of scissors , this time I will also model my cup and pencils . By the following steps, I try to tell you how can I model those objects, and I show you my sketch work and the photos of those objects.
PIN CUSHION

Do the modeling in Maya2009, I started by get a NURBS sphere.
Part A
2.as there are edges around the pin cushion, use "Make the selected object live", then I can draw on the surface of the object.
3.press enter, the curve turn into cyan, now get a NURBS circle and select the cutve to choose Extrude. Now I have one edge of pin cushion, and I need to duplicate curve for the others edges.
Part B
4. The top of pin cushion: I get a cube, and choose "soft select" to move the shape, in order to get a smooth shape of the object. Then group the both part A &B.
Part C
Pins: I get a sphere for the top of a pin, and a cone for the bottom part,as a pin is very sharp, I scale the right size for that.

If the modle is fine, then assign a new Lambert for each part of pin cushion.

Thread roll

For this object I get a polygon Cylinder to build the basic shape.
1. to select the top part face, use extrude to create the middle part of the thread.
2.As the middle part is hollow, then I need to delete the top part of the cylinder.
3.the surface of the thread roll is covered by layers of thread,
so I will select "Make selecte object live" then draw on the surface of the thread roll.
4. get a NURBS circle first, then select the previous curve to Extrude the both items.

or

I make the surface of a thread roll by mapping , to upload the texture of the real thread roll,then map the image onto the object.

Scissors
to a pair of scissors, I start by getting a polygon cube

PartA (upper sharp part)
1. turn to component mode,adjust the vrtex to build the outline shape like the one in my sketch.
2.scale the size to make it fine. And mirror it to be another side.

Part B(handle smooth part)
1. get a cube and smooth it, the you have a basic shape of the plastic handle of the scissors.
2. then get a cylinder, select "Different" under Boolean, in order to create a hold of the plastic handle. Duplicate another side by Mirror.

(or there is another way to do that, use NURBS then edit NURBS by drawing a curve and project curve , follow by using the "Trim tool" to make a hold as the handle hold.)

To assign a materials to each part, upper sharp part is made by iron, ues "blinn".handle is made by plastic, so use "lambert" for it.

Pencils

to model a pencil is very simle,
first get a Polygon Cylinder with 6 subdivision Axis, then extrude the bottom part to make it sharp , also I find that to adjust the vertex, I can decorate the pen point.

well there are different kind of pencils, we can use bump map to decorate the surface of those pencils. As there are words printed on the top of pencils.
Also remember to assign a material to it.

Cup~
1. draw a curve by CV curve uder Create. Press enter the curve turn to cyan color.
2.now choose Revolve to get the cup's shape.
3. draw another curve, then get a NURBS circle, select the circle first and then select previous curve of the cup, to Extrude the both items.----now you get the handle of the cup.
4. to make it like the real, I use mapping to do that.
5.stick the bear cartoon image onto the cup by upload the image from file.
After that,I will delete history, and clear the scene, in order to reduce the file size.
And grouping is also important, as there are more than one object, if no names and group for each item, it will be a mess!







































































































































































2010年3月10日 星期三

Maya2009 Tutorials

1.How to make a lava lamp in Maya. http://www.3dtotal.com/tutorial/maya/creating_a_lava_lamp_in_maya/lava_lamp_07.php





In this tutorial is about how to create a lava lamp with different tools.The tutorial contains 8 pages, it shows every details of modeling, lighting and something about rendering.
Firstly, the tutorial begins with build models by using polygons. Then it teaches how to resize different parts by setting the divisons values. In order to make it smooth, mentions that we can select smooth tool under the Mesh. Also this tutorial shows how to set light, such as Point Light and Spot Light. By setting the intensity value we adjust the brightness of the lamp. Finally, it shows how to make texture like glass and liquid (Page 6)


I think throught this tutorial I learn more about modeling, and I can apply those skills in other scenes.For example, to create an jelly form object like the blobs inside the lamp, also modeling an Electric Cord is very useeful for us to make something like electrical appliance.






2.Create Fireworks Effects

http://www.cg.com.tw/online/video.asp?vr=HD&sw=Maya2009_Particles&sn=001&vw=960&vh=738&tt=Maya2009


This tutorial is mainly talking about how to use particles to generate afireworks performance. That's something that I haven't learnt before. The tutorial shows the whole work progress step by step.

Just click some buttons, you may see the amazing effective. To adjust the "Create Fireworks Effects Options" ,there are different forms of fireworks effects. I find that it is aneffeective way for us to create fireworks, as it's better than using keyframes to set the motion of fireworks.


I think it's easy to follow the steps in the tutorial,everyone can try that. Thus, I believe that we can apply the same skills to make something similar, such as snowing.



3. Modeling Coca Cola Bottle

http://www.cgarena.com/freestuff/tutorials/maya/cocacola/coca-cola_bottle.html





Form this tutorial, we can learn something about UV mapping,modeling and rendering. It mentions that in order to make the model look like the real one, we can set up an Image Plane for the side view in Maya, it will help you to trace outline of the bottle easily.

Using the EP curve to draw lines, then apply the revolve tool, you can get a specific shape like the coca cola bottle. Also in this tutorial, it will cover about the usage of edges,extrude, and the function of bump map in Maya. I think we can plaec the photo of object for mapping, and it can make our model looks like a real one.

Then I also know something about rendering, to adjust the render setting and we can control the quality of the render pictures.

Eventually, I think I can apply the above skills to my assignment,for example, I will use bump map to decorate my models(the roof of the temple, texture of a robot,etc).

If you want to know more , you can visit those Maya tutorials website:

http://www.3dtotal.com/, http://www.cg.com.tw/Maya/index.htm......