Monday, 4 April 2011

Gun barrel

I need to create a gun barrel for my animation, first I draw a line in the top viewport, and change the length to 2000, then create a tube with radius1 to 54, radius2 to 50 and height to -2000, have the height segments 1 and 28 at the sides.
Then convert it to editable poly, select edge tool and click on the vertical edge, loop and ring select all of them, then chamfer them to 0.75. Select polygon, highlight all the faces of the tube and change the material ID to 1.










Select all the large faces that are inside the tube and use extrude to extrude the faces out about 0.8, then scale the faces, so is parallel and set their materiel ID to 2










Set up a free camera inside the tube, go to the motion panel, assign controller, position: position to path constraint and add the line to path.











Put a omni light at the end of the tube, go to the modify panel, turn on ray traced shadows, inverse decay, turn on the use, show for near and far attenuation. For near attenuation end at 52cm and far attenuation start at 52cm, end at 500cm and diffuse only.











Open material editor and select multi/sub-object, set number to 2, the first ID is black, second ID add a noise bump map with 1 value and raytrace to reflection with 40%, change the bump map effect to 0.1, then assign the material on the tube.

Go to the modifier panel and use the edge tool, select all the length edge, at the edit edges rollout, use connect and enter 80 to segments.










From the modifier list add twist to the tube and angle to -540, then add mesh smooth and smooth by group.











Reference:

cr8vcow
2009
Explosion Tutorial
http://www.viddler.com/explore/cr8vcow/videos/11/160/
[Internet]
[4/4/2011]

No comments:

Post a Comment