tag:blogger.com,1999:blog-70629115911276265372024-03-12T19:08:48.871-07:00best tutorial for allvolume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.comBlogger80125tag:blogger.com,1999:blog-7062911591127626537.post-79820660643678486222009-10-26T06:07:00.000-07:002009-10-26T06:09:07.228-07:00Modeling Plastic Water Bottle using autocadThis illustrated step by step tutorial provides instructions on creating a plastic water bottle. Follow the below steps for details.<br /><br />1) Open Inventor as shown in step one to nine in the following link - <a href="http://fastutorial.blogspot.com/2009/10/modeling-core-rod-extensions-using.html"><span style="font-weight: bold;">Core Rod Extension</span></a> - and draw a sketch as shown in <i><span style="color: blue;">Figure 1.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczihYeDUuI/AAAAAAAAAgw/8sd_YHpe0gs/s1600-h/figure1.jpg"><img style="cursor: pointer; width: 309px; height: 400px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczihYeDUuI/AAAAAAAAAgw/8sd_YHpe0gs/s400/figure1.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874323149771490" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 1.</span><br /><br />2) Now let us revolve the sketch. Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziulN1KFI/AAAAAAAAAho/n6AfegOK98E/s1600-h/figure100.jpg"><img style="cursor: pointer; width: 89px; height: 19px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziulN1KFI/AAAAAAAAAho/n6AfegOK98E/s400/figure100.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874549909694546" border="0" /></a> <img src="inventor/plastic-water-bottle/figure100.jpg" alt="" /> in <b><span style="color: red;">"Part Features"</span> </b>panel. When <b><span style="color: red;">"Revolve"</span></b> dialog box appears select <b><span style="color: red;">"Join"</span></b> option and <b><span style="color: red;">"Full"</span></b> from <b><span style="color: red;">"Extents"</span></b> panel and then select the axis as shown in <i><span style="color: blue;">Figure 2.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sczih-2MnRI/AAAAAAAAAg4/Mev1_awk5dY/s1600-h/figure2.jpg"><img style="cursor: pointer; width: 400px; height: 334px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sczih-2MnRI/AAAAAAAAAg4/Mev1_awk5dY/s400/figure2.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874333451590930" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 2.</span><br /><br />3) Now let us create shell on the part. Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziuyjMlDI/AAAAAAAAAhw/21OeCMl3AQU/s1600-h/figure101.jpg"><img style="cursor: pointer; width: 54px; height: 19px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziuyjMlDI/AAAAAAAAAhw/21OeCMl3AQU/s400/figure101.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874553488970802" border="0" /></a> <img src="inventor/plastic-water-bottle/figure101.jpg" alt="" /> button in <b><span style="color: red;">"Part Features"</span></b> panel. When <b><span style="color: red;">"Shell"</span></b> dialog box appears click on <b><span style="color: red;">"Shell"</span></b> tab and then select <b><span style="color: red;">"Inside"</span></b> and then specify thickness as 1.30 mm. You have to select the face that has to removed as shown in <i><span style="color: blue;">Figure 3</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sczihzi6TiI/AAAAAAAAAhA/BVHJWH1ZXvY/s1600-h/figure3.jpg"><img style="cursor: pointer; width: 400px; height: 289px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sczihzi6TiI/AAAAAAAAAhA/BVHJWH1ZXvY/s400/figure3.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874330417909282" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 3.</span><br /><br />4) Now let us add material to the part. Select <b><span style="color: red;">"Blue Clear"</span></b> from color style editor as shown in<br /><i><span style="color: blue;">Figure 4</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/ScziiAOhzHI/AAAAAAAAAhI/xfvuIxjV-uQ/s1600-h/figure4.jpg"><img style="cursor: pointer; width: 306px; height: 400px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/ScziiAOhzHI/AAAAAAAAAhI/xfvuIxjV-uQ/s400/figure4.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874333822078066" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 4.</span><br /><br />5) Now let us add <b><span style="color: red;">"Metal-Steel (Knurled)"</span></b> face color by right click on the face whose color we want to change and selecting <b><span style="color: red;">"Properties"</span></b> from the drop down list and then selecting the required color as shown in <i><span style="color: blue;">Figure 5</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziiRC6iDI/AAAAAAAAAhQ/_9HmwjOsdRU/s1600-h/figure5.jpg"><img style="cursor: pointer; width: 400px; height: 396px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScziiRC6iDI/AAAAAAAAAhQ/_9HmwjOsdRU/s400/figure5.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874338336770098" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 5.</span><br /><br />6) Now let us add thread neck of the bottle. Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczivOQfsLI/AAAAAAAAAh4/wk_7A2GMggY/s1600-h/figure102.jpg"><img style="cursor: pointer; width: 64px; height: 19px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczivOQfsLI/AAAAAAAAAh4/wk_7A2GMggY/s400/figure102.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874560926724274" border="0" /></a> <img src="inventor/plastic-water-bottle/figure102.jpg" alt="" /> button in <b><span style="color: red;">"Part Features"</span></b> panel. When <b><span style="color: red;">"Thread"</span></b> enter the parameters of the thread as shown in <i><span style="color: blue;">Figure 6</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScziuOcCnxI/AAAAAAAAAhY/cY33Jenf3pw/s1600-h/figure6.jpg"><img style="cursor: pointer; width: 400px; height: 293px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScziuOcCnxI/AAAAAAAAAhY/cY33Jenf3pw/s400/figure6.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874543795281682" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 6.</span><br /><br />7) We have finished modeling the plastic water bottle, the resultant water bottle would be as shown in <i><span style="color: blue;">Figure 7</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScziuFzSVEI/AAAAAAAAAhg/kO3-mU97xjM/s1600-h/figure7.jpg"><img style="cursor: pointer; width: 277px; height: 400px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScziuFzSVEI/AAAAAAAAAhg/kO3-mU97xjM/s400/figure7.jpg" alt="" id="BLOGGER_PHOTO_ID_5317874541476860994" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 7.</span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-9269432095109228802009-10-26T06:00:00.000-07:002009-10-26T06:02:46.424-07:00Sheet Metal using autocadThis step by step illustrated tutorial provides instruction on creating a basic sheet metal part. Follow the below steps for details.<br /><br />1) Open Inventor as shown in step one to nine in the following link - <a style="font-weight: bold;" href="http://fastutorial.blogspot.com/2009/10/modeling-core-rod-extensions-using.html" class="largeimage">Core Rod Extension</a> - and draw a rectangle as shown in <i><span style="color:blue;">Figure 1.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczOw1sz6XI/AAAAAAAAAbY/s1PRjrDoJgQ/s1600-h/figure1.jpg"><img style="cursor: pointer; width: 400px; height: 312px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczOw1sz6XI/AAAAAAAAAbY/s1PRjrDoJgQ/s400/figure1.jpg" alt="" id="BLOGGER_PHOTO_ID_5317852598461786482" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 1.</span><br /><br />2) Add constraint to the drawing with general dimension and then edit the dimension as shown in <i><span style="color:blue;">Figure 2.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcI6w3RI/AAAAAAAAAa4/XYF4xgCgXsY/s1600-h/figure2.jpg"><img style="cursor: pointer; width: 400px; height: 285px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcI6w3RI/AAAAAAAAAa4/XYF4xgCgXsY/s400/figure2.jpg" alt="" id="BLOGGER_PHOTO_ID_5317852242843327762" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 2.</span><br /><br />3) Now click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczR5xB7FGI/AAAAAAAAAcw/wx3KpIpfg-w/s1600-h/figure100.jpg"><img style="cursor: pointer; width: 128px; height: 17px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczR5xB7FGI/AAAAAAAAAcw/wx3KpIpfg-w/s400/figure100.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856050361865314" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure100.jpg" alt="" /> {<span style="color: rgb(0, 238, 0);"><i>Use the Styles tool on the Sheet Metal Features toolbar to manage the styles for a sheet metal part. The styles include material type and thickness, bend allowances, bend parameters, and corner relief parameters. Most of these parameters apply to the entire part. You can override some, such as the bend relief, corner relief and unfold methods, on individual features</i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Sheet Metal Styles"</span></b> dialog box appears it will be with default values as shown in <i><span style="color:blue;">Figure 3</span></i>. Let us change the value of thickness to 2.5 mm and change the material to <b><span style="color:red;">"Brass, Soft Yellow"</span></b> as shown in <i><span style="color:blue;">Figure 4</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcVZv4ZI/AAAAAAAAAbA/mjVBa655HKg/s1600-h/figure3.jpg"><img style="cursor: pointer; width: 400px; height: 229px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcVZv4ZI/AAAAAAAAAbA/mjVBa655HKg/s400/figure3.jpg" alt="" id="BLOGGER_PHOTO_ID_5317852246194512274" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 3.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOco5KqvI/AAAAAAAAAbI/KFR0VP6SUv4/s1600-h/figure4.jpg"><img style="cursor: pointer; width: 400px; height: 228px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOco5KqvI/AAAAAAAAAbI/KFR0VP6SUv4/s400/figure4.jpg" alt="" id="BLOGGER_PHOTO_ID_5317852251426564850" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 4.</span><br /><br />4) Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6Z-GOaI/AAAAAAAAAc4/v-fc1iaRcUY/s1600-h/figure101.jpg"><img style="cursor: pointer; width: 50px; height: 17px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6Z-GOaI/AAAAAAAAAc4/v-fc1iaRcUY/s400/figure101.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856061351672226" border="0" /></a><img src="http://www.blogger.com/inventor/sheet-metal/figure101.jpg" alt="" /> { <span style="color: rgb(0, 153, 0);"><i>A face is typically the base feature of a sheet metal part. To start, you sketch a profile that represents the shape of the face, and then you extrude it to create a face. When creating a sheet metal face, you can create a bend between a new face and an existing face. The faces are automatically trimmed or extended as necessary to create the bend. If the faces are parallel, but not coplanar, you can add a double bend. Depending on the distance between the faces, the bends are either trimmed so they are tangent or a new face is created between the two bends. You can also override default sheet metal styles from the Face dialog box as you create your sheet metal face. These settings include how a flat pattern unfolds, and the bend relief settings between faces.</i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Face"</span></b> dialog box appears click on <b><span style="color:red;">"Offset"</span></b> button as shown in <i><span style="color:blue;">Figure 5</span></i>. When finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcu6WRxI/AAAAAAAAAbQ/8bWcUQzQI-Y/s1600-h/figure5.jpg"><img style="cursor: pointer; width: 400px; height: 318px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczOcu6WRxI/AAAAAAAAAbQ/8bWcUQzQI-Y/s400/figure5.jpg" alt="" id="BLOGGER_PHOTO_ID_5317852253042132754" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 5.</span><br /><br />5) Now let us create flange. Click on <img src="http://www.blogger.com/inventor/sheet-metal/figure102.jpg" alt="" /> <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczR6sFbGxI/AAAAAAAAAdA/vd1IISTFY70/s1600-h/figure103.jpg"><img style="cursor: pointer; width: 53px; height: 18px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczR6sFbGxI/AAAAAAAAAdA/vd1IISTFY70/s400/figure103.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856066214238994" border="0" /></a> { <span style="color: rgb(0, 238, 0);"><i><span style="color: rgb(0, 153, 0);">Use the Flange tool on the Sheet Metal Features toolbar to add a sheet metal face and a bend to an existing sheet metal face. You can specify the depth and the angle of the flange, and whether it is created inside or outside the existing face. You can also specify the width or offset of the new flange.</span> </i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Flange"</span></b> dialog box appears click on <b><span style="color:red;">"Shape"</span></b> tab and enter 50 mm for <b><span style="color:red;">"Distance"</span></b> and 90.0 deg for <b><span style="color:red;">"Angle"</span></b> for <b><span style="color:red;">"Bend Radius"</span></b> as shown in <i><span style="color:blue;">Figure 6</span></i>. When finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczQCzNRrwI/AAAAAAAAAbg/81KRIu3qrPk/s1600-h/figure6.jpg"><img style="cursor: pointer; width: 400px; height: 310px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczQCzNRrwI/AAAAAAAAAbg/81KRIu3qrPk/s400/figure6.jpg" alt="" id="BLOGGER_PHOTO_ID_5317854006541922050" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 6.</span><br /><br />6) Now draw a rectangle on the sheet metal with the dimensions as shown in <i><span style="color:blue;">Figure 7</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczQDZWFJVI/AAAAAAAAAbo/pXDDJntuTos/s1600-h/figure7.jpg"><img style="cursor: pointer; width: 400px; height: 364px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczQDZWFJVI/AAAAAAAAAbo/pXDDJntuTos/s400/figure7.jpg" alt="" id="BLOGGER_PHOTO_ID_5317854016779396434" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 7.</span><br /><br />7) Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6rCh7WI/AAAAAAAAAdI/UIw3rv2Bvos/s1600-h/figure104.jpg"><img style="cursor: pointer; width: 94px; height: 18px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6rCh7WI/AAAAAAAAAdI/UIw3rv2Bvos/s400/figure104.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856065933667682" border="0" /></a><img src="http://www.blogger.com/inventor/sheet-metal/figure103.jpg" alt="" /> { <span style="color: rgb(0, 238, 0);"><i><span style="color: rgb(0, 153, 0);">A cut removes material from a sheet metal face. You sketch a profile on a sheet metal face and then cut through one or more faces. You can use iFeatures to create a library of punch shapes. Cut features can be used with the Design Element, Mirror, and Pattern tools. You can specify a distance for a cut or it can terminate on a face or work plane. In an assembly, the terminating face or work plane can be on another part. You can also create a cut across a sheet metal bend. Autodesk Inventor temporarily unfolds the sheet metal part so you can sketch the shape to cut on the unfolded face. The cut is correctly formed on the refolded part.</span> </i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Cut"</span></b> dialog box appears select the sketch and then select <b><span style="color:red;">"Distance"</span></b> and <b><span style="color:red;">"Thickness"</span></b> options from the drop down list in <b><span style="color:red;">"Extents" </span></b>panel and select the direction of cut as shown in <i><span style="color:blue;">Figure 8</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczQDezeajI/AAAAAAAAAbw/gcp7BGa7Xj4/s1600-h/figure8.jpg"><img style="cursor: pointer; width: 400px; height: 336px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczQDezeajI/AAAAAAAAAbw/gcp7BGa7Xj4/s400/figure8.jpg" alt="" id="BLOGGER_PHOTO_ID_5317854018244864562" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 8.</span><br /><br />8) Now let us create work plane -50 mm offset to <b><span style="color:red;">"XY"</span></b> plane. Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczR64wNqJI/AAAAAAAAAdQ/1ERs52-5bxw/s1600-h/figure105.jpg"><img style="cursor: pointer; width: 63px; height: 17px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczR64wNqJI/AAAAAAAAAdQ/1ERs52-5bxw/s400/figure105.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856069614938258" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure104.jpg" alt="" />button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. Clicking the <b><span style="color:red;">"Work Plane"</span></b> button select <b><span style="color:red;">"XY"</span></b> plane and new work plane would be created on <b><span style="color:red;">"XY"</span></b> plane drag the work plane to desired location and enter a distance of -50 mm in the Offset edit box. Click the check mark in the edit box to accept the preview and create the offset work plane as shown in <i><span style="color:blue;">Figure 9</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczQDdR6WsI/AAAAAAAAAb4/wMb0EwrHwwM/s1600-h/figure9.jpg"><img style="cursor: pointer; width: 346px; height: 400px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczQDdR6WsI/AAAAAAAAAb4/wMb0EwrHwwM/s400/figure9.jpg" alt="" id="BLOGGER_PHOTO_ID_5317854017835653826" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 9.</span><br /><br />9) Select new work plane and go to sketcher work bench. Draw a rectangle with dimensions as shown in <i><span style="color:blue;">Figure 10</span></i> after finished click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczSFo1lI6I/AAAAAAAAAdg/pYMmcSxog1g/s1600-h/figure106.jpg"><img style="cursor: pointer; width: 65px; height: 16px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczSFo1lI6I/AAAAAAAAAdg/pYMmcSxog1g/s400/figure106.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856254321042338" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure105.jpg" alt="" /> button to exit sketcher work bench.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczQD-mrhoI/AAAAAAAAAcA/rwDeBY4CSvU/s1600-h/figure10.jpg"><img style="cursor: pointer; width: 400px; height: 265px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczQD-mrhoI/AAAAAAAAAcA/rwDeBY4CSvU/s400/figure10.jpg" alt="" id="BLOGGER_PHOTO_ID_5317854026781132418" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 10.</span><br /><br />10) Now click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6Z-GOaI/AAAAAAAAAc4/v-fc1iaRcUY/s1600-h/figure101.jpg"><img style="cursor: pointer; width: 50px; height: 17px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczR6Z-GOaI/AAAAAAAAAc4/v-fc1iaRcUY/s400/figure101.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856061351672226" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure101.jpg" alt="" /> button and select the sketch as the profile as shown in <i><span style="color:blue;">Figure 11</span></i> when finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczRZBQicvI/AAAAAAAAAcI/mNdYFQ8yxQc/s1600-h/figure11.jpg"><img style="cursor: pointer; width: 400px; height: 362px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczRZBQicvI/AAAAAAAAAcI/mNdYFQ8yxQc/s400/figure11.jpg" alt="" id="BLOGGER_PHOTO_ID_5317855487782449906" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 11.</span><br /><br />11) Now let us create another work plane with an offset of -25 mm to the work plane created in <span style="color:green;">step 8</span> as shown in <i><span style="color:blue;">Figure 12</span></i>. {Follow the instruction given in step 8 to create an work plane}<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZdEXtGI/AAAAAAAAAcQ/KmEx_ATxAoc/s1600-h/figure12.jpg"><img style="cursor: pointer; width: 400px; height: 202px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZdEXtGI/AAAAAAAAAcQ/KmEx_ATxAoc/s400/figure12.jpg" alt="" id="BLOGGER_PHOTO_ID_5317855495247606882" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 12.</span><br /><br />12) Now pick the work plane and go to sketcher work bench by clicking on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczSGImS0HI/AAAAAAAAAdo/plVVQE2Y0f4/s1600-h/figure107.jpg"><img style="cursor: pointer; width: 61px; height: 19px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczSGImS0HI/AAAAAAAAAdo/plVVQE2Y0f4/s400/figure107.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856262846861426" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure106.jpg" alt="" /> button. Create a small rectangle a create <b><span style="color:red;">"Colinear Constraint"</span></b> by selecting the lines which causes selected lines to lie on the same line. Now select <b><span style="color:red;">"Face"</span></b> tool and select the sketch as profile as shown in <i><span style="color:blue;">Figure 13</span></i>, when finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZmw2r8I/AAAAAAAAAcY/Te-S_8n5dxQ/s1600-h/figure13.jpg"><img style="cursor: pointer; width: 400px; height: 333px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZmw2r8I/AAAAAAAAAcY/Te-S_8n5dxQ/s400/figure13.jpg" alt="" id="BLOGGER_PHOTO_ID_5317855497850105794" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 13.</span><br /><br />13) Now let us add flange to the sheet metal as shown in <i><span style="color:blue;">Figure 14</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczRZp9Q2GI/AAAAAAAAAcg/U_wQw7Ef6UQ/s1600-h/figure14.jpg"><img style="cursor: pointer; width: 400px; height: 293px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczRZp9Q2GI/AAAAAAAAAcg/U_wQw7Ef6UQ/s400/figure14.jpg" alt="" id="BLOGGER_PHOTO_ID_5317855498707458146" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 14.</span><br /><br />14) Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczSGTvFPWI/AAAAAAAAAdw/5iUQNy8XprQ/s1600-h/figure108.jpg"><img style="cursor: pointer; width: 113px; height: 18px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczSGTvFPWI/AAAAAAAAAdw/5iUQNy8XprQ/s400/figure108.jpg" alt="" id="BLOGGER_PHOTO_ID_5317856265836510562" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure107.jpg" alt="" /> button { <span style="color: rgb(0, 238, 0);"><i><span style="color: rgb(0, 153, 0);">You can create bends between sheet metal faces that are intersecting, at an angle, or parallel, but not coplanar. The model edges of the two sheet metal faces must be parallel to create a bend.</span> </i></span>} in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Bend"</span></b> dialog box appears enter 5 mm in <b><span style="color:red;">"Radius"</span></b> tab and select two edges as shown in <i><span style="color:blue;">Figure 15</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZkSSpKI/AAAAAAAAAco/IAjm5dKL684/s1600-h/figure15.jpg"><img style="cursor: pointer; width: 400px; height: 249px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/SczRZkSSpKI/AAAAAAAAAco/IAjm5dKL684/s400/figure15.jpg" alt="" id="BLOGGER_PHOTO_ID_5317855497185043618" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 15.</span><br /><br />15) Now let us add one bend with 10 mm radius by picking the edges as shown in <i><span style="color:blue;">Figure 16</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVR0wzXAI/AAAAAAAAAeI/KHB2MwfvS_w/s1600-h/figure16.jpg"><img style="cursor: pointer; width: 400px; height: 397px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVR0wzXAI/AAAAAAAAAeI/KHB2MwfvS_w/s400/figure16.jpg" alt="" id="BLOGGER_PHOTO_ID_5317859762215541762" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 16.</span><br /><br />16) Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczXg-aXbYI/AAAAAAAAAfw/_snzN-FpDZQ/s1600-h/figure108.jpg"><img style="cursor: pointer; width: 113px; height: 18px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczXg-aXbYI/AAAAAAAAAfw/_snzN-FpDZQ/s400/figure108.jpg" alt="" id="BLOGGER_PHOTO_ID_5317862221527084418" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure108.jpg" alt="" /> { <span style="color: rgb(0, 238, 0);"><i><span style="color: rgb(0, 153, 0);">Use the Corner Chamfer tool on the Sheet Metal Features toolbar to add chamfers to one or more corners of a sheet metal part. You can create chamfers defined by a single distance, a distance and angle, or two distances. All chamfers created in a single operation are one feature</span> </i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Corner Chamfer"</span></b> dialog box appears enter 10 mm for distance and select two edges as shown in <i><span style="color:blue;">Figure 17</span></i>. When finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczVStPFf-I/AAAAAAAAAeQ/clQn5MKoL5A/s1600-h/figure17.jpg"><img style="cursor: pointer; width: 400px; height: 328px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczVStPFf-I/AAAAAAAAAeQ/clQn5MKoL5A/s400/figure17.jpg" alt="" id="BLOGGER_PHOTO_ID_5317859777374945250" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 17.</span><br /><br />17) Click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczXhPf7ZXI/AAAAAAAAAf4/AeONrV_imUU/s1600-h/figure109.jpg"><img style="cursor: pointer; width: 100px; height: 18px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczXhPf7ZXI/AAAAAAAAAf4/AeONrV_imUU/s400/figure109.jpg" alt="" id="BLOGGER_PHOTO_ID_5317862226113815922" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure109.jpg" alt="" /> { <span style="color: rgb(0, 238, 0);"><i><span style="color: rgb(0, 153, 0);">Use the Corner Round tool on the Sheet Metal Features toolbar to</span> <span style="color: rgb(0, 153, 0);">add fillets or rounds to one or more corners of a sheet metal part. All fillets and rounds created in a single operation are one feature</span> </i></span>} button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Corner Round"</span></b> dialog box appears enter 25 mm as the radius and select the corners to rounded as shown in <i><span style="color:blue;">Figure 18</span></i>. When finished click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczVS9n6vGI/AAAAAAAAAeY/CIlpMjueSes/s1600-h/figure18.jpg"><img style="cursor: pointer; width: 400px; height: 392px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczVS9n6vGI/AAAAAAAAAeY/CIlpMjueSes/s400/figure18.jpg" alt="" id="BLOGGER_PHOTO_ID_5317859781774064738" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 18.</span><br /><br />18) Now let us create holes. To create a hole we have to create center points on the face of the flange as shown in <i><span style="color:blue;">Figure 19</span></i>. Now click on <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczXmppNSjI/AAAAAAAAAgA/zrIStee-KmE/s1600-h/figure110.jpg"><img style="cursor: pointer; width: 74px; height: 17px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczXmppNSjI/AAAAAAAAAgA/zrIStee-KmE/s400/figure110.jpg" alt="" id="BLOGGER_PHOTO_ID_5317862319031405106" border="0" /></a> <img src="http://www.blogger.com/inventor/sheet-metal/figure110.jpg" alt="" /> button in <b><span style="color:red;">"Sheet Metal Features"</span></b> panel. When <b><span style="color:red;">"Hole"</span></b> dialog box appears select the center points that we created as the <b><span style="color:red;">"Placement"</span></b> and enter 15 mm for hole diameter as shown in <i><span style="color:blue;">Figure 20</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVS77DaWI/AAAAAAAAAeg/WpMm-VYnoDY/s1600-h/figure19.jpg"><img style="cursor: pointer; width: 400px; height: 382px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVS77DaWI/AAAAAAAAAeg/WpMm-VYnoDY/s400/figure19.jpg" alt="" id="BLOGGER_PHOTO_ID_5317859781317454178" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 19.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVS3dDHnI/AAAAAAAAAeo/kkeFCdRyI1g/s1600-h/figure20.jpg"><img style="cursor: pointer; width: 400px; height: 276px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczVS3dDHnI/AAAAAAAAAeo/kkeFCdRyI1g/s400/figure20.jpg" alt="" id="BLOGGER_PHOTO_ID_5317859780117864050" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 20.</span><br /><br />19) In the same way as explained above let us create center point in as shown in <i><span style="color:blue;">Figure 21</span></i> and then create hole with 25 mm diameter as shown in <i><span style="color:blue;">Figure 22</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczbKfps0VI/AAAAAAAAAgI/ZklOwTpbLj8/s1600-h/figure21.jpg"><img style="cursor: pointer; width: 400px; height: 399px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczbKfps0VI/AAAAAAAAAgI/ZklOwTpbLj8/s400/figure21.jpg" alt="" id="BLOGGER_PHOTO_ID_5317866233359290706" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 21.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczbKpBLHQI/AAAAAAAAAgQ/LhrtiBjssWQ/s1600-h/figure22.jpg"><img style="cursor: pointer; width: 400px; height: 348px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/SczbKpBLHQI/AAAAAAAAAgQ/LhrtiBjssWQ/s400/figure22.jpg" alt="" id="BLOGGER_PHOTO_ID_5317866235873664258" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 22.</span><br /><br />20) Finally let is create the holes after creating the center points as shown in <i><span style="color:blue;">Figure 23</span></i>. With center points as the reference let us create holes with 3 mm diameter as shown in <i><span style="color:blue;">Figure 24</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczbK-gwmBI/AAAAAAAAAgY/XgDFFr8GYJ0/s1600-h/figure23.jpg"><img style="cursor: pointer; width: 365px; height: 400px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczbK-gwmBI/AAAAAAAAAgY/XgDFFr8GYJ0/s400/figure23.jpg" alt="" id="BLOGGER_PHOTO_ID_5317866241643288594" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 23.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczbKxV87jI/AAAAAAAAAgg/7hOPcNjuCLw/s1600-h/figure24.jpg"><img style="cursor: pointer; width: 400px; height: 373px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/SczbKxV87jI/AAAAAAAAAgg/7hOPcNjuCLw/s400/figure24.jpg" alt="" id="BLOGGER_PHOTO_ID_5317866238108298802" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 24.</span><br /><br />21) That is it we have finished creating the sheet metal part as shown in <i><span style="color:blue;">Figure 25</span></i>. Let us save the part.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczbK-xn7uI/AAAAAAAAAgo/s2KOdjC-0nQ/s1600-h/figure25.jpg"><img style="cursor: pointer; width: 400px; height: 223px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/SczbK-xn7uI/AAAAAAAAAgo/s2KOdjC-0nQ/s400/figure25.jpg" alt="" id="BLOGGER_PHOTO_ID_5317866241714024162" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 25.</span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-51139707653178399612009-10-26T05:53:00.000-07:002009-10-26T06:00:11.351-07:00Modeling Core Rod Extensions using autocadThis illustrated step by step tutorial provides instruction on creating the base part used in a Core Rod Extensions. Follow the steps as shown below:<br /><br />1) Open Inventor 11 by double clicking the Icon on your desktop, and a dialogue box opens up, similar to the one shown below.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4k2SbcS7I/AAAAAAAAA9A/aULIvYM0LfQ/s1600-h/figure1.jpg"><img style="cursor: pointer; width: 400px; height: 321px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4k2SbcS7I/AAAAAAAAA9A/aULIvYM0LfQ/s400/figure1.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228725049609138" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 1.</span><br /><br />2) Click <span style="color:blue;"><b>"Projects"</b></span> icon from the list as shown in <i><span style="color:blue;">Figure 2.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3F013_I/AAAAAAAAA9I/rilBJaG0YV8/s1600-h/figure2.jpg"><img style="cursor: pointer; width: 66px; height: 73px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3F013_I/AAAAAAAAA9I/rilBJaG0YV8/s400/figure2.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228738846351346" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 2.</span><br /><br />3) Click "New" icon as shown in <i><span style="color:blue;">Figure 3</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3OUIBaI/AAAAAAAAA9Q/z3CAhDAef4U/s1600-h/figure3.jpg"><img style="cursor: pointer; width: 400px; height: 276px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3OUIBaI/AAAAAAAAA9Q/z3CAhDAef4U/s400/figure3.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228741125047714" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 3.</span><br /><br />4) When <span style="color:blue;"><b>"Inventor Project Wizard"</b></span> dialog box appears select <span style="color:blue;"><b>"New Single User Project"</b></span> radio button and click next as shown in <i><span style="color:blue;">Figure 4.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3OAPxwI/AAAAAAAAA9Y/Ncgpw1Dc-pw/s1600-h/figure4.jpg"><img style="cursor: pointer; width: 400px; height: 340px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3OAPxwI/AAAAAAAAA9Y/Ncgpw1Dc-pw/s400/figure4.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228741041669890" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 4.</span><br /><br />5) Now let us name the project as <span style="color:blue;"><b>"Core Rod Extensions"</b></span> and save the file in a location as per our convenience, as shown in <span style="color:blue;"><i>Figure 5</i></span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3Xp7BgI/AAAAAAAAA9g/ueR1pUQbDCE/s1600-h/figure5.jpg"><img style="cursor: pointer; width: 400px; height: 275px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4k3Xp7BgI/AAAAAAAAA9g/ueR1pUQbDCE/s400/figure5.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228743632389634" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 5.</span><br /><br />6) Now select libraries and click finish button as shown in <span style="color:blue;"><i>Figure 6</i></span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCfR9g7I/AAAAAAAAA9o/1zsbFrAxT_w/s1600-h/figure6.jpg"><img style="cursor: pointer; width: 400px; height: 276px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCfR9g7I/AAAAAAAAA9o/1zsbFrAxT_w/s400/figure6.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228934657934258" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 6.</span><br /><br />7) Now select <span style="color:blue;"><b>"Core Rod Extensions"</b></span> as default project, as shown <i><span style="color:blue;">Figure 7</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCrgZxUI/AAAAAAAAA9w/AI-TsB_bdBQ/s1600-h/figure7.jpg"><img style="cursor: pointer; width: 400px; height: 276px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCrgZxUI/AAAAAAAAA9w/AI-TsB_bdBQ/s400/figure7.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228937939731778" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 7.</span><br /><br />8) Now click <span style="color:blue;"><b>"New"</b></span> icon and select <span style="color:blue;"><b>"Standard.ipt"</b></span> icon from <span style="color:blue;"><b>"Default"</b></span> tab in <span style="color:blue;"><b>"New File - Choose a template to create a new file"</b></span> dialogue box as shown in <span style="color:blue;"><i>Figure 8</i></span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCtGiSwI/AAAAAAAAA94/3KTdarzYZ_Q/s1600-h/figure8.jpg"><img style="cursor: pointer; width: 400px; height: 276px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCtGiSwI/AAAAAAAAA94/3KTdarzYZ_Q/s400/figure8.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228938368109314" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 8.</span><br /><br />9) When the project opens select <span style="color:blue;"><b>"Project Geometry"</b></span> from panel bar and select drawing area as shown in <span style="color:blue;"><i>Figure 9</i></span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCvAg1zI/AAAAAAAAA-A/5zj6h4qtA48/s1600-h/figure9.jpg"><img style="cursor: pointer; width: 400px; height: 322px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCvAg1zI/AAAAAAAAA-A/5zj6h4qtA48/s400/figure9.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228938879719218" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 9.</span><br /><br />10) Draw a sketch as shown in <i><span style="color:blue;">figure 10</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCth0tbI/AAAAAAAAA-I/gRixgcTcLjY/s1600-h/figure10.jpg"><img style="cursor: pointer; width: 400px; height: 103px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4lCth0tbI/AAAAAAAAA-I/gRixgcTcLjY/s400/figure10.jpg" alt="" id="BLOGGER_PHOTO_ID_5318228938482562482" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 10.</span><br /><br />11) Now create chamfer of 0.03X45 deg as shown in <i><span style="color:blue;">Figure 11.</span></i><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsFWyUsI/AAAAAAAAA-Q/v9nsHDzC89k/s1600-h/figure11.jpg"><img style="cursor: pointer; width: 400px; height: 219px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsFWyUsI/AAAAAAAAA-Q/v9nsHDzC89k/s400/figure11.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236246323122882" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 11.</span><br /><br />12) Now add constraint to the sketch with general dimension and then edit the dimensions as shown in <i><span style="color:blue;">Figure 12</span></i> and click <span style="color:blue;"><b>"Return"</b></span> button in the toolbar as shown in <i><span style="color:blue;">Figure 13</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsTDlqmI/AAAAAAAAA-Y/M2wrQyMOk2k/s1600-h/figure12.jpg"><img style="cursor: pointer; width: 400px; height: 259px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsTDlqmI/AAAAAAAAA-Y/M2wrQyMOk2k/s400/figure12.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236250000697954" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 12.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsU8BhWI/AAAAAAAAA-g/e6UJ7dxlTvM/s1600-h/figure13.jpg"><img style="cursor: pointer; width: 313px; height: 115px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsU8BhWI/AAAAAAAAA-g/e6UJ7dxlTvM/s400/figure13.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236250505839970" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 13.</span><br /><br />13) Then select <span style="color:blue;"><b>"Isometric view"</b></span> by pressing F6 button in the keyboard, and the view would change and would appear as shown in <i><span style="color:blue;">Figure 14</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsXgVnoI/AAAAAAAAA-o/QAK2Md4MMtk/s1600-h/figure14.jpg"><img style="cursor: pointer; width: 400px; height: 323px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsXgVnoI/AAAAAAAAA-o/QAK2Md4MMtk/s400/figure14.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236251195022978" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 14.</span><br /><br />14) Now select <span style="color:blue;"><b>"Revovle"</b></span> tool by clicking the icon from <span style="color:blue;"><b>"Part Features"</b></span> panel as shown in <i><span style="color:blue;">Figure 15</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsfp2nxI/AAAAAAAAA-w/n4TubSDC_l4/s1600-h/figure15.jpg"><img style="cursor: pointer; width: 232px; height: 399px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4rsfp2nxI/AAAAAAAAA-w/n4TubSDC_l4/s400/figure15.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236253382418194" border="0" /></a><br /><span style="font-style: italic; font-weight: bold; color: rgb(51, 51, 255);">Figure 15.</span><br /><br />15) Now pick the axis and set the revolve to full and click ok as shown in <i><span style="color:blue;">Figure 16</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4r-j3SroI/AAAAAAAAA-8/GH26l2kq69E/s1600-h/figure16.jpg"><img style="cursor: pointer; width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4r-j3SroI/AAAAAAAAA-8/GH26l2kq69E/s400/figure16.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236563750170242" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 16.</span><br /><br />16) The resultant part would be as shown in <i><span style="color:blue;">Figure 17</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_dUJGhI/AAAAAAAAA_E/aEn6CxHmA-A/s1600-h/figure17.jpg"><img style="cursor: pointer; width: 400px; height: 278px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_dUJGhI/AAAAAAAAA_E/aEn6CxHmA-A/s400/figure17.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236579171998226" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 17.</span><br /><br />17) Now let us click on bottom side of the core rod extension as we are now going to create a sketch on it as shown in <i><span style="color:blue;">Figure 18</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_Qm6sBI/AAAAAAAAA_M/h_yjbHA2YbQ/s1600-h/figure18.jpg"><img style="cursor: pointer; width: 257px; height: 221px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_Qm6sBI/AAAAAAAAA_M/h_yjbHA2YbQ/s400/figure18.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236575761084434" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 18.</span><br /><br />18) As shown in <i><span style="color:blue;">Figure 19</span></i> add a circle and centerline and set the diameter of the circle to 2.25 inch as shown in.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_qu5rEI/AAAAAAAAA_U/RhIdFyG1E3s/s1600-h/figure19.jpg"><img style="cursor: pointer; width: 394px; height: 322px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_qu5rEI/AAAAAAAAA_U/RhIdFyG1E3s/s400/figure19.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236582773894210" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 19.</span><br /><br />19) Now create one more circle on the circumference of the circle with dimensions as shown in <i><span style="color:blue;">Figure 20</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_qrArfI/AAAAAAAAA_c/SwPhhJLd0c0/s1600-h/figure20.jpg"><img style="cursor: pointer; width: 400px; height: 335px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4r_qrArfI/AAAAAAAAA_c/SwPhhJLd0c0/s400/figure20.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236582757576178" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 20.</span><br /><br />20) Now select <span style="color:blue;"><b>"Extrude"</b></span> tool from <span style="color:blue;"><b>"Part Features"</b></span> panel as shown in <i><span style="color:blue;">Figure 21</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sJ4KNCaI/AAAAAAAAA_k/0heSI8sgNVs/s1600-h/figure21.jpg"><img style="cursor: pointer; width: 231px; height: 399px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sJ4KNCaI/AAAAAAAAA_k/0heSI8sgNVs/s400/figure21.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236758176762274" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 21.</span><br /><br />21) When <span style="color:blue;"><b>"Extrude"</b></span> dialog box appears enter the parameters as shown in <i><span style="color:blue;">Figure 22</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sKPLE_II/AAAAAAAAA_s/k5TeD6srRHw/s1600-h/figure22.jpg"><img style="cursor: pointer; width: 400px; height: 332px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sKPLE_II/AAAAAAAAA_s/k5TeD6srRHw/s400/figure22.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236764354444418" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 22.</span><br /><br />22) After creating <span style="color:blue;"><b>"Extrude"</b></span> cut let us create thread in the hole. Let us select <span style="color:blue;"><b>"Thread"</b></span> tool from <span style="color:blue;"><b>"Part Features"</b></span> panel as shown in <i><span style="color:blue;">Figure 23</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sKgTaxrI/AAAAAAAAA_0/eMuVk13aMro/s1600-h/figure23.jpg"><img style="cursor: pointer; width: 232px; height: 397px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sKgTaxrI/AAAAAAAAA_0/eMuVk13aMro/s400/figure23.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236768952829618" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 23.</span><br /><br />23) When <span style="color:blue;"><b>"Thread"</b></span> tool dialog box appears, under <span style="color:blue;"><b>"Specifications"</b></span> tab select <span style="color:blue;"><b>"ANSI Unified Screw Threads"</b></span> as <span style="color:blue;"><b>"Thread Type"</b></span> and set the parameters for <span style="color:blue;"><b>"Size"</b></span>, <span style="color:blue;"><b>"Designation"</b></span> and <span style="color:blue;"><b>"Class"</b></span> as shown in <i><span style="color:blue;">Figure 24</span></i> and click ok.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sK0qdl1I/AAAAAAAAA_8/p326n4d4h-o/s1600-h/figure24.jpg"><img style="cursor: pointer; width: 400px; height: 345px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sK0qdl1I/AAAAAAAAA_8/p326n4d4h-o/s400/figure24.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236774418192210" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 24.</span><br /><br />24) Now let us select <span style="color:blue;"><b>"Circular Pattern"</b></span> tool from <span style="color:blue;"><b>"Part Features"</b></span> panel as shown in <i><span style="color:blue;">Figure 25</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4sLFGFnKI/AAAAAAAABAE/zzwcwXSw1k8/s1600-h/figure25.jpg"><img style="cursor: pointer; width: 232px; height: 370px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4sLFGFnKI/AAAAAAAABAE/zzwcwXSw1k8/s400/figure25.jpg" alt="" id="BLOGGER_PHOTO_ID_5318236778829028514" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 25.</span><br /><br />25) When <span style="color:blue;"><b>"Circular Pattern"</b></span> dialog box appears select X axis as the direction of <span style="color:blue;"><b>"Circular Pattern" </b></span>and select <span style="color:blue;"><b>"Extrusion Cut"</b></span> and <span style="color:blue;"><b>"Thread"</b></span> as the feature which is to be patterned as shown in <i><span style="color:blue;">Figure 26</span></i>. Now enter the parameters <span style="color:blue;"><b>"Placement"</b></span> as shown in <i><span style="color:blue;">Figure 27</span></i>. Before clicking ok you see the preview which would be displayed on the model as shown in <i><span style="color:blue;">Figure 28</span></i>. If you feel everything is fine then click OK.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4saiOC4OI/AAAAAAAABAM/-jnlDRVd37k/s1600-h/figure26.jpg"><img style="cursor: pointer; width: 231px; height: 321px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4saiOC4OI/AAAAAAAABAM/-jnlDRVd37k/s400/figure26.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237044345069794" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 26.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4sayUHvSI/AAAAAAAABAU/O2xVre1T1e4/s1600-h/figure27.jpg"><img style="cursor: pointer; width: 286px; height: 195px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4sayUHvSI/AAAAAAAABAU/O2xVre1T1e4/s400/figure27.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237048665521442" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 27.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4sa2vsUBI/AAAAAAAABAc/NrAIQO_6Vjs/s1600-h/figure28.jpg"><img style="cursor: pointer; width: 365px; height: 383px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4sa2vsUBI/AAAAAAAABAc/NrAIQO_6Vjs/s400/figure28.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237049854906386" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 28.</span><br /><br />26) Now let us create threaded hole on other side of the core rod extension. Let us create a working plane on the other side of the rod by selecting <span style="color:blue;"><b>"Offset Working Plane"</b></span> icon as shown in <i><span style="color:blue;">Figure 29</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4sbGNigrI/AAAAAAAABAk/lz5GcGQyKFA/s1600-h/figure29.jpg"><img style="cursor: pointer; width: 235px; height: 398px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/Sc4sbGNigrI/AAAAAAAABAk/lz5GcGQyKFA/s400/figure29.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237054006624946" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 29.</span><br /><br />27) When <span style="color:blue;"><b>"Offset"</b></span> dialog box appears enter <span style="color:blue;"><b>"17"</b></span> as the value for the distance of offset as shown in <i><span style="color:blue;">Figure 30</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4sbKZHkMI/AAAAAAAABAs/j9XBLhEsjtc/s1600-h/figure30.jpg"><img style="cursor: pointer; width: 400px; height: 284px;" src="http://4.bp.blogspot.com/_xjwfqLoi7Is/Sc4sbKZHkMI/AAAAAAAABAs/j9XBLhEsjtc/s400/figure30.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237055128932546" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 30.</span><br /><br />28) Now let us select <span style="color:blue;"><b>"Hole"</b></span> tool from <span style="color:blue;"><b>"Part Features"</b></span> panel as shown in <i><span style="color:blue;">Figure 31</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4slfzP1zI/AAAAAAAABA0/EYWRact2KZA/s1600-h/figure31.jpg"><img style="cursor: pointer; width: 234px; height: 384px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4slfzP1zI/AAAAAAAABA0/EYWRact2KZA/s400/figure31.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237232674363186" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 31.</span><br /><br />29) When <span style="color:blue;"><b>"Hole"</b></span> dialog box appears enter the parameters as shown in <i><span style="color:blue;">Figure 32</span></i> and the preview of the hole would be as shown in <i><span style="color:blue;">Figure 33</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sluEyioI/AAAAAAAABA8/7cKzaIbUmXc/s1600-h/figure32.jpg"><img style="cursor: pointer; width: 382px; height: 400px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4sluEyioI/AAAAAAAABA8/7cKzaIbUmXc/s400/figure32.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237236506036866" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 32.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4sly5CSNI/AAAAAAAABBE/2rVnZRucVcA/s1600-h/figure33.jpg"><img style="cursor: pointer; width: 281px; height: 303px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/Sc4sly5CSNI/AAAAAAAABBE/2rVnZRucVcA/s400/figure33.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237237798914258" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 33.</span><br /><br />30) The resultant <span style="color:blue;"><b>"Core Rod Extension"</b></span> part would be as shown in <i><span style="color:blue;">Figure 34</span></i>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4smWxPMUI/AAAAAAAABBM/TiF6uR20B4s/s1600-h/figure34.jpg"><img style="cursor: pointer; width: 400px; height: 277px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/Sc4smWxPMUI/AAAAAAAABBM/TiF6uR20B4s/s400/figure34.jpg" alt="" id="BLOGGER_PHOTO_ID_5318237247429882178" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 34.</span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-49733257384761737752009-10-26T05:52:00.000-07:002009-10-26T05:53:09.396-07:00How to create Multi Colored Line using autocadWe all know that it is not possible to create a multi colored line in AutoCAD. I have found a way to create the same. This tutorial shows how it can be done in a detailed way with images. {This tutorials was by <span class="small"><a href="http://www.3dcadforums.com/member-ricky.html">Ricky</a> on 14 Nov 2006}</span><br /><br />1) After opening AutoCAD click Format menu. As shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 1</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSUkKDXBI/AAAAAAAAAUI/8o-13XsKZiM/s1600-h/format_menu.jpg"><img style="cursor: pointer; width: 200px; height: 230px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSUkKDXBI/AAAAAAAAAUI/8o-13XsKZiM/s400/format_menu.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504667041881106" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 1.</span><br /><br />2) Click Multiline Style in the Format menu. As shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 2</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSU8zKkuI/AAAAAAAAAUQ/605-NAePOeQ/s1600-h/format_menu_multilinestyle.jpg"><img style="cursor: pointer; width: 220px; height: 356px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSU8zKkuI/AAAAAAAAAUQ/605-NAePOeQ/s400/format_menu_multilinestyle.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504673656771298" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 2.</span><br /><br />3) A dailogue box appears as shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 3</span>. Enter a name in "<span style="font-style: italic; color: rgb(255, 0, 0);">New Style Name:</span>" tab. I have named it as Ricky.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScuSVYxSrZI/AAAAAAAAAUY/TWd-yKJoePU/s1600-h/multilinestyle_dailogueboxnewname.jpg"><img style="cursor: pointer; width: 336px; height: 150px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScuSVYxSrZI/AAAAAAAAAUY/TWd-yKJoePU/s400/multilinestyle_dailogueboxnewname.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504681165106578" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 3.</span><br /><br />4) After clicking continue "<span style="font-style: italic; color: rgb(255, 0, 0);">New Multiline Style</span>" dailogue box opens as shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 4</span>. Enter a description in the description tab.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSVh_fNCI/AAAAAAAAAUg/ImYHcdx2dAo/s1600-h/multilinestyle_description.jpg"><img style="cursor: pointer; width: 400px; height: 290px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSVh_fNCI/AAAAAAAAAUg/ImYHcdx2dAo/s400/multilinestyle_description.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504683640566818" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 4.</span><br /><br />5) Select a layer from elements section and then make offset as zero for the element and set the color to yellow. Now load different linetype for the element for this case it would be <span style="font-style: italic; color: rgb(255, 0, 0);">DASHED</span>. As shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 5</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSWGoNoPI/AAAAAAAAAUo/MoST3ZrfUPw/s1600-h/multilinestyle_linetype1.jpg"><img style="cursor: pointer; width: 400px; height: 295px;" src="http://3.bp.blogspot.com/_xjwfqLoi7Is/ScuSWGoNoPI/AAAAAAAAAUo/MoST3ZrfUPw/s400/multilinestyle_linetype1.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504693475057906" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 5.</span><br /><br />6) Repeat the same proceedure for other element as instructed above with few changes like, let us set the color to blue and load the linetype as <span style="font-style: italic; color: rgb(255, 0, 0);">HIDDEN</span>. AS shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 6</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScuShrBmigI/AAAAAAAAAUw/omTRH6Eqa-Y/s1600-h/multilinestyle_linetype2.jpg"><img style="cursor: pointer; width: 400px; height: 295px;" src="http://2.bp.blogspot.com/_xjwfqLoi7Is/ScuShrBmigI/AAAAAAAAAUw/omTRH6Eqa-Y/s400/multilinestyle_linetype2.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504892223785474" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 6.</span><br /><br />7) Accept and set the multiline as current. Now you can draw a multi colored line by executing <span style="font-style: italic; color: rgb(255, 0, 0);">MLINE</span> command. The line will be as shown in <span style="font-style: italic; color: rgb(51, 51, 255);">Figure 7</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScuSiYF-LYI/AAAAAAAAAU4/KnG6uNuioQ0/s1600-h/multicoloredline.jpg"><img style="cursor: pointer; width: 324px; height: 181px;" src="http://1.bp.blogspot.com/_xjwfqLoi7Is/ScuSiYF-LYI/AAAAAAAAAU4/KnG6uNuioQ0/s400/multicoloredline.jpg" alt="" id="BLOGGER_PHOTO_ID_5317504904321707394" border="0" /></a><br /><span style="font-weight: bold; font-style: italic; color: rgb(51, 51, 255);">Figure 7.</span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-33339927783897213712009-10-26T05:44:00.000-07:002009-10-26T05:50:44.089-07:00PSD to HTML Tutorial using dreamweaver<p>Good evening welcome to another tutorial by the hv team, in todays tutorial il be showing you how to slice and dice the dark layout #2 PSD into a working template.</p> <p><span id="more-1448"></span></p> <p>Right lets get started, the first thing you need to do is create a new folder on your desktop called dark layout, inside this folder you need three more folders “images”, “js” and “styles”. Inside the “styles” folder create two blank CSS files “style.css” and “ie.css”, then in the main folder create your blank HTML file “index.html”.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step1.gif" alt="Step1" height="448" width="456" /></p> <p>The “js” folder will remain empty untill we come to our jquery jflow slider towards the end of the tutorial. The next part we need to tackle are our image slices, the first slice your going to need to make is for our background. (all images are .png files on a transparent backgrounds).</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step2.gif" alt="Step2" height="400" width="600" /></p> <p>You dont need to slice a big part of the bits that will be repeated, you can use as little as a 1 pixel wide slice. Save the first slice as “bg.png”. The next slice is for our metal looking navigation bar, again the slice doesnt have to be massive as it will be repeated when we code our css.</p><p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step3.gif" alt="Step3" height="400" width="600" /></p> <p>Also on our navigation bar we have our little seperators, your also going to need to slice one of these into a seperate image.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step4.gif" alt="Step4" height="400" width="600" /></p> <p>Hide all your header elements in your layers pallette than make a selection around the whole of your header pattern, save the file as header_bg.png.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step5.gif" alt="Step5" height="240" width="600" /></p> <p>We also have a pattern background in our featured area, hide all your featured elements and make a selection around your featured background, ideally the selection needs to end when the pattern disapears eles you will get unexpected lines in the background.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step6.gif" alt="Step6" height="221" width="600" /></p> <p>If i wanted the content boxes to be rounded across all browser types id slice up our content boxes, but this time im not going to bother, instead il be rounding them off using CSS, the only trouble is some browsers do no support the border-radius style yet. So people using firefox, mozilla and safari will benifit from the rounded corners but everybody eles who isnt using them browser types will get square boxes. </p> <p>The next slices we need to make are for our footer, we need to make two slices, the actual footer and the repeated background. We’ll start with the background that needs to be repeated.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step7.gif" alt="Step7" height="400" width="600" /></p> <p>Then our actual footer box.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step8.gif" alt="Step8" height="400" width="600" /></p> <p>Thats all the background slices taken care off we now need to start slicing some of the additional elements like our search submit button, our icons and our featured arrows. We’ll start with our search submit button.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step9.gif" alt="Step9" height="400" width="600" /></p> <p>Our RSS button.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step10.gif" alt="Step10" height="400" width="600" /></p> <p>We also need to slice both left and right arrow buttons on our featured slider.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step11.gif" alt="Step11" height="400" width="600" /></p> <p>Our actual featured image for our featured slider. It might be a good idea to note the size of your background selection you made on the featured background mine was about 300px in height so really your featured images shouldnt exceed 300px in height.</p><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 15px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 15px; position: relative; visibility: visible; width: 468px;"></ins></ins> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step12.gif" alt="Step12" height="400" width="600" /></p> <p>Now for our individual icons, try and keep the selection as tight as you can get it, also to make life easier make sure there icons are all the same width which means you may need to resize some by a traction or two. All mine are 39px wide.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step13.gif" alt="Step13" height="400" width="600" /></p> <p>Also in ouor sidebar content box inbetween our list items we have a divider seperating each item, you will also need to slice that, dont slice it all you just need a fraction of it as it will be repeated horizontally via css when we code it.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step14.gif" alt="Step14" height="400" width="600" /></p> <p>You should now have 17 images in your image folder, here’s a screenshot of my images folder.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step15.gif" alt="Step15" height="563" width="501" /></p> <p>We can now start coding our layout, open up your html file and both css files into your code editor il be using dreamweaver. In the head of your html file link your stylesheet style.css, for the ie.css file we need to use some special code which looks like this.</p> <div class="syntaxhighlighter " id="highlighter_214808"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">html</code> <code class="color1">xmlns</code><code class="plain">=</code><code class="string">"http://www.w3.org/1999/xhtml"</code><code class="plain">></code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">head</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">meta</code> <code class="color1">http-equiv</code><code class="plain">=</code><code class="string">"Content-Type"</code> <code class="color1">content</code><code class="plain">=</code><code class="string">"text/html; charset=utf-8"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">title</code><code class="plain">>HV-Designs.co.uk - Dark Layout #2 PSD Sitebuild<!--</code--><code class="keyword">title</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">link</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"styles/style.css"</code> <code class="color1">rel</code><code class="plain">=</code><code class="string">"stylesheet"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/css"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--[if IE 7]></code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">link</code> <code class="color1">rel</code><code class="plain">=</code><code class="string">"stylesheet"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/css"</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"styles/ie.css"</code> <code class="plain">/></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><![endif]--></code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">head</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">body</code><code class="plain">></code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">body</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">html</code><code class="plain">></code></code></span></span></div></div></div> <p>We can now begin to start mocking up our layout we’ll start with our header, logo, search and navigation.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step16.gif" alt="Step16" height="157" width="600" /></p> <p>The code looks like this.</p> <div class="syntaxhighlighter " id="highlighter_722075"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"container"</code><code class="plain">></code><code class="comments"><!--CONTAINER STARTS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"header"</code><code class="plain">></code><code class="comments"><!--HEADER STARTS--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"logo"</code><code class="plain">></code><code class="comments"><!--LOGO STARTS--></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LOGO ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"search"</code><code class="plain">></code><code class="comments"><!--SEARCH STARTS--></code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--SEARCH ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--HEADER ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"navigation"</code><code class="plain">></code><code class="comments"><!--NAVIGATION STARTS--></code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--NAVIGATION ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--CONTAINER ENDS--></code></code></span></span></div></div></div> <p>Our css looks like this, please refer to the commented code next to each style.</p> <div class="syntaxhighlighter " id="highlighter_199914"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------MAIN BODY STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">* {</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin</code><code class="plain">: </code><code class="value">0px</code><code class="plain">; </code><code class="comments">/*SETS 0 MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding</code><code class="plain">: </code><code class="value">0px</code><code class="plain">; </code><code class="comments">/*SETS 0 PADDING*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">body {</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#bababa</code><code class="plain">; </code><code class="comments">/*MAIN WEBSITE TEXT COLOR*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-family</code><code class="plain">: </code><code class="color1">Verdana</code><code class="plain">, </code><code class="color1">Arial</code><code class="plain">, </code><code class="color1">Helvetica</code><code class="plain">, </code><code class="color1">sans-serif</code><code class="plain">; </code><code class="comments">/*SIZE OF TEXT 0.69EM = 11PX*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/bg.png); </code><code class="comments">/*OUR BACKGROUND IMAGE*/</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">repeat-x</code><code class="plain">; </code><code class="comments">/*REPEATS BACKGROUND HORIZONTALLY*/</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-color</code><code class="plain">: </code><code class="value">#000000</code><code class="plain">; </code><code class="comments">/*SETS THE COLOR OF OUR BACKGROUND WHEN THE BACKGROUND IMAGE COMES TO AN END*/</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------CONTAINER STYLES---------- */</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#container {</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">950px</code><code class="plain">; </code><code class="comments">/*MAXIMUM WIDTH OF OUR LAYOUT*/</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-top</code><code class="plain">: </code><code class="value">13px</code><code class="plain">; </code><code class="comments">/*ADDS A TOP MARGIN TO THE TOP OF OUR CONTAINER*/</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-right</code><code class="plain">: </code><code class="value">auto</code><code class="plain">; </code><code class="comments">/*AUTO MARGIN*/</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-left</code><code class="plain">: </code><code class="value">auto</code><code class="plain">; </code><code class="comments">/*AUTO MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------HEADER STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">26.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">27.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#header {</code></span></span></div><div class="line alt2"><code class="number">28.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS HEADER LEFT*/</code></span></span></div><div class="line alt1"><code class="number">29.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">155px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">30.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">950px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH, SHOULD BE SAME AS CONTAINER*/</code></span></span></div><div class="line alt1"><code class="number">31.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/header_bg.png); </code><code class="comments">/*OUR HEADER BACKGROUND IMAGE*/</code></span></span></div><div class="line alt2"><code class="number">32.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS HEADER BACKGROUND REPEATING */</code></span></span></div><div class="line alt1"><code class="number">33.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">34.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">35.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#logo {</code></span></span></div><div class="line alt2"><code class="number">36.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LOGO LEFT*/</code></span></span></div><div class="line alt1"><code class="number">37.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-top</code><code class="plain">: </code><code class="value">45px</code><code class="plain">; </code><code class="comments">/*ADDS TOP MARGIN*/</code></span></span></div><div class="line alt2"><code class="number">38.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">39.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">40.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------HEADER SEARCH STYLES---------- */</code></span></span></div><div class="line alt1"><code class="number">41.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">42.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#search {</code></span></span></div><div class="line alt1"><code class="number">43.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*FLOATS SEARCH RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">44.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-top</code><code class="plain">: </code><code class="value">55px</code><code class="plain">; </code><code class="comments">/*ADDS TOP MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">45.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">46.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">47.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------NAVIGATION STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">48.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">49.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#navigation {</code></span></span></div><div class="line alt2"><code class="number">50.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS NAV LEFT*/</code></span></span></div><div class="line alt1"><code class="number">51.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">45px</code><code class="plain">; </code><code class="comments">/*ADDS FIXED HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">52.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">950px</code><code class="plain">; </code><code class="comments">/*ADDS FIXED WIDTH SAME AS OUR CONTAINER*/</code></span></span></div><div class="line alt1"><code class="number">53.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/nav_bg.png); </code><code class="comments">/*OUR NAV BACKGROUND IMAGE*/</code></span></span></div><div class="line alt2"><code class="number">54.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">repeat-x</code><code class="plain">; </code><code class="comments">/*REPEATS NAVIGATION BACKGROUND HORIZONTALLY*/</code></span></span></div><div class="line alt1"><code class="number">55.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>When tested in your browser you should have something like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step17.gif" alt="Step17" height="293" width="600" /></p> <p>Now lets begin to add some of the elements to our header. We’ll start with our website title and slogan. Inside your logo div add a simple h1 tag with your website title, because on our PSD file one of the words are in bold we need to add a span tag with a class of bold to the word we want in bold. Underneath our h1 tag add a simple p tag with a class of slogan then your slogan inbetween. The code looks like this.</p> <div class="syntaxhighlighter " id="highlighter_80025"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"logo"</code><code class="plain">></code><code class="comments"><!--LOGO STARTS--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h1</code><code class="plain">>your<</code><code class="keyword">span</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"bold"</code><code class="plain">>website<!--</code--><code class="keyword">span</code><code class="plain">><!--</code--><code class="keyword">h1</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"slogan"</code><code class="plain">>fancy slogan here<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LOGO ENDS--></code></code></span></span></div></div></div> <p>We can now style these tags using our css. Add these styles to your stylesheet.</p> <div class="syntaxhighlighter " id="highlighter_926732"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">h</code><code class="value">1</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">36px</code><code class="plain">; </code><code class="comments">/*H1 FONT SIZE*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#FFFFFF</code><code class="plain">; </code><code class="comments">/*H1 FONT COLOR*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-weight</code><code class="plain">: </code><code class="value">normal</code><code class="plain">; </code><code class="comments">/*SETS FONT WEIGHT TO NORMAL*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">letter-spacing</code><code class="plain">: </code><code class="value">-3px</code><code class="plain">; </code><code class="comments">/*DECREASES LETTER SPACING (the space between each letter)*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.slogan {</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-align</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*ALIGNS SLOGAN TEXT RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">capitalize</code><code class="plain">; </code><code class="comments">/*CAPITALIZES THE FIRST LETTER ON EACH WORD*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.</code><code class="value">bold</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-weight</code><code class="plain">: </code><code class="value">bold</code><code class="plain">; </code><code class="comments">/*ADDS BOLD FONT WEIGHT*/</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>You should now have a your website title and slogan nicely presented on your template.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step18.gif" alt="Step18" height="293" width="600" /></p> <p>Lets start building our search form, please note the search has to actually be connected up for it work, im just demonstrating the styling side. Inside your search div add a simple form with just a text field and submit button. On your submit button you’ll need to change the input type to “image” then add an addition attribute called “src” with the url to the button. Once you’ve done that add a class of search-field to the search field and a class of “search-btn” to the submit button, the code looks like this.</p> <div class="syntaxhighlighter " id="highlighter_840069"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"search"</code><code class="plain">></code><code class="comments"><!--SEARCH STARTS--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">form</code> <code class="color1">action</code><code class="plain">=</code><code class="string">""</code> <code class="color1">method</code><code class="plain">=</code><code class="string">"get"</code><code class="plain">></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">input</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text"</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"search-field"</code> <code class="color1">value</code><code class="plain">=</code><code class="string">"Search..."</code> <code class="color1">size</code><code class="plain">=</code><code class="string">"35"</code> <code class="plain">/><</code><code class="keyword">input</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"image"</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"search-btn"</code> <code class="color1">value</code><code class="plain">=</code><code class="string">"Go"</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/search_btn.png"</code> <code class="plain">/></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">form</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--SEARCH ENDS--></code></code></span></span></div></div></div> <p>The css for our search field and button are.</p> <div class="syntaxhighlighter " id="highlighter_343106"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.search-field {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-style</code><code class="plain">: </code><code class="value">italic</code><code class="plain">; </code><code class="comments">/*SETS FONT TO ITALIC*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#FFFFFF</code><code class="plain">; </code><code class="comments">/*SEARCH TEXT COLOR*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">border</code><code class="plain">: </code><code class="value">1px</code> <code class="value">solid</code> <code class="value">#2a2a2a</code><code class="plain">; </code><code class="comments">/*ADDS 1 PX BORDER IN COLOR SPECIFIED*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-color</code><code class="plain">: </code><code class="value">#000000</code><code class="plain">; </code><code class="comments">/*CHANGES BACKGROUND COLOR IN SEARCH FIELD*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding</code><code class="plain">: </code><code class="value">7px</code><code class="plain">; </code><code class="comments">/*ADDS PADDING*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-right</code><code class="plain">: </code><code class="value">10px</code><code class="plain">; </code><code class="comments">/*ADDS RIGHT MARGIN*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.search-btn {</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">vertical-align</code><code class="plain">: </code><code class="value">top</code><code class="plain">; </code><code class="comments">/*CHANGES VERTICAL ALIGNMENT ON SEARCH BUTTON*/</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>You should now have something like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step19.gif" alt="Step19" height="293" width="600" /></p> <p>Now for our navigation bar, we’ll start with a simple list creating each item in the list a block element. Each list item will also have our little seperator image after each link.</p> <div class="syntaxhighlighter " id="highlighter_610155"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"navigation"</code><code class="plain">></code><code class="comments"><!--NAVIGATION STARTS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">ul</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"nav-links"</code><code class="plain">></code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>home<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>blog<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>work<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>forum<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>services<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">>contact<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">ul</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--NAVIGATION ENDS--></code></code></span></span></div></div></div> <p>Here’s the css for our navigation.</p> <div class="syntaxhighlighter " id="highlighter_662782"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.nav-links li {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">list-style-type</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES BULLET POINTS FROM THE LIST*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LEFT*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-align</code><code class="plain">: </code><code class="value">center</code><code class="plain">; </code><code class="comments">/*ALIGNS TEXT CENTER*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">letter-spacing</code><code class="plain">: </code><code class="value">-1px</code><code class="plain">; </code><code class="comments">/*DECRESES LETTER SPACING*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/seperator.png); </code><code class="comments">/*SEPERATOR IMAGE*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS SEPERATOR REPEATING*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*ALIGNS THE SEPERATOR RIGHT OF EACH NAVIGATION LINK*/</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.nav-links li a {</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-decoration</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES UNDERSCORE FROM LINK ITEMS*/</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#000000</code><code class="plain">; </code><code class="comments">/*COLOR OF OUR NAVIGATION LINKS*/</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">uppercase</code><code class="plain">; </code><code class="comments">/*TRANSFORMS NAVIGATION LINKS TO ALL CAPITAL LETTERS*/</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">12px</code><code class="plain">; </code><code class="comments">/*ADDS FONT SIZE*/</code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">display</code><code class="plain">: </code><code class="value">block</code><code class="plain">; </code><code class="comments">/*DISPLAYS THE NAV LINKS AS A BLOCK ELEMENT*/</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">29px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT TO NAV LINKS*/</code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">100px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH TO NAV LINKS*/</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS TOP PADDING TO EACH LINK*/</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.nav-links li a:hover {</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#666666</code><code class="plain">; </code><code class="comments">/*COLOR OF LINK WHEN HOVERED*/</code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Also on our navigation in our PSD file we had a little rss icon on the right of the navigation, we can create that the same we did our navigation above.</p> <div class="syntaxhighlighter " id="highlighter_890736"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">ul</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"rss"</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code><code class="plain">><</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"#"</code><code class="plain">><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/rss_icon.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Subscribe Via RSS"</code> <code class="plain">/><!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">li</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">ul</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--NAVIGATION ENDS--></code></code></span></span></div></div></div> <p>The css for our rss icon is similar too.</p> <div class="syntaxhighlighter " id="highlighter_185007"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.rss li {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">list-style-type</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES BULLET POINTS FROM THE LIST*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*FLOATS RSS LINKS RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-right</code><code class="plain">: </code><code class="value">10px</code><code class="plain">; </code><code class="comments">/*ADDS RIGHT MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-top</code><code class="plain">: </code><code class="value">5px</code><code class="plain">; </code><code class="comments">/*ADDS TOP MARGIN*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.rss li img {</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">border</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES BORDER FROM IMAGE*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>You should now have something like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step20.gif" alt="Step20" height="293" width="600" /></p> <p>Thats the header part of our website done, lets move onto our featured area. We’ll mock the featured area up like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step21.gif" alt="Step21" height="197" width="600" /></p> <p>The code looks like this.</p> <div class="syntaxhighlighter " id="highlighter_676928"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"featured-area"</code><code class="plain">></code><code class="comments"><!--FEATURED AREA STARTS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-left"</code><code class="plain">></code><code class="comments"><!--LEFT ARROW START--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT ARROW END--></code></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-content"</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT STARTS--></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-text"</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT STARTS--></code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-right"</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW STARTS--></code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW END--></code></code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED AREA ENDS--></code></code></span></span></div></div></div> <p>The css for the code above looks like this.</p> <div class="syntaxhighlighter " id="highlighter_894564"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="value">#fea</code><code class="plain">tured-area {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS BACKGROUND REPEATING*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/content_bg.png); </code><code class="comments">/*ADDS OUR CONTENT BACKGROUND IMAGE*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">950px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-bottom</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS BOTTOM MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">} </code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.featured-control-</code><code class="value">left</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LEFT*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">170px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">33px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">130px</code><code class="plain">; </code><code class="comments">/*ADDS TOP PADDING*/</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.featured-text {</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*FLOATS RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">425px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">260px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">40px</code><code class="plain">; </code><code class="comments">/*ADDS TOP PADDING*/</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-right</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS RIGHT PADDING*/</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.featured-content {</code></span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LEFT*/</code></span></span></div><div class="line alt2"><code class="number">26.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">300px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt1"><code class="number">27.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">884px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt2"><code class="number">28.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">29.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">30.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.featured-control-</code><code class="value">right</code> <code class="plain">{</code></span></span></div><div class="line alt1"><code class="number">31.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*FLOATS RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">32.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">170px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt1"><code class="number">33.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">33px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt2"><code class="number">34.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">130px</code><code class="plain">; </code><code class="comments">/*ADDS PADDING TOP*/</code></span></span></div><div class="line alt1"><code class="number">35.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>You should now have some solid foundations for your featured area, lets insert some of our graphic elements. Inside the div’s featured-control-right and featured-control-left insert your arrow icons.</p> <div class="syntaxhighlighter " id="highlighter_756574"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"featured-area"</code><code class="plain">></code><code class="comments"><!--FEATURED AREA STARTS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-left"</code><code class="plain">></code><code class="comments"><!--LEFT ARROW START--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/left_arrow.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Left"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT ARROW END--></code></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-content"</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT STARTS--></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-text"</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT STARTS--></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-right"</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW STARTS--></code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/right_arrow.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Right"</code> <code class="plain">/></code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW END--></code></code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED AREA ENDS--></code></code></span></span></div></div></div> <p>Underneath the class “featured-content” insert your featured image. Insde the class “featured-text” add a h2 tag with a header then add a paragraph wrapped in a p tag.</p> <div class="syntaxhighlighter " id="highlighter_745519"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"featured-area"</code><code class="plain">></code><code class="comments"><!--FEATURED AREA STARTS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-left"</code><code class="plain">></code><code class="comments"><!--LEFT ARROW START--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/left_arrow.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Left"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT ARROW END--></code></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-content"</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT STARTS--></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/featured_image01.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Featured Image 01"</code> <code class="plain">/></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-text"</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT STARTS--></code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h2</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h2</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED TEXT ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED CONTENT ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-right"</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW STARTS--></code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/right_arrow.png"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Right"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW END--></code></code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FEATURED AREA ENDS--></code></code></span></span></div></div></div> <p>You now need to add some addtional styles in your style sheet, because we’ve added an image into the featured area we need to make sure that no browser adds a border to it, we also need to style our h2 tag.</p> <div class="syntaxhighlighter " id="highlighter_944909"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">h</code><code class="value">2</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#FFFFFF</code><code class="plain">; </code><code class="comments">/*H2 FONT COLOR*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">uppercase</code><code class="plain">; </code><code class="comments">/*TRANSFORMS TEXT TO UPPERCASE*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">18px</code><code class="plain">; </code><code class="comments">/*H2 FONT SIZE*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.featured-content img {</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-left</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS A LEFT MARGIN*/</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-right</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS A RIGHT MARGIN*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LEFT*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Your featured area should now look something like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step22.gif" alt="Step22" height="293" width="600" /></p> <p>We’ll add our jquery slider towards the end of the tutorial. The wireframe for our content boxes is really easy, we just create two classes “left-content” and “right-content”.</p> <div class="syntaxhighlighter " id="highlighter_584032"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"left-content"</code><code class="plain">></code><code class="comments"><!--LEFT CONTENT STARTS--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT CONTENT ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"right-content"</code><code class="plain">></code><code class="comments"><!--RIGHT CONTENT ENDS--></code></span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT CONTENT ENDS--></code></code></span></span></div></div></div> <p>The styles for these classes are as follows.</p> <div class="syntaxhighlighter " id="highlighter_766553"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------LEFT CONTENT STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.left-content {</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">left</code><code class="plain">; </code><code class="comments">/*FLOATS LEFT CONTENT BOX LEFT*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">560px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTH*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="plain">-moz-border-radius: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS A BORDER RADIUS (applys to Mozilla/Firefox and Safari 3 users ONLY)*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="plain">-webkit-border-radius: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS A BORDER RADIUS (applys to Mozilla/Firefox and Safari 3 users ONLY)*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-color</code><code class="plain">: </code><code class="value">#0a0a0a</code><code class="plain">; </code><code class="comments">/*LEFT CONTENT BACKGROUND COLOR*/</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">border</code><code class="plain">: </code><code class="value">1px</code> <code class="value">solid</code> <code class="value">#181818</code><code class="plain">; </code><code class="comments">/*LEFT CONTENT 1 PX BORDER AND BORDER COLOR*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS PADDING ALL THE WAY AROUND*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------RIGHT CONTENT STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.right-content {</code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">float</code><code class="plain">: </code><code class="value">right</code><code class="plain">; </code><code class="comments">/*FLOATS RIGHT CONTENT BOX RIGHT*/</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">290px</code><code class="plain">; </code><code class="comments">/*ADDS FIXED WIDTH*/</code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="plain">-moz-border-radius: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS A BORDER RADIUS (applys to Mozilla/Firefox and Safari 3 users ONLY)*/</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="plain">-webkit-border-radius: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS A BORDER RADIUS (applys to Mozilla/Firefox and Safari 3 users ONLY)*/</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-color</code><code class="plain">: </code><code class="value">#0a0a0a</code><code class="plain">; </code><code class="comments">/*RIGHT CONTENT BACKGROUND COLOR*/</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">border</code><code class="plain">: </code><code class="value">1px</code> <code class="value">solid</code> <code class="value">#181818</code><code class="plain">; </code><code class="comments">/*RIGHT CONTENT 1 PX BORDER AND BORDER COLOR*/</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS PADDING ALL THE WAY AROUND*/</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Included in the styles above are the css styles for border-radius which makes the corners on your content boxes round, as stated in the comments it only applys to Mozilla/Firefox and Safari 3 users ONLY every other browser will see square corners. Inside our left-content box were just going to add some simple paragraphs with a h2 tag.</p> <div class="syntaxhighlighter " id="highlighter_277790"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"left-content"</code><code class="plain">></code><code class="comments"><!--LEFT CONTENT STARTS--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h2</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h2</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">6.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim. Integer cursus elementum nunc in convallis. Praesent condimentum justo vel nunc vestibulum vitae vehicula purus dignissim.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">7.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">8.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT CONTENT ENDS--></code></code></span></span></div></div></div> <p>Our h2 tag is already styled in the style sheet but our p tags aren’t so add these simple styles in your style sheet.</p> <div class="syntaxhighlighter " id="highlighter_653702"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">p {</code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">12px</code><code class="plain">; </code><code class="comments">/*TEXT FONT SIZE*/</code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">line-height</code><code class="plain">: </code><code class="value">22px</code><code class="plain">; </code><code class="comments">/*TEXT LINE HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-align</code><code class="plain">: </code><code class="value">justify</code><code class="plain">; </code><code class="comments">/*JUSTIFYS OUR PARAGRAPHS*/</code></span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin</code><code class="plain">: </code><code class="value">5px</code> <code class="value">0</code> <code class="value">10px</code><code class="plain">; </code><code class="comments">/*ADDS TOP MARGIN OF 5PX AND BOTTOM MARGIN OF 10PX NO MARGIN LEFT OR RIGHT*/</code></span></span></div><div class="line alt2"><code class="number">6.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding</code><code class="plain">: </code><code class="value">0</code><code class="plain">; </code><code class="comments">/*ADDS NO PADDING*/</code></span></span></div><div class="line alt1"><code class="number">7.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Our right content box looks tricky to really it isnt, for our right-content box we just create a simple list, each list item will have its very own class, the code looks like this.</p> <div class="syntaxhighlighter " id="highlighter_143551"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"right-content"</code><code class="plain">></code><code class="comments"><!--RIGHT CONTENT ENDS--></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">ul</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"right-content-list"</code><code class="plain">> </code><code class="comments"><!--RIGHT CONTENT LIST STARTS--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"lock"</code><code class="plain">></code><code class="comments"><!--LOCK ICON STARTS--></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h3</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h3</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">li</code><code class="plain">></code><code class="comments"><!--LOCK ICON ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"cog"</code><code class="plain">></code><code class="comments"><!--COG ICON STARTS--></code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h3</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h3</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">li</code><code class="plain">></code><code class="comments"><!--COG ICON ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"coins"</code><code class="plain">></code><code class="comments"><!--COINS ICON STARTS--></code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h3</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h3</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">li</code><code class="plain">></code><code class="comments"><!--COINS ICON ENDS--></code></code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">li</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"mail"</code><code class="plain">></code><code class="comments"><!--MAIL ICON STARTS--></code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">h3</code><code class="plain">>lorem ipsum dolor<!--</code--><code class="keyword">h3</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">p</code><code class="plain">>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a elit risus, in pretium dolor. Nullam egestas lacus ante.<!--</code--><code class="keyword">p</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">li</code><code class="plain">></code><code class="comments"><!--MAIL ICON ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">ul</code><code class="plain">></code><code class="comments"><!--RIGHT CONTENT LIST ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">26.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">27.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT CONTENT ENDS--></code></code></span></span></div></div></div> <p>We then style out list as normal but with a few extra styles for our list classes.</p> <div class="syntaxhighlighter " id="highlighter_920484"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.right-content-list li {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">list-style-type</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES BULLET POINTS FROM THE LIST*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.right-content-list li p {</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">11px</code><code class="plain">; </code><code class="comments">/*LIST P TAG FONT SIZE*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">line-height</code><code class="plain">: </code><code class="value">18px</code><code class="plain">; </code><code class="comments">/*LIST P TAG FONT LINE HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/divider.png); </code><code class="comments">/*OUR DIVIDER IMAGE UNDERNEATH EACH LIST*/</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">repeat-x</code><code class="plain">; </code><code class="comments">/*REPEATS DIVIDER IMAGE HORIZONTALLY*/</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">bottom</code><code class="plain">; </code><code class="comments">/*PLACES THE DIVIDER AT THE BOTTOM OF THE P TAG*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-bottom</code><code class="plain">: </code><code class="value">15px</code><code class="plain">; </code><code class="comments">/*ADDS PADDING TO THE BOTTOM OF THE P TAG IN THE LIST*/</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">li.lock {</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/lock_icon.png); </code><code class="comments">/*OUR LOCK ICON*/</code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS ICON REPEATING*/</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">left</code> <code class="value">top</code><code class="plain">; </code><code class="comments">/*KEEPS THE ICON IN THE TOP LEFT CORNER*/</code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-left</code><code class="plain">: </code><code class="value">50px</code><code class="plain">; </code><code class="comments">/*ADDS LEFT PADDING*/</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">li.cog {</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/cog_icon.png); </code><code class="comments">/*OUR COG ICON*/</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS ICON REPEATING*/</code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">left</code> <code class="value">top</code><code class="plain">; </code><code class="comments">/*KEEPS THE ICON IN THE TOP LEFT CORNER*/</code></span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-left</code><code class="plain">: </code><code class="value">50px</code><code class="plain">; </code><code class="comments">/*ADDS LEFT PADDING*/</code></span></span></div><div class="line alt2"><code class="number">26.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">27.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">28.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">li.coins {</code></span></span></div><div class="line alt1"><code class="number">29.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/coins_icon.png); </code><code class="comments">/*OUR COINS ICON*/</code></span></span></div><div class="line alt2"><code class="number">30.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS ICON REPEATING*/</code></span></span></div><div class="line alt1"><code class="number">31.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">left</code> <code class="value">top</code><code class="plain">; </code><code class="comments">/*KEEPS THE ICON IN THE TOP LEFT CORNER*/</code></span></span></div><div class="line alt2"><code class="number">32.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-left</code><code class="plain">: </code><code class="value">50px</code><code class="plain">; </code><code class="comments">/*ADDS LEFT PADDING*/</code></span></span></div><div class="line alt1"><code class="number">33.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">34.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">35.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">li.mail {</code></span></span></div><div class="line alt2"><code class="number">36.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/mail_icon.png); </code><code class="comments">/*OUR MAIL ICON*/</code></span></span></div><div class="line alt1"><code class="number">37.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">no-repeat</code><code class="plain">; </code><code class="comments">/*STOPS ICON REPEATING*/</code></span></span></div><div class="line alt2"><code class="number">38.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">left</code> <code class="value">top</code><code class="plain">; </code><code class="comments">/*KEEPS THE ICON IN THE TOP LEFT CORNER*/</code></span></span></div><div class="line alt1"><code class="number">39.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-left</code><code class="plain">: </code><code class="value">50px</code><code class="plain">; </code><code class="comments">/*ADDS LEFT PADDING*/</code></span></span></div><div class="line alt2"><code class="number">40.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Test your template in your browser and you should have something like this.</p> <p><img src="http://www.hv-designs.co.uk/tutorials/dark_layout_css/step23.gif" alt="Step23" height="517" width="600" /></p> <p>Now for our footer, we want our footer to span across the browser just like our background/navigation does, to do this we need create our footer outside the container div.</p> <div class="syntaxhighlighter " id="highlighter_896120"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--CONTAINER ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"footer"</code><code class="plain">></code><code class="comments"><!--FOOTER STARTS--></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"footer-content"</code><code class="plain">></code><code class="comments"><!--FOOTER CONTENT STARTS--></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">P</code><code class="plain">>copyright © yoursite.com | all rights reserved | design & coded by <</code><code class="keyword">a</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"http://www.richard-carpenter.co.uk"</code><code class="plain">>richard carpenter<!--</code--><code class="keyword">a</code><code class="plain">><!--</code--><code class="keyword">P</code><code class="plain">></code></code></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FOOTER CONTENT ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--FOOTER ENDS--></code></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">body</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">html</code><code class="plain">></code></code></span></span></div></div></div> <p>The footer div is the background that will repeat across the browser, the footer-content div will be where our footer content goes. The css looks like this.</p> <div class="syntaxhighlighter " id="highlighter_207646"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------FOOTER STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#footer {</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/footer_bg.png); </code><code class="comments">/*ADDS OUR BACKGROUND IMAGE*/</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">repeat-x</code><code class="plain">; </code><code class="comments">/*REPEATS BACKGROUND HORIZONTALLY*/</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">clear</code><code class="plain">: </code><code class="value">both</code><code class="plain">; </code><code class="comments">/*CLEARS BOTH FLOATS*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">82px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">bottom</code><code class="plain">; </code><code class="comments">/*PLACES BACKGROUND AT THE BOTTOM OF THE DIV*/</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#footer-content {</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-image</code><code class="plain">: </code><code class="value">url</code><code class="plain">(../images/footer_bg</code><code class="value">2</code><code class="plain">.png); </code><code class="comments">/*ADDS OUR BACKGROUND IMAGE*/</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-repeat</code><code class="plain">: </code><code class="value">repeat-x</code><code class="plain">; </code><code class="comments">/*REPEATS BACKGROUND HORIZONTALLY*/</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">height</code><code class="plain">: </code><code class="value">82px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED HEIGHT*/</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">width</code><code class="plain">: </code><code class="value">950px</code><code class="plain">; </code><code class="comments">/*ADDS A FIXED WIDTTH*/</code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin</code><code class="plain">: </code><code class="value">auto</code><code class="plain">; </code><code class="comments">/*AUTO MARGIN CENTERS OUR FOOTER*/</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">background-position</code><code class="plain">: </code><code class="value">bottom</code><code class="plain">; </code><code class="comments">/*PLACES BACKGROUND AT THE BOTTOM OF THE DIV*/</code></span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#footer-content p {</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">capitalize</code><code class="plain">; </code><code class="comments">/*TRANSFORMS THE FIRST LETTER IN EVERY WORD TO A CAPITAL LETTER*/</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#000000</code><code class="plain">; </code><code class="comments">/*COLOR OF FOOTER TEXT*/</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">50px</code><code class="plain">; </code><code class="comments">/*ADDS TOP PADDING*/</code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-left</code><code class="plain">: </code><code class="value">20px</code><code class="plain">; </code><code class="comments">/*ADDS LEFT PADDING*/</code></span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Your template should now be complete, there’s just some styles id recommend adding to get you started. We need to style our hyper links, h3 and h4 tags just incase you use them.</p> <div class="syntaxhighlighter " id="highlighter_668847"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">a:link {</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#333333</code><code class="plain">; </code><code class="comments">/*COLOR OF A LINK*/</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-decoration</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES UNDERSCORE*/</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">a:visited {</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-decoration</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES UNDERSCORE*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#333333</code><code class="plain">; </code><code class="comments">/*COLOR OF A VISITED LINK*/</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">a:hover {</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-decoration</code><code class="plain">: </code><code class="value">underline</code><code class="plain">; </code><code class="comments">/*ADDS UNDERSCORE*/</code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#666666</code><code class="plain">; </code><code class="comments">/*COLOR OF A HOVERED LINK*/</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">a:active {</code></span></span></div><div class="line alt2"><code class="number">14.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-decoration</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*REMOVES UNDERSCORE*/</code></span></span></div><div class="line alt1"><code class="number">15.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#333333</code><code class="plain">; </code><code class="comments">/*COLOR OF A ACTIVE LINK*/</code></span></span></div><div class="line alt2"><code class="number">16.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt1"><code class="number">17.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">18.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">h</code><code class="value">3</code> <code class="plain">{</code></span></span></div><div class="line alt1"><code class="number">19.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#FFFFFF</code><code class="plain">; </code><code class="comments">/*H3 FONT COLOR*/</code></span></span></div><div class="line alt2"><code class="number">20.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">uppercase</code><code class="plain">; </code><code class="comments">/*TRANSFORMS TEXT TO UPPERCASE*/</code></span></span></div><div class="line alt1"><code class="number">21.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">14px</code><code class="plain">; </code><code class="comments">/*H3 FONT SIZE*/</code></span></span></div><div class="line alt2"><code class="number">22.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-weight</code><code class="plain">: </code><code class="value">normal</code><code class="plain">; </code><code class="comments">/*REMOVES BOLD*/</code></span></span></div><div class="line alt1"><code class="number">23.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">24.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">25.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">h</code><code class="value">4</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">26.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">color</code><code class="plain">: </code><code class="value">#FFFFFF</code><code class="plain">; </code><code class="comments">/*H4 FONT COLOR*/</code></span></span></div><div class="line alt1"><code class="number">27.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">text-transform</code><code class="plain">: </code><code class="value">uppercase</code><code class="plain">; </code><code class="comments">/*TRANSFORMS TEXT TO UPPERCASE*/</code></span></span></div><div class="line alt2"><code class="number">28.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">font-size</code><code class="plain">: </code><code class="value">11px</code><code class="plain">; </code><code class="comments">/*H4 FONT SIZE*/</code></span></span></div><div class="line alt1"><code class="number">29.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>There are also some styles you need to add to the “ie.css” file, the styles listed below are just minor fixes for items that dont quite lineup.</p> <div class="syntaxhighlighter " id="highlighter_895268"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* INTERNET EXPLORER HACKS */</code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------HEADER SEARCH STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.search-btn {</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">margin-top</code><code class="plain">: </code><code class="value">1px</code><code class="plain">; </code><code class="comments">/*ADDS A TOP MARGIN TO SEARCH BUTTON*/</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="comments">/* ----------FOOTER STYLES---------- */</code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">#footer-content p {</code></span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">padding-top</code><code class="plain">: </code><code class="value">45px</code><code class="plain">; </code><code class="comments">/*ADDS TOP PADDING*/</code></span></span></div><div class="line alt1"><code class="number">13.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Were now going to intergrate the jflow plugin for jquery on our featured area. The featured once done should slide across to any other items you wish to add in there. The first we need to do is download jflow and the jquery libary file, please note im using the jquery libary 1.2.6 NOT the new one as i had trouble with the latest libary. Link the files in the head of your document.</p> <div class="syntaxhighlighter " id="highlighter_904935"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">head</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">meta</code> <code class="color1">http-equiv</code><code class="plain">=</code><code class="string">"Content-Type"</code> <code class="color1">content</code><code class="plain">=</code><code class="string">"text/html; charset=utf-8"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">title</code><code class="plain">>HV-Designs.co.uk - Dark Layout #2 PSD Sitebuild<!--</code--><code class="keyword">title</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">link</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"styles/style.css"</code> <code class="color1">rel</code><code class="plain">=</code><code class="string">"stylesheet"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/css"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--[if IE 7]></code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">link</code> <code class="color1">rel</code><code class="plain">=</code><code class="string">"stylesheet"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/css"</code> <code class="color1">href</code><code class="plain">=</code><code class="string">"styles/ie.css"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><![endif]--></code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">script</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"js/jquery-1.2.6.pack.js"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/javascript"</code><code class="plain">><!--</code--><code class="keyword">script</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">10.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">script</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"js/jquery.flow.1.1.min.js"</code> <code class="color1">type</code><code class="plain">=</code><code class="string">"text/javascript"</code><code class="plain">><!--</code--><code class="keyword">script</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">11.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt2"><code class="number">12.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">head</code><code class="plain">></code></code></span></span></div></div></div> <p>Also inside the head section add this bit of javascript.</p> <div class="syntaxhighlighter " id="highlighter_45452"><div class="lines"><div class="line alt1"><code class="number">01.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><script type="</code"><code class="string">"text/javascript"</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">02.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">$(</code><code class="keyword">function</code><code class="plain">() {</code></span></span></div><div class="line alt1"><code class="number">03.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">$(</code><code class="string">"div#controller"</code><code class="plain">).jFlow({</code></span></span></div><div class="line alt2"><code class="number">04.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">slides: </code><code class="string">"#slides"</code><code class="plain">,</code></span></span></div><div class="line alt1"><code class="number">05.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">width: </code><code class="string">"950px"</code><code class="plain">,</code></span></span></div><div class="line alt2"><code class="number">06.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">height: </code><code class="string">"300px"</code></span></span></div><div class="line alt1"><code class="number">07.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">});</code></span></span></div><div class="line alt2"><code class="number">08.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">});</code></span></span></div><div class="line alt1"><code class="number">09.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"></script></code></span></span></div></div></div> <p>The width and height should be set to the dimensions of the featured area, you will also notice the div “slides” you will need to ad this div into your featured area. Above the featured-area div add the jflow controller code.</p> <div class="syntaxhighlighter " id="highlighter_208586"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"controller"</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"hidden"</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">span</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"jFlowControl"</code><code class="plain">>No 1<!--</code--><code class="keyword">span</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">span</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"jFlowControl"</code><code class="plain">>No 2<!--</code--><code class="keyword">span</code><code class="plain">></code></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">span</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"jFlowControl"</code><code class="plain">>No 3<!--</code--><code class="keyword">span</code><code class="plain">></code></code></span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code></code></span></span></div></div></div> <p>In your style sheet we need to an additional style which will hide our 2nd and third slides.</p> <div class="syntaxhighlighter " id="highlighter_669220"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">.</code><code class="value">hidden</code> <code class="plain">{</code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><code class="spaces"> </code><span class="block" style="margin-left: 28px ! important;"><code class="keyword">display</code><code class="plain">: </code><code class="value">none</code><code class="plain">; </code><code class="comments">/*hides our 2nd and 3rd featured images*/</code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">}</code></span></span></div></div></div> <p>Underneath our featured-area div add a div id of slides then add an empty div.</p> <div class="syntaxhighlighter " id="highlighter_334181"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"featured-area"</code><code class="plain">></code><code class="comments"><!--FEATURED AREA STARTS--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">id</code><code class="plain">=</code><code class="string">"slides"</code><code class="plain">></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--SLIDE #1 STARTS--></code></span></span></div></div></div> <p>Dont forget to close the div at the bottom. Now everything inbetwwen the blank div and the end of the blank div will slide, for the slide to actually work though you need 3 slides in total. Make sure the 2nd and third slides all start and end with a blank div. I find it best just copy everything from the blank div to the closing blank div then edit the content accordingly. </p> <p>For the buttons to work on the featured area you need to add the jflow classes to the buttons.</p> <div class="syntaxhighlighter " id="highlighter_685074"><div class="lines"><div class="line alt1"><code class="number">1.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-left"</code><code class="plain">></code><code class="comments"><!--LEFT ARROW START--></code></span></span></div><div class="line alt2"><code class="number">2.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/left_arrow.png"</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"jFlowPrev"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Left"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">3.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--LEFT ARROW END--></code></code></span></span></div><div class="line alt2"><code class="number">4.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"> </span></span></div><div class="line alt1"><code class="number">5.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">div</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"featured-control-right"</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW STARTS--></code></span></span></div><div class="line alt2"><code class="number">6.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><</code><code class="keyword">img</code> <code class="color1">src</code><code class="plain">=</code><code class="string">"images/right_arrow.png"</code> <code class="color1">class</code><code class="plain">=</code><code class="string">"jFlowNext"</code> <code class="color1">alt</code><code class="plain">=</code><code class="string">"Slide Right"</code> <code class="plain">/></code></span></span></div><div class="line alt1"><code class="number">7.</code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain"><!--</code--><code class="keyword">div</code><code class="plain">></code><code class="comments"><!--RIGHT ARROW END--></code></code></span></span></div></div></div> <p>You can see a live work demo by clicking the button below.</p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-60391258875369137902009-10-26T05:24:00.000-07:002009-10-26T05:25:15.698-07:00Create a very Realistic, custom Class using Actionscript 3<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="smoke" align="middle" height="300" width="200"><embed src="http://www.fileden.com/files/2009/9/5/2565234/refl/smoke.swf" quality="high" bgcolor="#000000" name="smoke" align="middle" height="300" width="200"></embed><br /></object><br /><br /><br />In the root directory of the .fla file create a new folder and name it script. Now open your favourite text editor and copy and paste the following code<br /><br /><span style="font-style: italic; color: gray;">/*<br /> *The smoke effect is achieved by creating small circles<br /> *They are continuously moved upwards<br /> *A BlurFilter is applied to make them look realistic<br /> *As they float above their dimensions are increased and the alpha reduced<br /> *Actually only 40 particles are present and they are continuosly<br /> recycled to prevent the main memory occupied by the .swf file<br /> from increasing.<br />*/</span><br /><br /><span style="color: rgb(51, 51, 255); font-style: italic;">package</span><span style="font-style: italic;"> script{</span><br /> <br /> <span style="color: rgb(51, 51, 255); font-style: italic;">import flash.display.Sprite;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.display.Shape;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.display.MovieClip;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.events.Event;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.events.TimerEvent;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.filters.BlurFilter;</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;"> import flash.utils.Timer;</span><br /> <br /><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">public class</span><span style="font-style: italic;"> Smoke</span><span style="color: rgb(51, 51, 255); font-style: italic;"> extends Sprite</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*this will be the parent container*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private var</span><span style="font-style: italic;"> smoke_mc:</span><span style="color: rgb(51, 51, 255); font-style: italic;">MovieClip = new MovieClip</span><span style="font-style: italic;">();</span><br /><br /> <span style="font-style: italic; color: gray;">/*color of the smoke*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private var</span><span style="font-style: italic;"> color:</span><span style="color: rgb(51, 51, 255); font-style: italic;">uint</span><span style="font-style: italic;">;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*radius of each smoke particle*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private var</span><span style="font-style: italic;"> partRadius:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Number</span><span style="font-style: italic;"> = 1;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*BlurFilter for the smoke particles*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private var</span><span style="font-style: italic;"> blur:</span><span style="color: rgb(51, 51, 255); font-style: italic;">BlurFilter = new BlurFilter</span><span style="font-style: italic;">(8,8,2);</span><br /> <br /> <span style="font-style: italic; color: gray;">/*timer to attach smoke particles*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private var</span><span style="font-style: italic;"> timer:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Timer = new Timer</span><span style="font-style: italic;">(100);</span><br /> <br /> <br /> <span style="font-style: italic; color: gray;">/*<br /> the constructor takes 3 parameters-<br /> X and Y coordinates of the point of origination<br /> and the color of the smoke<br /> */</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">public function</span><span style="font-style: italic;"> Smoke(xc:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Number</span><span style="font-style: italic;">,yc:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Number</span><span style="font-style: italic;">,col:</span><span style="color: rgb(51, 51, 255); font-style: italic;">uint</span><span style="font-style: italic;">)</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*attach the parent movieClip*/</span><br /><span style="font-style: italic;"> smoke_mc.</span><span style="color: rgb(51, 51, 255); font-style: italic;">x</span><span style="font-style: italic;">=xc;</span><br /><span style="font-style: italic;"> smoke_mc.</span><span style="color: rgb(51, 51, 255); font-style: italic;">y</span><span style="font-style: italic;">=yc;</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">addChild</span><span style="font-style: italic;">(smoke_mc);</span><br /> <br /> <span style="font-style: italic; color: gray;">/*assign the color*/</span><br /><span style="font-style: italic;"> color=col;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*start the timer*/</span><br /><span style="font-style: italic;"> timer.</span><span style="color: rgb(51, 51, 255); font-style: italic;">start</span><span style="font-style: italic;">();</span><br /> <br /> <span style="font-style: italic; color: gray;">/*listener for the timer. the function startSmoke<br /> is called every 100 miliseconds*/</span><br /><span style="font-style: italic;"> timer.</span><span style="color: rgb(51, 51, 255); font-style: italic;">addEventListener(TimerEvent.TIMER</span><span style="font-style: italic;">,startSmoke);</span><br /><span style="font-style: italic;"> }</span><br /> <br /> <span style="font-style: italic; color: gray;">/*attaches one smoke particle to the stage*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private function</span><span style="font-style: italic;"> startSmoke(e:</span><span style="color: rgb(51, 51, 255); font-style: italic;">TimerEvent</span><span style="font-style: italic;">)</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*if 40 particles has been attached<br /> stop attaching any more */</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">if</span><span style="font-style: italic;">(smoke_mc.</span><span style="color: rgb(51, 51, 255); font-style: italic;">numChildren</span><span style="font-style: italic;">>40)</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*stop the timer*/</span><br /><span style="font-style: italic;"> timer.</span><span style="color: rgb(51, 51, 255); font-style: italic;">stop</span><span style="font-style: italic;">();</span><br /> <br /> <span style="font-style: italic; color: gray;">/*remove the timer listener*/</span><br /><span style="font-style: italic;"> timer.</span><span style="color: rgb(51, 51, 255); font-style: italic;">removeEventListener(TimerEvent.TIMER</span><span style="font-style: italic;">,startSmoke);</span><br /><span style="font-style: italic;"> }</span><br /> <br /> <span style="font-style: italic; color: gray;">/*atach a particle to the parent movieclip*/</span><br /><span style="font-style: italic;"> smoke_mc.</span><span style="color: rgb(51, 51, 255); font-style: italic;">addChild</span><span style="font-style: italic;">(smokeParticle());</span><br /><span style="font-style: italic;"> }</span><br /> <br /> <br /> <span style="font-style: italic; color: gray;">/*Create and return a fully formed smoke particle*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private function</span><span style="font-style: italic;"> smokeParticle():</span><span style="color: rgb(51, 51, 255); font-style: italic;">Sprite</span><br /><span style="font-style: italic;"> {</span><br /><span style="font-style: italic;"> var smokePart:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Sprite</span><span style="font-style: italic;"> =</span><span style="color: rgb(51, 51, 255); font-style: italic;"> new Sprite</span><span style="font-style: italic;">();</span><br /> <br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 153, 153); font-style: italic;">graphics.beginFill</span><span style="font-style: italic;">(color);</span><br /> <br /> <span style="font-style: italic; color: gray;">/*create the particle at a random point<br /> between +2 and -2 pixels from the given<br /> X coordinate*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">var</span><span style="font-style: italic;"> randX = -2+</span><span style="color: rgb(51, 51, 255); font-style: italic;">Math.random</span><span style="font-style: italic;">()*4;</span><br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 51, 255); font-style: italic;">graphics.drawCircle</span><span style="font-style: italic;">(randX,0,partRadius);</span><br /> <br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 51, 255); font-style: italic;">graphics.endFill</span><span style="font-style: italic;">();</span><br /> <br /> <span style="font-style: italic; color: gray;">/*blur the particle*/</span><br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 51, 255); font-style: italic;">filters</span><span style="font-style: italic;">=[blur];</span><br /> <br /> <span style="font-style: italic; color: gray;">/*add more randomness to the X coordinate*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">var</span><span style="font-style: italic;"> randDist = -10+</span><span style="color: rgb(51, 51, 255); font-style: italic;">Math.random</span><span style="font-style: italic;">()*20;</span><br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 51, 255); font-style: italic;">x</span><span style="font-style: italic;">+=randDist;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*move the particles*/</span><br /><span style="font-style: italic;"> smokePart.</span><span style="color: rgb(51, 51, 255); font-style: italic;">addEventListener(Event.ENTER_FRAME</span><span style="font-style: italic;">,moveUp);</span><br /> <br /> <span style="color: rgb(51, 51, 255); font-style: italic;">return</span><span style="font-style: italic;"> smokePart;</span><br /><span style="font-style: italic;"> }</span><br /> <br /> <br /> <span style="font-style: italic; color: gray;">/*<br /> move and resize the particles<br /> change the values to see their<br /> effects on the smoke<br /> */</span> <br /> <span style="color: rgb(51, 51, 255); font-style: italic;">private function</span><span style="font-style: italic;"> moveUp(e:</span><span style="color: rgb(51, 51, 255); font-style: italic;">Event</span><span style="font-style: italic;">)</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*if the particle is visible*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">if</span><span style="font-style: italic;">(e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.alpha</span><span style="font-style: italic;">>0)</span><br /><span style="font-style: italic;"> {</span><br /> <span style="font-style: italic; color: gray;">/*move it upwards*/</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.y</span><span style="font-style: italic;">-=1;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*increase the width*/</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.width</span><span style="font-style: italic;">+=0.5;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*incraese the height at a lesser rate*/</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.height</span><span style="font-style: italic;">+=0.3;</span><br /> <br /> <span style="font-style: italic; color: gray;">/*reduce the alpha*/</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.alpha</span><span style="font-style: italic;">-=.004;</span><br /><span style="font-style: italic;"> }</span><br /> <span style="font-style: italic; color: gray;">/*if the particle is not visible<br /> restore Y to 0 ,X to a random<br /> value, width and height to the<br /> original radius and the alpha to 1*/</span><br /> <span style="color: rgb(51, 51, 255); font-style: italic;">else</span><br /><span style="font-style: italic;"> {</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.y</span><span style="font-style: italic;">=0;</span><br /> <br /> <span style="color: rgb(51, 51, 255); font-style: italic;">var</span><span style="font-style: italic;"> randDist = -5+</span><span style="color: rgb(51, 51, 255); font-style: italic;">Math.random</span><span style="font-style: italic;">()*10;</span><br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget</span><span style="font-style: italic;">.</span><span style="color: rgb(51, 51, 255); font-style: italic;">x</span><span style="font-style: italic;">+=randDist;</span><br /> <br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.width</span><span style="font-style: italic;">=partRadius;</span><br /> <br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.height</span><span style="font-style: italic;">=partRadius;</span><br /> <br /><span style="font-style: italic;"> e.</span><span style="color: rgb(51, 51, 255); font-style: italic;">currentTarget.alpha</span><span style="font-style: italic;">=1;</span><br /><span style="font-style: italic;"> }</span><br /><span style="font-style: italic;"> }</span><br /><span style="font-style: italic;"> }</span><br /><span style="font-style: italic;">}</span><br /><br />This will be your custom class. Save this file in the folder named "script", with the name "Smoke.as". Now open<br /><br />your .fla file and hit Ctrl+J to bring up the Document Properties window and set the Width and Height to 200<br /><br />and 300 and the Background Color to 0x000000 (Black).<br />Click on Ok and then select the first frame of the layer and hit F9. In the Actions window that pops up, Copy<br /><br />the following lines of code<br /><br /><span style="font-style: italic; color: gray;">/*import the custom class*/</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;">import</span><span style="font-style: italic;"> script.Smoke;</span><br /><br /><span style="font-style: italic; color: gray;">/*call the constructor to create a new instance of the Smoke class<br /> change the X and Y coordinates and the Color of the smoke here.<br />*/</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;">var</span><span style="font-style: italic;"> smoke:Smoke=</span><span style="color: rgb(51, 51, 255); font-style: italic;">new</span><span style="font-style: italic;"> Smoke(100,150,0xBBBBBB);</span><br /><br /><span style="font-style: italic; color: gray;">/*add the instance to the stage*/</span><br /><span style="color: rgb(51, 51, 255); font-style: italic;">addChild</span><span style="font-style: italic;">(smoke);</span><br /><br />Thats it. Hit Ctrl+Enter to test your movie.<br />**<br />Add Objects to your movie and create multiple instances with different colors for a more complicated effect<br /><br />Download the source files <a href="http://www.fileden.com/files/2009/9/5/2565234/refl/smoke.zip"> here</a>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-52022481537766059302009-10-26T05:23:00.000-07:002009-10-26T05:24:05.409-07:00Create a 3-D Image Reflection Effect using flash<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="reflection" align="middle" height="500" width="350"><embed src="http://www.fileden.com/files/2009/9/5/2565234/refl/reflection.swf" quality="high" bgcolor="#000000" name="reflection" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" align="middle" height="500" width="350"></embed><br /></object><br /><br />This tutorial is insprired by the one i saw <a href="http://www.flashandmath.com/howtos/reflection3d/index.html">here</a> but my application is actually different. I will use flters instead of masks<br />The 3-D effect is achieved with the application of the flash.display.BitmapData class and various Filters.<br /><br />First we import an image on to the libray Through File->Import->Import to Library.. .here I am using a 200x200 album cover of Flipsyde's first album "We the People".<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkPjKCWtpP-uRNaz6ZgDQq2P2VeGwjE_DGm1Y-AlKtJF6WZKIl4dxKLRU_5J7kRlhoG7yWyFwXFFVNS9Rik9JTT7ZN8gMG-HvjoAP9NPg5LdhhW1vhaIl1vl1fMTOJGoatND0KtKpdH4/s1600-h/cover.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkPjKCWtpP-uRNaz6ZgDQq2P2VeGwjE_DGm1Y-AlKtJF6WZKIl4dxKLRU_5J7kRlhoG7yWyFwXFFVNS9Rik9JTT7ZN8gMG-HvjoAP9NPg5LdhhW1vhaIl1vl1fMTOJGoatND0KtKpdH4/s400/cover.JPG" alt="" id="BLOGGER_PHOTO_ID_5380468038917665682" border="0" /></a><br />Now go to the library and right click on the image and select Properties. In the Linkage properties select Export For Actionscript and set the class name as pic;<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Z_vzF48sfFX2eEc24I2tcvvlc81skM6DpZ6emL7UaYTuQIgAJ5-vhvUHfGW5Oqgp8NVtRcvTgMj45GisvKHcOXteh3QtL0h1dhv-ovkObBFTr1dzVnqLBIKU40j_XCuf-yXCjmgJc-8/s1600-h/1.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 379px; height: 157px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Z_vzF48sfFX2eEc24I2tcvvlc81skM6DpZ6emL7UaYTuQIgAJ5-vhvUHfGW5Oqgp8NVtRcvTgMj45GisvKHcOXteh3QtL0h1dhv-ovkObBFTr1dzVnqLBIKU40j_XCuf-yXCjmgJc-8/s400/1.bmp" alt="" id="BLOGGER_PHOTO_ID_5380468017446084194" border="0" /></a><br />Create a new movieclip to rotate your image and its reflection. Mine looks like this<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUyjwfIcbdhD-wSHMoigW7n0PJbOecyrA0_0mmmLV0Yb2SdzTyYpwxmuTdPPBpnOZPCqERDYdwjufReAoyggkQUXc2UR_eEeMMphKHI0IyuAdkgASIcgNMIV6XE7BU2Y353ZHnsY4hSWU/s1600-h/2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 124px; height: 47px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUyjwfIcbdhD-wSHMoigW7n0PJbOecyrA0_0mmmLV0Yb2SdzTyYpwxmuTdPPBpnOZPCqERDYdwjufReAoyggkQUXc2UR_eEeMMphKHI0IyuAdkgASIcgNMIV6XE7BU2Y353ZHnsY4hSWU/s400/2.bmp" alt="" id="BLOGGER_PHOTO_ID_5380468021000195682" border="0" /></a><br />Drag two instances of this on to the stage and rotate one to point to the right. give them instance names "l_mc" and "r_mc".<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5Iao2saj1iwDLPsi5yQxG7KnIeje1QGxiWDeCTQsFrsnGyB9cNBECBAGJGwKVxQ0K5WbHGfj3vumZuAwqZsjVDglG6t2_tQEiySzc3MlX_s_chxT480ZgFk5fJsLZI-a6ipSfsN0L9Fg/s1600-h/3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 188px; height: 63px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5Iao2saj1iwDLPsi5yQxG7KnIeje1QGxiWDeCTQsFrsnGyB9cNBECBAGJGwKVxQ0K5WbHGfj3vumZuAwqZsjVDglG6t2_tQEiySzc3MlX_s_chxT480ZgFk5fJsLZI-a6ipSfsN0L9Fg/s400/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5380468027303072146" border="0" /></a><br /><br />That done select the first frame of the Layer and copy and paste the following code<br /><br /><span style="color: gray;">/*image dimensions*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> imageHt=200;<br /><span style="color: rgb(51, 51, 255);">var</span> imageWd=200;<br /><br /><span style="color: gray;">/*indicates the magnitude of rotation*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> rot=0;<br /><br /><span style="color: gray;">/*flags the direction of rotation*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> goLeft:<span style="color: rgb(51, 51, 255);">Boolean</span> =<span style="color: rgb(51, 51, 255);"> false</span>;<br /><span style="color: rgb(51, 51, 255);">var</span> goRight:<span style="color: rgb(51, 51, 255);">Boolean</span> =<span style="color: rgb(51, 51, 255);"> false</span>;<br /><br /><span style="color: gray;">/**load the image from the library into a bitmap data*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> bitmap:<span style="color: rgb(51, 51, 255);">BitmapData</span>=<span style="color: rgb(51, 51, 255);">new</span> pic(imageHt,imageWd);<br /><br /><span style="color: gray;">/*declare the container Sprites. "actual" will hold the image<br />"reflection" will hold the reflection and "container" will<br />hold these two*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> container:<span style="color: rgb(51, 51, 255);">Sprite</span> = <span style="color: rgb(51, 51, 255);">new Sprite</span>();<br /><span style="color: rgb(51, 51, 255);">var</span> actual:<span style="color: rgb(51, 51, 255);">Sprite</span> = <span style="color: rgb(51, 51, 255);">new Sprite</span>();<br /><span style="color: rgb(51, 51, 255);">var</span> reflection:<span style="color: rgb(51, 51, 255);">Sprite</span> = <span style="color: rgb(51, 51, 255);">new Sprite</span>();<br /><br /><span style="color: gray;">/*load the bitmap data into two bitmaps to<br />display the image and its reflection resp.*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> imgage:<span style="color: rgb(51, 51, 255);">Bitmap</span>= <span style="color: rgb(51, 51, 255);">new Bitmap</span>(bitmap);<br /><span style="color: rgb(51, 51, 255);">var</span> refl:<span style="color: rgb(51, 51, 255);">Bitmap</span> = <span style="color: rgb(51, 51, 255);">new Bitmap</span>(bitmap);<br /><br /><span style="color: gray;">/*<br />Filters for the reflection. the parameters are<br />Blur Filter - (blurX,blurY,quality).<br />Bevel Filter - (distance, angle, highlight color,highlight alpha,<br /> shadow color,shadow alpha,blurX,blurY,quality,<br /> strength,type).<br />notice the filter is applied just to the container bitmap,<br />not the bitmap data itself.<br />*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> _blur:<span style="color: rgb(51, 51, 255);">BlurFilter</span> = <span style="color: rgb(51, 51, 255);">new BlurFilter</span>(3,3,1);<br /><span style="color: rgb(51, 51, 255);">var</span> _bevel:<span style="color: rgb(51, 51, 255);">BevelFilter</span> = <span style="color: rgb(51, 51, 255);">new BevelFilter</span>(50,90,0x000000,1,0x003366,.2,1,70,1,1,<span style="color: rgb(0, 153, 0);">"inner"</span>);<br />refl.<span style="color: rgb(51, 51, 255);">filters</span>=[_blur,_bevel];<br /><br /><br /><br /><span style="color: gray;">/*attach the image to the top Sprite container*/</span><br />actual.<span style="color: rgb(51, 51, 255);">addChild</span>(imgage);<br />actual.<span style="color: rgb(51, 51, 255);">x</span> = -imageHt/2;<br />actual.<span style="color: rgb(51, 51, 255);">y</span> = 0;<br />container.<span style="color: rgb(51, 51, 255);">addChild</span>(actual);<br /><br /><br /><span style="color: gray;">/*flip the reflection along the X axis and attach<br /> the image to the top Sprite container*/</span><br />reflection.<span style="color: rgb(51, 51, 255);">rotationX</span> = 180;<br />reflection.<span style="color: rgb(51, 51, 255);">addChild</span>(refl);<br />reflection.<span style="color: rgb(51, 51, 255);">x</span> = -imageHt/2;<br />reflection.<span style="color: rgb(51, 51, 255);">y</span> = 2*imageWd+1;<br />container.<span style="color: rgb(51, 51, 255);">addChild</span>(reflection);<br /><br /><span style="color: gray;">/*attach the top level container to the stage*/</span><br />container.<span style="color: rgb(51, 51, 255);">x</span>=175;<br />container.<span style="color: rgb(51, 51, 255);">y</span> = 40;<br /><span style="color: rgb(51, 51, 255);">addChild</span>(container);<br /><br /><span style="color: gray;">/*this creates an improved rotational effect.<br />change the value of pp.fieldOfView to see<br />what happens*/</span><br /><span style="color: rgb(51, 51, 255);">var</span> pp:<span style="color: rgb(51, 51, 255);">PerspectiveProjection=new PerspectiveProjection</span>();<br />pp.<span style="color: rgb(51, 51, 255);">fieldOfView</span>=15;<br />container.<span style="color: rgb(51, 51, 255);">transform.perspectiveProjection</span>=pp;<br /><br /><br /><span style="color: gray;">/*add listeners*/</span><br />addEventListener(Event.ENTER_FRAME,rotate)<br />l_mc.<span style="color: rgb(51, 51, 255);">addEventListener(MouseEvent.MOUSE_OVER</span>,rotLeft);<br />r_mc.<span style="color: rgb(51, 51, 255);">addEventListener(MouseEvent.MOUSE_OVER</span>,rotRight);<br /><br />l_mc.<span style="color: rgb(51, 51, 255);">addEventListener(MouseEvent.MOUSE_OUT</span>,stopLeft);<br />r_mc.<span style="color: rgb(51, 51, 255);">addEventListener(MouseEvent.MOUSE_OVER</span>,stopRight);<br /><br /><span style="color: gray;">/*start left rotation*/</span><br /><span style="color: rgb(51, 51, 255);">function</span> rotLeft(e:<span style="color: rgb(51, 51, 255);">MouseEvent</span>)<br />{<br />goLeft=true;<br />}<br /><br /><span style="color: gray;">/*start right rotation*/</span><br /><span style="color: rgb(51, 51, 255);">function</span> rotRight(e:<span style="color: rgb(51, 51, 255);">MouseEvent</span>)<br />{<br />goRight=true;<br />}<br /><br /><span style="color: gray;">/*stop left rotation*/</span><br /><span style="color: rgb(51, 51, 255);">function</span> stopLeft(e:<span style="color: rgb(51, 51, 255);">MouseEvent</span>) {<br />goLeft=false;<br />}<br /><br /><span style="color: gray;">/*stop right rotation*/</span><br /><span style="color: rgb(51, 51, 255);">function</span> stopRight(e:<span style="color: rgb(51, 51, 255);">MouseEvent</span>) {<br />goRight=false;<br />}<br /><br /><span style="color: gray;">/*rotate by the given amount*/</span><br /><span style="color: rgb(51, 51, 255);">function</span> rotate(e:<span style="color: rgb(51, 51, 255);">Event</span>) {<br />container.<span style="color: rgb(51, 51, 255);">rotationY</span>=rot;<br /><span style="color: rgb(51, 51, 255);">if</span>(goLeft)<br /> rot+=4;<br /><span style="color: rgb(51, 51, 255);">else if</span>(goRight)<br /> rot-=4;<br />}<br /><br />Hit <span style="font-weight: bold;">Ctrl+Enter</span> to test your movie. Change the background to suit your visual needs.<br /><br />Download the .fla file <a href="http://www.fileden.com/files/2009/9/5/2565234/refl/reflection.zip"><span style="color: rgb(51, 51, 255);">here</span></a>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-35059200017842747262009-10-26T05:21:00.001-07:002009-10-26T05:21:58.199-07:00Advanced header animation using flashRead this thoroughly explained, detailed flash lesson and see how to create advanced header animation using some special flash tips and tricks, mouse cursor and action script code. You can use this animation for any flash header, presentation or for some flash components. Using this lesson, you will also learn how to import any object into a flash stage, how to convert it into a Movie Clip Symbol, how to apply action script ode on it and much much more!<br /><br /><em>Example:<br /><br />Move your mouse cursor over the image!<br /><br /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.toxiclab.org/img/519310_swf.swf" type="application/x-shockwave-flash" full="" swf="" quality="high" height="300" width="450"></embed> </em><br /><br /><strong>Step 1</strong><br /><br />First, save the image below that we will use for this lesson.<br /><br /><img src="http://www.toxiclab.org/img/9936_background.jpg" /><br /><br /><strong>Step 2</strong><br /><br />Create a new flash document. Press Ctrl+J key on the keyboard (Document Properties) and set the width of your document to 450 pixels and the height to 300 pixels. Select white color as background color. Set your Flash movie's frame rate to 34 and click ok.<br /><br /><strong>Step 3</strong><br /><br />Call the current layer image. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name!<br /><br /><strong>Step 4</strong><br /><br />Choose now File > Import > Import to stage (Ctrl+R) and import the image that you just saved in step 1 into a flash stage. While the image is still selected, go to the Align Panel (Ctrl+K) and do the following:<br /><br />1. Make sure that the Align/Distribute to Stage button is turned on,<br />2. Click on the Align horizontal center button and<br />3. Click the Align vertical center button.<br /><br /><img src="http://www.toxiclab.org/img/56936_img1.gif" /><br /><br /><strong>Step 5</strong><br /><br />While the image is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol.<br /><br /><img src="http://www.toxiclab.org/img/15937_img2.gif" /><br /><br /><strong>Step 6</strong><br /><br />Click now on frame 25,30 and 50 and hit F6 key. While you're still on frame 50, select the Selection Tool (V) and click once on the image to to select it. After that, go to the AS panel (F9) and enter this code inside the actions panel:<br /><br />onClipEvent (enterFrame) {<br /> if(_root.as_image_animation==1) {<br /> homeX = -_root._xmouse/5+450-180;<br /> diffX = homeX-_x;<br /> moveX = diffX/8;<br /> if(Math.abs(moveX)>0.5) {<br /> _x += moveX;<br /> }<br /> }<br />}<br /><br /><strong>Step 7</strong><br /><br />Go back now on the first frame and place the image on the position like it is shown on the picture below!<br /><br /><img src="http://www.toxiclab.org/img/53938_img3.gif" /><br /><br /><strong>Step 8</strong><br /><br />Select the Selection Tool (V) and click once on the image to select it. After that, go to the Properties Panel (Ctrl+F3) below the stage! Then, select Filters tab from the left side. Click after that on the plus icon and select the Blur filter. Make the adjustments as follows:<br /><br /><img src="http://www.toxiclab.org/img/9939_img4.gif" /><br /><br /><strong>Step 9</strong><br /><br />Select now frame 25 and place the image on the position like it is shown on the picture below!<br /><br /><img src="http://www.toxiclab.org/img/27939_img5.gif" /><br /><br /><strong>Step 10</strong><br /><br />Right-click anywhere on the gray area between frame 1 and 25 and frame 25 and 30 on the timeline and choose Create Motion Tween from the menu that appears.<br /><br /><img src="http://www.toxiclab.org/img/48939_img6.gif" /><br /><br /><strong>Step 11</strong><br /><br />Select now frame 50 again and go to the Action Script Panel (F9). After that, enter this code inside the actions panel:<br /><br />stop();<br /><br /><strong>Step 12</strong><br /><br />Create a new layer above the layer image and name it action script. After that, select frame 50 and hit F6 key. While you're still on frame 50, go again on the As panel (F9) and enter this code inside the actions panel:<br /><br />_root.as_image_animation=1;<br /><br />We're done now!<br /><br />Test your movie and enjoy!volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-18320505925245385352009-10-26T05:18:00.000-07:002009-10-26T05:20:29.402-07:00Realistic frame by frame bird fly animation in flashIn this thoroughly explained, detailed flash lesson, I will show you how to create realistic, frame by frame bird fly animation using some special flash tips and tricks. You don't have to use action script code to make this lesson. Using this lesson, you will see how to draw, frame by frame bird wings moving, how to convert bird into a movie clip symbol, how to animate it and much much more. You can use this lesson for any flash header, banner or for some other flash components. Let's start!<br /><br /><em>Example:<br /><br /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.flashvault.net/img/20099434_swf.swf" type="application/x-shockwave-flash" quality="high" height="239" width="450"></embed> </em><br /><br /><strong>Step 1</strong><br /><br />First, save the image below that we will use for this lesson as background.<br /><br /><img src="http://www.flashvault.net/img/20099418_bakcground.jpg" /><br /><br /><strong>Step 2</strong><br /><br />Create a new flash document. Press Ctrl+J key on the keyboard (Document Properties) and set the width of your document to 450 pixels and the height to 239 pixels. Select any color as background color. Set your Flash movie's frame rate to 34 and click ok.<br /><br /><strong>Step 3</strong><br /><br />Call the current layer background. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name!<br /><br /><strong>Step 4</strong><br /><br />Choose File > Import > Import to stage (Ctrl+R) and import the image that you just saved in step 1 into a flash stage. While the image is still selected, go to the Align Panel (Ctrl+K) and do the following:<br /><br />1. Make sure that the Align/Distribute to Stage button is turned on,<br />2. Click on the Align horizontal center button and<br />3. Click the Align vertical center button.<br /><br /><img src="http://www.flashvault.net/img/20099418_img1.gif" /><br /><br /><strong>Step 5<br /><br /></strong>Click now on frame 100 and hit F5 key.<br /><br /><strong>Step 6<br /><br /></strong>Create a new layer above the layer background and name it bird. It's time for drawing, so, using the Line Tool and Paing Bucket Tool, draw a bird body without wings like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099419_img2.gif" /><br /><br />While the bird body is still selected, hit F8 key (Convert to Symbol, to convert it into a Movie Clip Symbol.<br /><br /><img src="http://www.flashvault.net/img/20099419_img3.gif" /><br /><br /><strong>Step 7</strong><br /><br />Double-click on the movie clip on stage with the Selection tool(V).You should now be inside the Movie Clip.<br /><br /><img src="http://www.flashvault.net/img/20099420_img4.gif" /><br /><br /><strong>Step 8</strong><br /><br />Call the current layer bird body. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name!<br /><br /><strong>Step 9</strong><br /><br />Click now on frame 30 and hit F5 key.<br /><br /><strong>Step 10</strong><br /><br />It's time for wing animation, so create a new layer above the layer bird body and name it wing 1.<br /><br /><strong>Step 11</strong><br /><br />Select now wing 1 layer and using the flash tools for drawing, draw just one wing like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099421_img5.gif" /><br /><br /><strong>Step 12<br /></strong><br />Select now frame 2 and hit F6 key. After that, set the wing shape on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099421_img6.gif" /><br /><br /><strong>Step 13</strong><br /><br />Select now frame 4 and hit F6 key. After that, set the wing shape on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099422_img7.gif" /><br /><br /><strong>Step 14</strong><br /><br />Click now on frame 6, hit F6 key and make this wing shape.<br /><br /><img src="http://www.flashvault.net/img/20099422_img8.gif" /><br /><br /><strong>Step 15</strong><br /><br />Select now frame 8, hit F6 key and make this wing shape.<br /><br /><img src="http://www.flashvault.net/img/20099422_img9.gif" /><br /><br /><strong>Step 16</strong><br /><br />Select now frame 10, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099423_img10.gif" /><br /><br /><strong>Step 17</strong><br /><br />Select now frame 12, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099423_img11.gif" /><br /><br /><strong>Step 18</strong><br /><br />Select now frame 14, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img12.gif" /><br /><br /><strong>Step 19</strong><br /><br />Select now frame 16, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img13.gif" /><br /><br /><strong>Step 20</strong><br /><br />Select now frame 18, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img14.gif" /><br /><br /><strong>Step 21</strong><br /><br />Select now frame 20, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img15.gif" /><br /><br /><strong>Step 22</strong><br /><br />Select now frame 22, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img16.gif" /><br /><br /><strong>Step 23</strong><br /><br />Select now frame 24, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img17.gif" /><br /><br /><strong>Step 24</strong><br /><br />Select now frame 26, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img18.gif" /><br /><br /><strong>Step 25</strong><br /><br />Select now frame 28, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img19.gif" /><br /><br /><strong>Step 26</strong><br /><br />Select now frame 30, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099426_img20.gif" /><br /><br /><strong>Step 27</strong><br /><br />We're done with the first wing and it's time for another wing. <br /><br /><strong>Step 11</strong><br /><br />Select now wing 1 layer and using the flash tools for drawing, draw just one wing like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099421_img5.gif" /><br /><br /><strong>Step 12<br /></strong><br />Select now frame 2 and hit F6 key. After that, set the wing shape on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099421_img6.gif" /><br /><br /><strong>Step 13</strong><br /><br />Select now frame 4 and hit F6 key. After that, set the wing shape on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099422_img7.gif" /><br /><br /><strong>Step 14</strong><br /><br />Click now on frame 6, hit F6 key and make this wing shape.<br /><br /><img src="http://www.flashvault.net/img/20099422_img8.gif" /><br /><br /><strong>Step 15</strong><br /><br />Select now frame 8, hit F6 key and make this wing shape.<br /><br /><img src="http://www.flashvault.net/img/20099422_img9.gif" /><br /><br /><strong>Step 16</strong><br /><br />Select now frame 10, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099423_img10.gif" /><br /><br /><strong>Step 17</strong><br /><br />Select now frame 12, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099423_img11.gif" /><br /><br /><strong>Step 18</strong><br /><br />Select now frame 14, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img12.gif" /><br /><br /><strong>Step 19</strong><br /><br />Select now frame 16, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img13.gif" /><br /><br /><strong>Step 20</strong><br /><br />Select now frame 18, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img14.gif" /><br /><br /><strong>Step 21</strong><br /><br />Select now frame 20, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099424_img15.gif" /><br /><br /><strong>Step 22</strong><br /><br />Select now frame 22, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img16.gif" /><br /><br /><strong>Step 23</strong><br /><br />Select now frame 24, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img17.gif" /><br /><br /><strong>Step 24</strong><br /><br />Select now frame 26, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img18.gif" /><br /><br /><strong>Step 25</strong><br /><br />Select now frame 28, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099425_img19.gif" /><br /><br /><strong>Step 26</strong><br /><br />Select now frame 30, hit F6 key and make this wing shape<br /><br /><img src="http://www.flashvault.net/img/20099426_img20.gif" /><br /><br /><strong>Step 27</strong><br /><br />We're done with the first wing and it's time for another wing. <br /><br /><div style="margin: 0px 10px 10px;"> <div id="EchoTopic"> <p><strong>Step 46</strong></p> <p>Go back on the main scene (Scene 1).<br /><br /><strong>Step 47</strong><br /><br />Click now on frame 70 and 100 of layer bird and hit F6 key. While you're still on frame 100, place the bird on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099432_img38.gif" /><br /><br /><strong>Step 48</strong><br /><br />Go back now on frame 70 and place the bird on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099432_img39.gif" /><br /><br /><strong>Step 49</strong><br /><br />Go back now on the first frame and place the bird on the position like it is shown on the picture below!<br /><br /><img src="http://www.flashvault.net/img/20099433_img40.gif" /><br /><br /><strong>Step 50</strong><br /><br />Right-click anywhere on the gray area between frame 1 and 70 and frame 70 and 100 on the timeline and choose Create Motion Tween from the menu that appears.<br /><br /><img src="http://www.flashvault.net/img/20099433_img41.gif" /><br /><br />We're done!<br /><br />Test your movie (Ctrl+Enter) and enjoy!<br /><br /><strong><a href="http://www.flashvault.net/img/20099417_fla.fla">Download source file (.fla)</a></strong></p> </div> </div>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-62872153199678065322009-10-26T05:12:00.000-07:002009-10-26T05:14:12.909-07:00Sparkling Glass Effect in Flash<p>This tutorial will teach you how to create a sparkling effect or twinkling star effect in Flash MX. This tutorial is for people who are comfortable with movie clips using Flash MX. You can try the Sparkling Effect on a diamond ring or on text also. <br /> <span class="red">Please note:</span><br /> 1. You need to have <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Flash Player 7.0</a> installed to view the Flash animation.<br /> 2. Flash MX 2004 or higher must be installed on your system to open the .fla file.</p> <h2>STEPS TO FOLLOW</h2> <ol><li><span class="subtitleblue"><strong>Import the Background Image </strong></span><br /> Open a new file. Go to <strong>File >New</strong>. Select Flash Document. Click OK. <br /> Go to<strong> Modify > Document</strong> to give a file size of 180px by 400px. This is the same size as the Bitmap picture we have. Select the Bitmap pictures which you want to put as background and bring it to the Flash Library by clicking on<strong> Select File > Import to Library</strong> from the Menu Bar. Go to <strong>Window > Library</strong>, You can see the picture in the Library panel. Drag the picture named Bitmap to the Stage. Select the picture by clicking on it. This will be your first layer, name it background.<br /> <br />Now you have to create 7 movie clips. You have to have basic knowledge in FLASH MX to do this. As you know movie clips work independently, and you can use them whenever required.<br /> <span class="subtitleblue"><br /> </span></li><li><span class="subtitleblue"><strong>Create a Rotating Star Movie Clip </strong></span><br /> Create a new layer. Name it sparkle.<br /> <br /> Go to <strong>Insert > New Symbol</strong>. The 'Create New symbol' screen will appear. Name this movie clip ' star_mc'. Click OK. You will be directed inside the movie clip. Now select the <strong>PolyStar Tool.</strong> To select the Polystar tool , first go to the Rectangle tool and select it in the drop down menu as seen below.<br /> <img src="http://www.entheosweb.com/images/flash/polystartool.jpg" alt="polystar" height="85" width="151" /><br /> Go to the Properties window. Go to <strong>Options</strong>. A screen called <strong>Tool Settings </strong>will appear.<br /> <img src="http://www.entheosweb.com/images/flash/tool.jpg" alt="tool settings" height="162" width="216" /><br /> <p>Enter these values and click OK:<br /> Style: <strong>Star</strong><br /> Number of sides: <strong>4</strong>.<br /> Star Point Size: <strong>0.10</strong>.<br /> <br />Now draw the Star (without a stroke color). Make the star into a movie clip entitled star_mc. Now double click on it. On frame 1 you will see your star. Go to Properties>Tween. Select Motion from the drop down Menu. Name it as star_in_mc. Go to frame 10. Press F6 to insert a new keyframe. Select the star and go to<strong> Modify > Transform > Rotate CW</strong>. Repeat Modify>Transform>Rotate CW thrice. Your rotating Star movie Clip is ready. You will see it in the Library Window also. This movie clip star_mc will not be there in the sparkle layer but stored in the Library, we will use it later.</p> </li><li> <p> </p><table align="right" border="0" cellpadding="0" cellspacing="1"> <tbody><tr> <td><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 250px; position: relative; visibility: visible; width: 300px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 250px; position: relative; visibility: visible; width: 300px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame2" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1148387067248465&output=html&h=250&slotname=5692836953&w=300&lmt=1256555481&flash=9.0.124&url=http%3A%2F%2Fwww.entheosweb.com%2FFlash%2Fsparkling_effect.asp&dt=1256555506103&prev_slotnames=0607187128&correlator=1256555505781&frm=0&ga_vid=1300536682.1256555506&ga_sid=1256555506&ga_hid=1533119148&ga_fc=0&u_tz=60&u_his=2&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=700&ref=http%3A%2F%2Fwww.toxiclab.org%2Ftutorial-details.asp%3FID%3D2338&fu=0&ifi=2&dtd=6&xpc=SnwJzLa2zq&p=http%3A//www.entheosweb.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="250" scrolling="no" width="300"></iframe></ins></ins></td> </tr> </tbody></table> <strong class="subtitleblue">Create a movie clip with a small opaque circle that increases in size and becomes almost transparent.</strong><br />Draw a circle with Oval Tool, choose the fill color as white and make it 2px by 2px. Select it. Go to Modify>Convert to Symbol from the Menu Bar. A dialog Box named Create New Symbol will appear. Give the name as shade_mc. Select Movie Clip. Click on OK. double click on it. You will be inside the Movie clip and in your first frame you will see the dot. Select it. Go to Modify>Convert to Symbol from the Menu Bar. A dialog Box named Create New Symbol will appear. Give the name as shade_in_mc. Go to Frame5. Press F6 to insert keyframe. Go to Properties>Tween. Select Motion from the drop down Menu. Go to Frame 10. Press F6 to insert keyframe. Now go to Frame 5. Select your movie clip. Increase the size to 14.3px by 14.3px. Go to Frame 1. Select the dot. Go to Properties. Select Color as Alpha in the drop down menu and give 100%. Go to Frame 5. Select the dot. Go to Properties. Select Color as Alpha in the drop down menu and give 10%. Go to Frame 10. Select the dot. Go to Properties. Select Color as Alpha in the drop down menu and give 5%. This movie clip shade_mc will not be there in the sparkle layer but stored in the Library, we will use it later.<br /> <br /> </li><li><strong class="subtitleblue">Create another movie clip with a star which becomes smaller at a slower rate than our 1st star movie clip. </strong><br />Go to Main Scene. Go to Insert > New Symbol. The Create New symbol screen will appear. We will name your first movie clip as star_mc. You will be directed inside the movie clip. Now go to PolyStar Tool. To go to polystar tool , first go to rectangle tool and select it in the drop down menu. Go to Properties window. Go to Options. A screen called Tool Settings will appear. Select Style, in the drop down menu as Star. Select Number of sides 4. Select Star Point Size as 0.10. Click on OK. Give color as white.<br />Now draw the Star. Give the size to 23px by 23px. Select the edge and delete them. Choose the star and make it a Movie Clip. Name it star_s_mc. Now double click on it. On frame 1 you will see your star. Go to frame 10. Press F6 to insert a new keyframe. Go to Properties>Tween. Select Motion from the drop down Menu. Go to Frame20. Press F6 to insert keyframe. Go to Properties>Tween. Select Motion from the drop down Menu. Now go to frame 10. Select your movie clip. Go to Properties. Give the size to 9px by 9px. This movie clip star_s_mc will not be there in the sparkle layer but stored in the Library, we will use it later.<br /> <strong><br /> </strong></li><li><strong class="subtitleblue">Create the sparkle movie clip by combining the movie clips created above and place it where required. </strong><br />You have already created 6 movie clips. Now we will create the last main movie clip. Go to Insert>New Symbol. The Create New symbol screen will appear. We will name your main movie clip as sparkle_mc. You will be directed inside the movie clip. Drag in here these 3 movie clips : star_mc, shade_mc , star_s_mc because when they are combined they will give the sparkle effect, and adjust them properly in the middle. Now go to your main scene. Go to layer sparkle. Drag the Main movie Clip sparkle_mc wherever you want the Sparkling Glass Effect to be seen. You can use it on a diamond ring, a golden jewelry or on sparkling text also.<br /> <br /> </li><li>Save your file as sparkle.fla. Press on Ctrl+Enter to see the Sparkling Glass Effect. This will create automatically sparkle.swf file.<span class="red"><br /> </span></li></ol> <p><span class="red">Congratulations! Your Sparkling Glass Effect is ready. </span></p> <p><a href="http://www.entheosweb.com/Flash/downloads/Sparkle.zip">Download the .fla file </a></p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-27008596103497387032009-10-26T05:09:00.001-07:002009-10-26T05:09:29.919-07:00FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS<p style="text-align: left;"><strong>HOW TO INCREASE YOUR CLICK RATE WITH FLASH BANNERS</strong></p> <div style="width: 180px; float: left; margin-left: 100px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="150" width="180"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation.swf" height="150" width="180"></embed></object></div> <div style="width: 300px; float: right; margin-right: 100px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="300" width="300"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/old_book.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/old_book.swf" height="300" width="300"></embed></object></div> <p style="text-align: left;"> </p><p style="text-align: left;">As websites became more diverse in color and structure, your banner has more chances of remaining unseen on a webpage, so even though you sell a great product or promote a very useful service, you could end up with poor results with your advertising campaign. What a banner must do is attract the viewer’s attention, and then if he is interested he might drag the cursor over or click (mission accomplished). Since even the finest graphic skills can’t assure that a banner stands out, we suggest you start thinking at animation as an alternative.</p> <p style="text-align: left;">In this article we describe a few ways of creating a <a href="http://www.officialbranding.org/">successful flash banner</a> from both the flasher’s and advertiser’s points of view.</p> <p style="text-align: left;"><strong>ANIMATE EACH PIXEL</strong></p> <div style="width: 180px; float: left; padding-right: 30px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="150" width="180"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation.swf" height="150" width="180"></embed></object></div> <p><a href="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/officialbranding1.zip">Download Source Files</a></p> <p style="text-align: left;"><strong>Purpose:</strong></p> <p style="text-align: left;">This example highlights a pretty easy to implement technique: animating a strong colored background to increase visibility. The actual content can be placed on top and whenever the banner is used on a light colored website, the background animation can be changed with a static image so that the banner is not to annoying. In our example we illustrate a simple fire-like effect created with the help of a default Photoshop Pattern and a few simple Flash Tools, used to promote our brand Official Branding in the <a href="http://www.officialbranding.org/">web design</a> market.</p> <p style="text-align: left;">The disadvantage of this banner is the fact that if the viewer ignores the banner for a long period of time (let’s say he is very focused on reading an article and he completely neglects the sidebar activity) the eye adapts to that repeating motion and the banner passes unseen (it’s in the human nature so don’t fight it).</p> <p style="text-align: left;"><strong>Implementation:</strong></p> <p style="text-align: left;">The trick is to use an image larger than the viewable area, to find two positions that match and then to move the image between those two positions over and over so it creates the impression of a very smooth continuous animation. The effect is based on a simple principle also explained in the image below.</p> <p style="text-align: left;"><img class="size-full wp-image-30 alignnone" title="img1" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img1.jpg" alt="img1" height="181" width="200" /></p> <p style="text-align: left;">If you follow the next steps you will be able to recreate this effect (or download the source file if you have minimum Flash experience).</p> <p style="text-align: left;">Photoshop part:</p> <ul style="text-align: left;"><li>Think of a dimension for your banner and create a new file in Photoshop, twice as high .</li></ul> <ul style="text-align: left;"><li>In the Layers Panel, right click Layer 0 and chose Blending Options.</li></ul> <ul style="text-align: left;"><li>Click on Pattern Overlay and if you are not satisfied with the first default pattern, click on the arrow next to its thumbnail and chose another one.</li></ul> <ul style="text-align: left;"><li>If you also click the Color Tab you can alter the pattern’s color (don’t forget to set the Opacity below 100 so the pattern can be seen).</li></ul> <ul style="text-align: left;"><li>Export this image and remember its location (File/Save for Web).</li></ul> <p style="text-align: left;">Flash Part:</p> <ul style="text-align: left;"><li>Create a new file in Flash, click inside the stage and from the Properties Panel chose the size of the Clip (to mach the size of your banner).</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-35" title="img3" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img3.jpg" alt="img3" height="123" width="249" /></p> <ul style="text-align: left;"><li>Choose File/Import to Stage and find the image already created in Photoshop; now you have the image placed inside the stage.</li></ul> <ul style="text-align: left;"><li>Convert the image into an Object to benefit of Flash’s awesome features ( Right click on the image and chose Convert to Symbol).</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-37" title="img2" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img2.jpg" alt="img2" height="123" width="249" /></p> <ul style="text-align: left;"><li>Make sure the top left corner of the object matches the top left corner of the stage (by dragging the Object or by setting it’s position to 0,0 from the Properties Panel) ;</li></ul> <ul style="text-align: left;"><li>If you look inside the Timeline Panel you will see that you are in the first frame of the animation; right click on another frame (let’s say one beyond frame 30) and press Insert Keyframe;</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-38" title="img4" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img41.jpg" alt="img4" height="123" width="400" /></p> <ul style="text-align: left;"><li> Inside the Timeline make sure you click on the newly created frame, then click on the object and drag it up, into a position where you think the pattern matches the first keyframe (you can fine tune later so you don’t need to be very exact); right click o the first frame and chose Create Motion Tween (this will create movement between those two positions).</li></ul> <ul style="text-align: left;"><li>Press Control/Test Movie from the top menu and verify the effect; Flash creates the movement between the two predefined frames and loops this movement over and over; if you don’t have the smooth effect you were hopping for , try and find the perfect position for the object in the final frame (the secret is to place the object almost in the same position as in the first frame because in this way Flash won’t show you two frames of the object in the same position).</li></ul> <ul style="text-align: left;"><li>What you can also do is press anywhere else inside the Scene and choose the Frame Rate from the Properties Panel; if you increase that value (set default to 12) you will get a nicer, faster movement.</li></ul> <p style="text-align: left;">Our example has something else added. Download it and you will see what that is.</p> <p style="text-align: left;"> </p><p style="text-align: left;"><strong>ADD THE ELEMENT OF SURPRISE</strong></p> <div style="width: 180px; float: left;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="150" width="180"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation2.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation2.swf" height="150" width="180"></embed></object></div> <div style="float: left; margin-left: 20px; margin-right: 30px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="150" width="180"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation3.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/background_animation3.swf" height="150" width="180"></embed></object></div> <p><a href="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/officialbranding2.zip">Download Source Files</a><br /><a href="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/officialbranding3.zip">Download Source Files</a></p> <p><strong>Purpose:</strong></p> <p>The banner presented in the first example had one problem, it was a continuous animation and the visitor can get used to it and not see the information. Another way to attract attention is to add a bit of surprise animation. The idea is to completely change the course of an animation that follows a certain path (like the texts in our example). This is what our examples do, from time to time they completely change the colors or movements to attract attention (and it is noticeable even if the user is focusing on a different area).</p> <p style="text-align: left;">In the first example, after the relevant information is displayed, we alternated full black and full white frames to obtain the “crazy” effect. Second example is pretty self explanatory.</p> <p style="text-align: left;">Download the source files for a better understanding.</p> <p style="text-align: left;"><strong>MAKE THE VISITORS CURIOUS</strong></p> <div style="width: 300px; float: left; margin-right: 30px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="300" width="300"><param name="src" value="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/old_book.swf"><embed type="application/x-shockwave-flash" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/old_book.swf" height="300" width="300"></embed></object></div> <p><a href="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/officialbranding4.zip">Download Source Files</a></p> <p style="text-align: left;"><strong>Purpose:</strong></p> <p style="text-align: left;">A “dirty” way of attracting visitors to click on your banner or just to read it, is by appealing to their curiosity. Think at a kid that it is told not to play with the matches. What will he do? He will not obey. And this is because not being allowed to do a certain thing with no a real explanation, excites the individual to a point where its curiosity becomes so big that he must try it. This childish behavior haunts us in our entire live so we developed an example to prove it.</p> <p style="text-align: left;">I can bet that by now you noticed the bats. I am pretty sure that you have not read even the first paragraph and you went straight for the book. The disadvantage of such a technique is that it can’t be used to promote anything, because if the user clicks on the banner and he is taken to a website that sells industrial machines, he will probably not be very interested. So what a technique like this does is, it brings a lot of clicks, but if the visitor is not kept interested by the new page that he sees, everything is in vain. So my suggestion is: try to create a certain connection between the banner and the page you need to promote (for example you can include a puzzle game in the page so you can better filter the visitors).</p> <p style="text-align: left;">Our example works on two levels: seeing the banner and interacting with the banner. The trick is, that if the banner makes you curious, you will probably drag your cursor over it. In this case, the bats flying from the book, but the book remaining shot, will definitely make you click to see what’s inside the book.</p> <p style="text-align: left;"><strong>Implementation:</strong></p> <p style="text-align: left;">Photoshop Part:</p> <ul style="text-align: left;"><li>Take an image with a book and open it inside Photoshop</li></ul> <ul style="text-align: left;"><li>In order to create the impression that something is moving inside the book, we will use the Liquify Filter (top menu Filter Liquify)</li></ul> <ul style="text-align: left;"><li>Inside the Liquify Window, place the brush in the middle of the image, click and drag up a bit; then click ok.</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-43" title="img8" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img8.png" alt="img8" height="204" width="300" /></p> <ul style="text-align: left;"><li>Save this image (File/Save for Web)</li></ul> <ul style="text-align: left;"><li>Then undo this change (Edit/Undo) and create the same effect but towards the bottom;</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-44" title="img9" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img9.png" alt="img9" height="204" width="300" /></p> <ul style="text-align: left;"><li>Also save this image</li></ul> <p style="text-align: left;"> </p><p style="text-align: left;">Flash Part:</p> <ul style="text-align: left;"><li>Open Flash and create a new file.</li></ul> <ul style="text-align: left;"><li>Importing an external image it is done by clicking File/Import to Stage</li></ul> <ul style="text-align: left;"><li>If you import the three files and place them on frames 1, 2, 3 in the same position, you will obtain the desired effect.</li></ul> <ul style="text-align: left;"><li>If you want the book to move from time to time, increase the number of frames that hold the original image; you can also change the time each image is displayed and test the movie by pressing (Control/Test Movie) until you are satisfied.</li></ul> <ul style="text-align: left;"><li>In order to trigger a certain action when the cursor is over the banner, you have to use an “invisible button”: a Button object that has no “ON” “Roll Over” or “Press ” frames attached but only the last frame that defines the area where the button is active.</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-45" title="img10" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img10.jpg" alt="img10" height="85" width="291" /></p> <ul style="text-align: left;"><li>Place that button on top of everything , click on it and inside the Property Panel give it a name (we called it ”but”)</li></ul> <ul style="text-align: left;"><li> On frame 1 place:</li></ul> <p style="text-align: left;">but.onRollOver=function()<br />{<br />gotoAndPlay(52);<br />}</p> <ul style="text-align: left;"><li>on frame 51 place (our animation has 51 frames)</li></ul> <p style="text-align: left;">gotoAndPlay(1);</p> <ul style="text-align: left;"><li>This means that when you drag the cursor over the button, you are forced to go to frame 52 ( you can create a smaller or longer animation) ;</li></ul> <ul style="text-align: left;"><li>From frame 52 until the end we placed the animated bats that were created with some simple movements but and you need to download the source file to learn more about that (here is a sneak preview)</li></ul> <p style="text-align: left;"><img class="alignnone size-full wp-image-46" title="img11" src="http://www.officialbranding.org/articles/wp-content/uploads/2009/10/img11.jpg" alt="img11" height="270" width="438" /></p> <p style="text-align: left;"> </p><p style="text-align: left;">Hope you enjoyed our tips regarding flash banners. This is our first article regarding the subject. We will uncover more web design secrets in the weeks that follow. Stay tuned.</p> <p style="text-align: left;"><em>Official Branding is not affiliated with Adobe Systems, Inc. Flash is a registered trademark of Adobe Systems Incorporated in the United States and/or other countries. The purpose of this website is to provide information regarding Adobe Flash.</em></p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-32068649895151405802009-10-26T05:06:00.001-07:002009-10-26T05:07:44.602-07:00Create an Analog Clock Screensaver with Screentime for Flash<h2>Step 1: Brief Overview</h2> <p>Using the Date object and its properties, we'll get the day, hours, minutes and seconds and use simple Math to display the obtained data in an Analog Clock. The updates will be handled by a Timer.</p> <h2>Step 2: Starting</h2> <p>Open Flash and create a new Flash File (ActionScript 3).</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/1.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/1.jpg" alt="" /></div> <p>Set the stage size to 640x400 and add a gray linear background (#DBDBDD, #B3B2B7). Screentime will automatically scale the movie to fullscreen so we don't have to set the stage in the full resolution.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/2.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/2.jpg" alt="" /></div> <h2>Step 3: Clock Backgrounds</h2> <p>We'll begin by creating the clock background.</p> <p>Select the Oval Tool (O) and draw a 250x250 px circle and add a black linear background (#313131, #000000). Use the Gradient Transform Tool (F) to rotate the gradient to look like the following image:</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/3.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/3.jpg" alt="" /></div> <p>Create another circle, this time 248x248, with this linear gradient (#595959, #000000). Again, use the Gradient Transform Tool to rotate and adjust the gradient.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/4.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/4.jpg" alt="" /></div> <h2>Step 4: Numbers</h2> <p>Now let's add numbers to our clock.</p> <p>Select the Text Tool (T), pick a font of your choice and an appropriate size for the clock. I used Myriad Pro Regular, 22 Pt, #DDDDDD.</p> <p>Write the numbers in one TextField for each and align them to the clock, this can be a little difficult without a reference, check the guides in the images.</p> <p>Horizontal:</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/5.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/5.jpg" alt="" /></div> <p>Vertical:</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/6.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/6.jpg" alt="" /></div> <h2>Step 5: Clock Hands</h2> <p>Time to create the clock hands.</p> <p>Select the Poly Star Tool (click and hold in the Rectangle Tool Button), then in the Properties Panel click the Options button in the Tool Settings section. Change the number of sides to 3.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/7.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/7.jpg" alt="" /></div> <p>Create a white 20x70 px triangle, convert it to a MovieClip and name it "hourHand".</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/8.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/8.jpg" alt="" /></div> <p>Repeat this process for the minute hand, but change the height to 110 px. Remember to set the instance name to "minuteHand".</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/9.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/9.jpg" alt="" /></div> <p>Select the Oval Tool and create a 26x26 px circle, convert it to a MovieClip and apply a filter as follows:</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/10.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/10.jpg" alt="" /></div> <p>For the second hand combine a 8x8 px circle and a 2x116 px rectangle. Fill them with this color #C90303.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/11.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/11.jpg" alt="" /></div> <h2>Step 6: ActionScript</h2> <p>Create a new ActionScript Document and save it as "Analog Clock.as".</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/12.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/12.jpg" alt="" /></div> <h2>Step 7: Required Classes</h2> <p>These are the classes we will need:</p> <div class="dp-highlighter"><div class="bar"><div class="tools"><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;">view plain</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;">copy to clipboard</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;">print</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('About',this);return false;">?</a></div></div><ol class="dp-c" start="1"><li class="alt"><span><span class="keyword">package</span><span> </span></span></li><li class=""><span>{ </span></li><li class="alt"><span> <span class="keyword">import</span><span> flash.display.Sprite; </span></span></li><li class=""><span> <span class="keyword">import</span><span> flash.utils.Timer; </span></span></li><li class="alt"><span> <span class="keyword">import</span><span> flash.events.TimerEvent; </span></span></li></ol></div><pre style="display: none;" name="code" class="javascript">package { import flash.display.Sprite; import flash.utils.Timer; import flash.events.TimerEvent;</pre> <h2>Step 8: Extending the Class</h2> <p>We're going to use Sprite specific methods and properties so we extend using the Sprite Class.</p> <div class="dp-highlighter"><div class="bar"><div class="tools"><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;">view plain</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;">copy to clipboard</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;">print</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('About',this);return false;">?</a></div></div><ol class="dp-c" start="1"><li class="alt"><span><span class="keyword">public</span><span> </span><span class="keyword">class</span><span> AnalogClock </span><span class="keyword">extends</span><span> Sprite </span></span></li><li class=""><span>{ </span></li></ol></div><pre style="display: none;" name="code" class="javascript">public class AnalogClock extends Sprite {</pre> <h2>Step 9: Variables</h2> <p>These are the variables we will use, explained in the comments.</p> <div class="dp-highlighter"><div class="bar"><div class="tools"><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;">view plain</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;">copy to clipboard</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;">print</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('About',this);return false;">?</a></div></div><ol class="dp-c" start="1"><li class="alt"><span><span class="comment">/* A Date object used to get the time */</span><span> </span></span></li><li class=""><span> </span></li><li class="alt"><span><span class="keyword">var</span><span> date:Date = </span><span class="keyword">new</span><span> Date(); </span></span></li><li class=""><span> </span></li><li class="alt"><span><span class="comment">/* Time Variables */</span><span> </span></span></li><li class=""><span> </span></li><li class="alt"><span><span class="keyword">var</span><span> hours:</span><span class="keyword">int</span><span> = date.hours; </span></span></li><li class=""><span><span class="keyword">var</span><span> minutes:* = date.minutes; </span></span></li><li class="alt"><span><span class="keyword">var</span><span> seconds:* = date.seconds; </span></span></li><li class=""><span> </span></li><li class="alt"><span><span class="comment">/* A Timer object that will handle the updates, executed every second */</span><span> </span></span></li><li class=""><span> </span></li><li class="alt"><span><span class="keyword">var</span><span> timer:Timer = </span><span class="keyword">new</span><span> Timer(1000); </span></span></li></ol></div><pre style="display: none;" name="code" class="javascript">/* A Date object used to get the time */ var date:Date = new Date(); /* Time Variables */ var hours:int = date.hours; var minutes:* = date.minutes; var seconds:* = date.seconds; /* A Timer object that will handle the updates, executed every second */ var timer:Timer = new Timer(1000); </pre> <h2>Step 10: Main Function</h2> <p>This function is executed when the class is loaded.</p> <div class="dp-highlighter"><div class="bar"><div class="tools"><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;">view plain</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;">copy to clipboard</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;">print</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('About',this);return false;">?</a></div></div><ol class="dp-c" start="1"><li class="alt"><span><span class="keyword">public</span><span> </span><span class="keyword">function</span><span> AnalogClock():</span><span class="keyword">void</span><span> </span></span></li><li class=""><span>{ </span></li><li class="alt"><span> <span class="comment">/* This code will set the clock hands in the correct position using the Date object data */</span><span> </span></span></li><li class=""><span> </span></li><li class="alt"><span> hourHand.rotation = hours * 30 + (minutes * 0.5);<span class="comment">//The Hour Hand rotates 30 degrees in 60 minutes, that's 0.5 degrees per minute</span><span> </span></span></li><li class=""><span> minuteHand.rotation = minutes * 6;<span class="comment">//The Minute rotates 6 degrees per minute, that's 360 degrees in 60 minutes - an hour</span><span> </span></span></li><li class="alt"><span> secondHand.rotation = seconds * 6;<span class="comment">//The Second Hand rotates 6 degrees per second, that is 360 degrees in 60 seconds - a minute</span><span> </span></span></li><li class=""><span> </span></li><li class="alt"><span> timer.addEventListener(TimerEvent.TIMER, updateClock); </span></li><li class=""><span> timer.start(); </span></li><li class="alt"><span>} </span></li></ol></div><pre style="display: none;" name="code" class="javascript">public function AnalogClock():void { /* This code will set the clock hands in the correct position using the Date object data */ hourHand.rotation = hours * 30 + (minutes * 0.5);//The Hour Hand rotates 30 degrees in 60 minutes, that's 0.5 degrees per minute minuteHand.rotation = minutes * 6;//The Minute rotates 6 degrees per minute, that's 360 degrees in 60 minutes - an hour secondHand.rotation = seconds * 6;//The Second Hand rotates 6 degrees per second, that is 360 degrees in 60 seconds - a minute timer.addEventListener(TimerEvent.TIMER, updateClock); timer.start(); }</pre> <h2>Step 11: Update Function</h2> <p>This is the function that handles the Clock. It's the same code from the first functions, just executed every second by the timer.</p> <div class="dp-highlighter"><div class="bar"><div class="tools"><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;">view plain</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;">copy to clipboard</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;">print</a><a href="http://active.tutsplus.com/tutorials/actionscript/create-an-analog-clock-screensaver-with-screentime-for-flash/#" onclick="dp.sh.Toolbar.Command('About',this);return false;">?</a></div></div><ol class="dp-c" start="1"><li class="alt"><span><span class="keyword">private</span><span> </span><span class="keyword">function</span><span> updateClock(e:TimerEvent):</span><span class="keyword">void</span><span> </span></span></li><li class=""><span>{ </span></li><li class="alt"><span> date = <span class="keyword">new</span><span> Date(); </span></span></li><li class=""><span> </span></li><li class="alt"><span> hours = date.hours; </span></li><li class=""><span> minutes = date.minutes; </span></li><li class="alt"><span> seconds = date.seconds; </span></li><li class=""><span> </span></li><li class="alt"><span> hourHand.rotation = hours * 30 + (minutes * 0.5); </span></li><li class=""><span> minuteHand.rotation = minutes * 6; </span></li><li class="alt"><span> secondHand.rotation = seconds * 6; </span></li><li class=""><span>} </span></li></ol></div><pre style="display: none;" name="code" class="javascript">private function updateClock(e:TimerEvent):void { date = new Date(); hours = date.hours; minutes = date.minutes; seconds = date.seconds; hourHand.rotation = hours * 30 + (minutes * 0.5); minuteHand.rotation = minutes * 6; secondHand.rotation = seconds * 6; }</pre> <h2>Step 12: Document Class</h2> <p>Go back to the .fla file and in the Properties Panel add "AnalogClock" in the Class field to make this the Document Class.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/13.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/13.jpg" alt="" /></div> <h2>Step 13: Screentime for Flash</h2> <p><a href="http://www.screentime.com/software/flash-screensaver/">Screentime for Flash</a> is a Screensaver creator tool, it's fast and easy to use. You can get a trial version from the website. The demos are fully functional, except the screen savers they build expire one week after they are created. In this tutorial I'm using the Mac version so the Screensaver will be mac-only.</p> <h2>Step 14: Screensaver</h2> <p>Open Screentime and in the Content tab, select your file by clicking in the "..." button and browsing to the swf. Enter a name for your screensaver.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/14.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/14.jpg" alt="" /></div> <p>Leave the Properties and Installer tabs as default and in the Publish tab name the installer, choose the options you need and click Build.</p> <div class="tutorial_image"><img style="display: inline;" original="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/15.jpg" src="http://flashtuts.s3.amazonaws.com/096_clockScreenSaver/Tutorial/15.jpg" alt="" /></div> <p>When the build is complete, open the installer app and click install. Now you can choose your flashy screensaver from System Preferences.</p> <h2>Conclusion</h2> <p>You just learn how easy is to convert flash movies or applications to screensavers, explore the Screentime application and create your own!</p> <p>Thanks for reading :)</p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-57027528206789144232009-10-26T05:01:00.000-07:002009-10-26T05:02:25.766-07:00how to Making Flower using coreldraw<p class="Text">1. Open Corel DRAW. Create a petal shape you want to use for making flower<br /> <br />2. Following shape is created by converting ellipse to curve by pressing Ctrl + Q and then edited with shape tool. </p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_tools.gif" alt="corel draw tutorials" height="200" width="139" /></p> <p class="Text">3. Double click the shape to get the points for rotation as follows</p> <p class="Text">4. Drag the center of the shape at the bottom</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_filters.gif" alt="corel draw tips" height="200" width="144" /></p> <p class="Text">5. <span class="Text_Thick">Arrange > Transformation</span></p> <p class="Text">Select Rotate tab</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_plugins.gif" alt="corel draw tools" height="287" width="156" /></p><p class="Text">6. Input the value 12 for angle or some value which will divide 360.</p> <p class="Text">7. Click Apply to Duplicate. Duplicate will be created at an angle of 12 degrees</p> <p class="Text">8. Go on clicking till you get the following shape.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_fill.gif" alt="corel draw tricks" height="200" width="201" /></p> <p class="Text">9. Double click on the pick tool to select all the petals and fill with desired color.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_fills.gif" alt="corel draw colors" height="200" width="201" /></p> <p class="Text">10.<span class="Text_Thick"> Arrange > Combine</span></p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_drawing.gif" alt="corel draw lessons" height="200" width="201" /></p><p><br /></p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-45540776900252518352009-10-26T04:55:00.000-07:002009-10-26T05:01:06.688-07:00Artistic Effects : Extrude Project in coreldraw<p class="Text">1. Open Corel DRAW. Draw a rectangle with Rectangle Tool</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_design.gif" alt="corel draw tutorials" height="15" width="177" /><br /> <br /> <span class="Text">2. Select interactive Extrude Tool and Extrude the rectangle as shown below to make a rectangular plate.</span></p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_designing.gif" alt="corel draw tips" height="32" width="215" /></p> <p class="Text">3. Type the text and place it at the edge. Make a copy of the text and keep it aside.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_artwork.gif" alt="corel draw tricks" height="77" width="215" /></p> <p class="Text">4. Extrude the text with Interactive Extrude Tool.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_mode.gif" alt="corel draw lessons" height="78" width="216" /></p><p class="Text">5. Fill the black color in the copy of the text. And send it to the back of extrude one.</p> <p class="Text_Thick">Arrange > Order > Back One</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_training.gif" alt="corel draw effects" height="78" width="219" /></p> <p class="Text">6. Skew & scale the text for shadow effect. Check out Skewing in <a href="http://www.insidegraphics.com/corel_draw/corel_draw_effects.asp">Shadows project.</a> </p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_class.gif" alt="corel draw text effects" height="78" width="216" /></p> <p class="Text">7. Select the Extrude text. Fill the color. </p> <p class="Text">8. Go to Property Bar. Click Color flyout menu.</p> <p class="Text">9. Click the third option "Use Color Shading. Select the colors for shading.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_classrooms.gif" alt="corel draw tools" height="251" width="144" /></p> <p class="Text">10. Use color shading for the rectangular plate also.</p> <p><img src="http://www.insidegraphics.com/corel_draw/images/corel_draw_classroom.gif" alt="corel draw artwork" height="79" width="215" /></p> <p class="Text">11. Type the text at the front side just to add the flavor.</p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-10161531343976182952009-10-26T04:53:00.000-07:002009-10-26T04:55:51.737-07:00How to Create a Quirky Twitter Bird in Corel Draw<p><br /></p> <div class="tutorial_image"><img original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/12.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/12.jpg" alt="" border="0" /></div> <h3>Step 1</h3> <p>Create new document, whatever size. A4 is fine. Draw the shape of the bird's body using the Free Hand Tool and make it nice with the Shape Tool. This part requires a bit of creativity :)</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/1.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/1.jpg" border="0" /></div> <h3>Step 2</h3> <p>Color the shape blue. Then Copy the shape and paste in the same place. Now using the Up Arrow key, move the second shape 4 pixels up. And then change the color of the second shape to a lighter blue. For better a effect use the Radial Gradient Fill Tool with a lighter to darker blue. Still the first shape should be darker to get that dark line at the bottom.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/2.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/2.jpg" alt="" border="0" /></div> <h3>Step 3</h3> <p>Copy the shape and place it in the white area. Copy it again and paste it. Then make it a bit larger and put it over the smaller one (green on pink example). Using the Back Minus Front option Cut the shape off. Then change it to blue (or use the gradient that we did in last step). And place it on our main shape.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/3.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/3.jpg" alt="" border="0" /></div> <h3>Step 4</h3> <p>Do the same again but cut a smaller, thiner part. Those steps are needed to add some light effects, which make it more 3D.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/4.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/4.jpg" alt="" border="0" /></div> <h3>Step 5</h3> <p>This step uses only one simple option: Intersect (marked by red box, shown below). Just as in the steps above, select two object and Intersect. You will get the shape that both object share.</p> <p>This technique is an easy way to get shapes that you want in many other situations. In the picture below, notice that we used circles on the main shape, then the eye, then the eyeball, etc. Be sure to apply a radial fill to the eye as shown above.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/5.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/5.jpg" alt="" border="0" /></div> <h3>Step 6</h3> <p>Do the same thing again. This time create the bottom part of the bird (that's the way birds are built, a white patch makes the bird look more real).</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/6.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/6.jpg" alt="" border="0" /></div> <h3>Step 7</h3> <p>Coming back to using the Back Minus Front option. Cut off the shape of the first eyelash. Than copy, paste, resize, and rotate to put them together. Now copy the whole thing and paste in place, change to a darker blue, rotate a bit, and move it to the back. Lastly, group it and place it on the bird.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/7.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/7.jpg" alt="" border="0" /></div> <h3>Step 8</h3> <p>To draw the legs and nose you need to use the Free Hand Tool and make it nice with the Shape Tool. In this step, we want to show you how using the same color, but in different brightness, adds more depth and dimensionality.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/8.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/8.jpg" alt="" border="0" /></div> <h3>Step 9</h3> <p>This must be the easiest step because you do do not have to be exact. Just draw away and create some jagged shapes for the eye. The more uneven the better.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/9.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/9.jpg" alt="" border="0" /></div> <h3>Step 10</h3> <p>Now let's make the wings. In the image below, you can see again how we cut the shape out of the circle using different circles. Then we rounded the corners a bit using the Shape Tool. Also, we added some light effect, just like in Step 4.</p> <p>Place the wing on the bird. Also, Copy and Paste In Place the same wing, but change color to gray, move to the back, and move to the left a bit. That gives the effect of the second wing on the other side of the bird (you can see tiny gray part near the legs).</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/10.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/10.jpg" alt="" border="0" /></div> <h3>Step 11</h3> <p>We're almost done. The hat is a simple thing drawn using the Freehand Tool to create the shapes shown below. They each were given different brightness, fills, and a radial gradients was placed on the white stripe to add 3D.</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/11.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/11.jpg" alt="" border="0" /></div> <h3>Conclusion</h3> <p>Place the hat on the bird. Add a dark blue ellipse under the hat (some kind of shadow of the hat). And our Quirky looking twitter bird in vectors is done!</p> <div class="tutorial_image"><img style="display: inline;" original="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/12.jpg" src="http://vectortuts.s3.amazonaws.com/tuts/182_Quirky_Bird/12.jpg" alt="" border="0" /></div>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-40191281312644730152009-10-26T04:47:00.000-07:002009-10-26T04:48:39.164-07:00How to model a glass using Rhino 3d<p><em>1. How to create the section:</em><br /><a href="http://rhinodersleri.com/wp-content/uploads/bardak_1.jpg"><img class="aligncenter size-full wp-image-776" title="bardak_1" src="http://rhinodersleri.com/wp-content/uploads/bardak_1.jpg" alt="bardak_1" height="468" width="650" /></a>Select <span style="color: rgb(0, 0, 255);"><a href="http://rhinotuts.com/tag/front/">Front</a></span><a href="http://rhinotuts.com/tag/front/"> </a>view. Draw a curve representing cross section of the object. You can use a background using <strong><a href="http://rhinotuts.com/tag/pictureframe/">pictureframe</a></strong><a href="http://rhinotuts.com/tag/pictureframe/"> </a>command. </p> <p><em>2. Revolve :</em></p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_2.jpg"><img class="aligncenter size-full wp-image-777" title="bardak_2" src="http://rhinodersleri.com/wp-content/uploads/bardak_2.jpg" alt="bardak_2" height="467" width="650" /></a><br />Type <strong><a href="http://rhinotuts.com/tag/revolve/">revolve</a> </strong>to the command line.</p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_3.jpg"><img class="aligncenter size-full wp-image-778" title="bardak_3" src="http://rhinodersleri.com/wp-content/uploads/bardak_3.jpg" alt="bardak_3" height="467" width="650" /></a><br />Select two points to define rotation axis. It could be easier if you do it in the <span style="color: rgb(0, 0, 255);">front </span>view with <strong><a href="http://rhinotuts.com/tag/ortho/">ortho</a></strong><strong> </strong>open.</p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_4.jpg"><img class="aligncenter size-full wp-image-779" title="bardak_4" src="http://rhinodersleri.com/wp-content/uploads/bardak_4.jpg" alt="bardak_4" height="467" width="650" /></a></p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_5.jpg"><img class="aligncenter size-full wp-image-780" title="bardak_5" src="http://rhinodersleri.com/wp-content/uploads/bardak_5.jpg" alt="bardak_5" height="467" width="650" /></a><br />Rhino asks you starting and ending angle for the revolved surface. Default values are 0 and 360. <0> in the command line shows current angle value and if you click enter or space it will use that value. So click space if you see <0> for the first and <360> for the second.</p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_6.jpg"><img class="aligncenter size-full wp-image-781" title="bardak_6" src="http://rhinodersleri.com/wp-content/uploads/bardak_6.jpg" alt="bardak_6" height="467" width="650" /></a></p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_7.jpg"><img class="aligncenter size-full wp-image-781" title="bardak_7" src="http://rhinodersleri.com/wp-content/uploads/bardak_7.jpg" alt="bardak_7" height="467" width="650" /></a></p> <p><a href="http://rhinodersleri.com/wp-content/uploads/bardak_8.jpg"><img class="aligncenter size-full wp-image-781" title="bardak_8" src="http://rhinodersleri.com/wp-content/uploads/bardak_8.jpg" alt="bardak_8" height="467" width="650" /></a></p> <p>Here is a nice and lovely starbucks coffee cup<br /></p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-35838546280827919912009-10-26T04:45:00.000-07:002009-10-26T04:46:28.875-07:00Modeling Web Camera using Rhino 3dReading this tutorial, you will learn how to modeling a Web Camera.<br /><br /><strong>Step 1</strong><br /><br />Lets go to TOP VIEW and create two circles. You can see the radius I used. Make the center in 0,0 coordinates like on the picture. You need to Copy and Paste (CTRL+C, CTRL+V) the bigger circle. You can hide it.<br /><br /><br /><img src="http://www.toxiclab.org/img/200692658_img1.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 2</strong><br /><br />Now, make a rectangle so it fits bigger circle, like on the picture.<br /><br /><img src="http://www.toxiclab.org/img/200692659_img2.jpg" align="absMiddle" border="0" height="245" width="328" /><br /><br /><strong>Step 3</strong><br /><br />Select smaller circle and Copy & Paste (CTRL+C, CTRL+V) it, and then move it (Command: MOVE) like on picture1, in the first angle of rectangle. Now, you can Mirror (Command: MIRROR) or just Copy & Paste (CTRL+C, CTRL+V), just make the circles like yellow ones on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069260_img3.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069260_img4.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 4</strong><br /><br />Select the circle in the middle, like on the picture, and then, go to FRONT VIEW and move it (Command: MOVE) like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069261_img5.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069261_img6.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 5</strong><br /><br />Using Split (Command: SPLIT) you must split big circle with 4 small, and split 4 small with one big. First, lets split the big one. Select the big one, and type Split, after that select those four smaller circles and press ENTER, or click RIGHT MOUSE BUTTON.<br /><br /><img src="http://www.toxiclab.org/img/20069261_img7.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 6</strong><br /><br />Here, we will split 4 small ones with the big one. Select one small circle, and type Split. Then select that piece of curve that is inside of that small circle, like on the picture1. Do it for all four small circles. Now you can select those things you don't need and Delete. Like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069262_img8.jpg" align="absMiddle" border="0" height="247" width="328" /><br /><br /><img src="http://www.toxiclab.org/img/20069263_img9.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 7</strong><br /><br />Now, select this "flower" and Join it (Command: JOIN).<br /><br /><img src="http://www.toxiclab.org/img/20069263_img11.jpg" align="absMiddle" border="0" height="245" width="329" /><br /><br /><strong>Step 8</strong><br /><br />Ok, now you have to make a curve like on the picture1. Go to FRONT VIEW. Go on, do it. You will have to offset it (Command: OFFSET) by 0.3. So type in Offset and don't click nothing unless you typed in 0.3. Now, offset it inside like on picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069264_img11.jpg" align="absMiddle" border="0" /><br /><br /><br /><img src="http://www.toxiclab.org/img/20069264_img12.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 9</strong><br /><br />We will be using command MATCH now. Create two lines (NOT CURVES) anywhere. Now type in MATCH and select any end of one line and then select one end of one curve, and then type Match again and then select another end of LINE and then select end of another curve. Repeat the process for other Line. What you have to get is on picture2, now you can Join (Command: JOIN).<br /><br /><img src="http://www.toxiclab.org/img/20069266_img13.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069266_img14.jpg" align="absMiddle" border="0" height="244" width="327" /><br /><br /><strong>Step 10</strong><br /><br />Now we will revolve something here. Type in Sweep2 and select those first two circles you created in STEP ONE. After that, select that joined curve you created in previous step. Press ENTER. You must get something like on the picture.<br /><br /><img src="http://www.toxiclab.org/img/20069267_img15.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 11</strong><br /><br />Select that "flower" you made in STEP SEVEN.<br /><br /><img src="http://www.toxiclab.org/img/20069268_img16.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069268_img17.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 12</strong><br /><br />Go to TOP VIEW. Now type in OFFSET and type in 0.4. Offset it inside, like on the picture. Keep it selected.<br /><br /><img src="http://www.toxiclab.org/img/200692611_img18.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 13</strong><br /><br />Now that you have it selected, Go to FRONT VIEW and type in EXTRUDE and extrude it so it is taller than that surface you already have, like on the picture.<br /><br /><img src="http://www.toxiclab.org/img/200692645_img19.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 14</strong><br /><br />Now select extruded surface and that circular surface and type in INTERSECT. Now select that circular surface and type in SPLIT and select that flowerlike surface (Extruded one). Remove all unwanted surfaces. So you get smth likw on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/200692645_img20.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692645_img21.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 15</strong><br /><br />Now you see, we have one problem we are about to get rid of. In th picture1 you can clearly see what that is. Now go to TOP VIEW, and create a surface out of 3,4 corner points. Type in SRFPT. Make a surface like on picture2.<br /><br /><img src="http://www.toxiclab.org/img/200692646_img22.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692646_img23.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 16</strong><br /><br />Go to FRONT VIEW and move that surface out of 3,4 corner points like on the picture1. Now we will split the part we don't need. Select that surface and type in SPLIT. Select the surface out of 3,4 CP. Press ENTER. (Or DON'T). Remove unwanted parts like selected on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/200692647_img24.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692647_img25.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 17</strong><br /><br />Select the curve that is on the outer edge of this surface and select inner flowerlike curve (the one you offseted in STEP TWELVE) and type in LOFT. That should do it, so you have something like on the picture2. SHADE it to see it better.<br /><br /><img src="http://www.toxiclab.org/img/200692648_img26.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692648_img27.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 18</strong><br /><br />Hide the surfaces and leave those two circles you created in STEP ONE. Go to TOP VIEW and type in SPHERE. Then type in the center of sphere 0,0 and then type the radius 10. Go to FRONT VIEW and move the sphere so it sets just fine in that smaller circle like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/200692650_img28.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692651_img29.jpg" align="absMiddle" border="0" height="247" width="328" /><br /><br /><strong>Step 19</strong><br /><br />Go to TOP VIEW and create surface out of 3,4 CP like you did in STEP FIFTEEN. Now go to FRONT VIEW and select that surface, move it up a bit to the smaller upper circle, like on the picture2. Now select the sphere and Copy & Paste it (CTRL+C,CTRL+V) and you can hide one of those two. Select one again and type in SPLIT and select that surface. You can delete upper part of sphere.<br /><br /><img src="http://www.toxiclab.org/img/200692653_img30.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692654_img31.jpg" align="absMiddle" border="0" height="246" width="326" /><br /><br /><strong>Step 20</strong><br /><br />Go to TOP VIEW and created rounded rectangle. If you don't know how to make a rounded rectangle, follow this. Type in RECTANGLE, and before anything type in R. Now select the measures of it and then select radius for selected rectangle. Just make it like its on the picture.<br /><br /><img src="http://www.toxiclab.org/img/200692655_img32.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 21</strong><br /><br />Go to FRONT VIEW and select that rounded rectangle you just created and type in EXTRUDE. Extrude it like on the picture. Now select that chopped sphere you splited in STEP NINETEEN and type in INTERSECT. Now, first select that chopped sphere and type in SPLIT, and then select that extruded surface and press ENTER. You can delete extruded surface. You must get smth like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069260_img33.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069260_img34.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 22</strong><br /><br />Select the curve you intersected with deleted extruded surface and chopped sphere (image1) and type in EXTRUDE, extrude it down.<br /><br /><img src="http://www.toxiclab.org/img/20069262_img35.jpg" align="absMiddle" border="0" height="246" width="328" /><br /><br /><strong>Step 23</strong><br /><br />Go to RIGHT VIEW and type in POLYLINE. Make a line like on the picture... a bit right from the green line. Now type REVOLVE. Now you have to start revolve axis. Just type in 0,0. And then type in the end 0,5. A window pops up, make sure that your start angle is 0 and end angle is 380. Click OK.<br /><br /><img src="http://www.toxiclab.org/img/20069263_img36.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 24</strong><br /><br />Go to TOP VIEW and HIDE everything except that rectangle. We will make a polygon with 8 corners. So type in POLYGON, and before anything type in N and then type in 8. That will make it have 8 corners. For the center type in 0,0 and for the corner of polygon type in 10 and for corner of polygon type in 0,5. Now type in SPHERE and for the center of sphere click on one of the corner of polygon, nevermind which and then type in the radius 0.7. You can Copy&Paste other spheres and MOVE them like on the picture. Type in SHOW to unhide all.<br /><br /><img src="http://www.toxiclab.org/img/200692651_img37.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 25</strong><br /><br />Select those eight spheres you created in previous step, and that main polysurface. Type in INVERT and then type in HIDE.<br /><br /><img src="http://www.toxiclab.org/img/200692652_img38.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 26</strong><br /><br />Go to FRONT VIEW and select only 8 spheres. Type in MOVE and for Point to move from type in 0,0 and for Point to move to type 0,3.8.<br /><br /><img src="http://www.toxiclab.org/img/200692654_img39.jpg" align="absMiddle" border="0" height="246" width="328" /><br /><br /><strong>Step 27</strong><br /><br />Now we will use a little SPLIT command. Select main surface (bottom of camera) and type in SPLIT. Now select sphere. Nevermind which, you will repeat this step for all 8 spheres. Now select sphere, and type SPLIT and select main surface and press ENTER. Now you must delete all unwenated surfaces. That is top of the sphere and those circle surfaces. so you get smth like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/200692656_img40.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692657_img41.jpg" align="absMiddle" border="0" height="245" width="328" /><br /><br /><strong>Step 28</strong><br /><br />So you created this. Now its time to create that eye on top. :)You already have hidden sphere you will need to show now.<br /><br /><img src="http://www.toxiclab.org/img/200692658_img42.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 29</strong><br /><br />Select only sphere and everything else HIDE. Go to TOP VIEW. Now, from RIGHT and FRONT VIEW make surfaces out of 3,4 corner points and place them like one the images. It would really take too many steps to make this easy part, so I made it this simple. You'll have to make this one yourself. Just watch the pictures, and there shouldn't be ANY problems. After you created all the surfaces needed, select the sphere, and vertical surfaces (from top view) and type in INTERSECT, after that select sphere again and horizontal surfaces (from top view) and type in INTERSECT. Now you should get 12 circles on the sphere.<br /><br /><img src="http://www.toxiclab.org/img/200692659_img43.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692659_img44.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 30</strong><br /><br />Select sphere, and then type in SPLIT and select horizontal set of surfaces (from top view) and press ENTER. Now its important not to click anywhere. You have selected surfaces like on the picture1. Just type again SPLIT and select vertical set of surfaces (from top view) and press ENTER. Now it is time to delete all unwanted surfaces.. Those you splitted like showed on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069260_img45.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069260_img46.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 31</strong><br /><br />This image is quite a same one like that blue backgrounded in previous step, but these are circles not split sphere. So when you hide sphere and show circles, it is time we make offsets of each circle inside!!This is very important. INSIDE! 12 circles and 12 offsets. The same procedure as for only one. :) Select one circle and type in OFFSET, type in 0.1 and then press ENTER. Do it for all of them, and you should have something like image2.<br /><br /><img src="http://www.toxiclab.org/img/20069260_img47.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069261_img48.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 32</strong><br /><br />Now it is time we make lofted holes. So follow the numbers on image1. This is the order you have to select circles. So type in LOFT, and select circles in showed order. Click RIGHT MOUSE BUTTON. A window pops up. Set Style to Straight sections. Do this for every set of 4 circles. Then, you will get 6 surfaces like showed on picture2. Type SHOW, to show those pieces of sphere. Sellect all and join. SELALL, JOIN.<br /><br /><img src="http://www.toxiclab.org/img/20069261_img49.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069261_img50.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 33</strong><br /><br />Go to FRONT VIEW, make two cirlces like this on the picture1. Select smaller one and EXTRUDE it to the half of sphere, like on picture2.Select all the surfaces of sphere and those three stripes and split them with this extruded circle. Just type in SPLIT.<br /><br /><img src="http://www.toxiclab.org/img/20069262_img51.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069262_img52.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 34</strong><br /><br />Now that you split those surfaces, you need to get something like this on the picture1. Now, remember you created two cirlces in previous step??? Oh, yes you did. Select bigger one and move it like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069263_img53.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069263_img54.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 35</strong><br /><br />Go to RIGHT VIEW and create a line using CURVES AND LINES (Commands: INTERPCRV, POLYLINE) and after that you just match and join them. (Commands: MATCH, JOIN). This yellow line acctually is not line, it is that bigger circle you moved in previous step. Type in SWEEP1 and select that yellow circle, after that select red line and press ENTER. Click OK. You got something like picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069263_img55.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069264_img56.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 36<br /><br /></strong>Go to TOP VIEW and repeat STEP TWENTY and make a rounded rectangle like on the picture1. Extrude that rectangle like on the picture2. Do NOT delete that extruded rectangle, use it to split surfaces that intersect with it. You'll have to split one stripe and 4 surfaces. Intersect it with 4 surfaces.<br /><br /><img src="http://www.toxiclab.org/img/20069266_img57.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069266_img58.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 37</strong><br /><br />If you INTERSECTED extruded rectangle and 4 surfaces then you should get curves like on the picture2.<br /><br /><img src="http://www.toxiclab.org/img/20069267_img59.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/20069267_img60.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 38</strong><br /><br />Use BLEND command to fill the gaps between curves. Red curves are blended curves(red ones) between two near curves(yellow ones) JOIN them. Now, go to FRONT VIEW and make a curve like in the picture2. White curve.<br /><br /><img src="http://www.toxiclab.org/img/200692611_img61.JPG" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692611_img62.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 39</strong><br /><br />Select that rounded rectangle you just joined in previous step and type SWEEP1 and select curve you created in previous step also(white on the picture) and press ENTER. You should get something like this on the picture. If not, keep trying.<br /><br /><img src="http://www.toxiclab.org/img/200692611_img63.JPG" align="absMiddle" border="0" /><br /><br /><strong>Step 40</strong><br /><br />Type in PATCH and select upper edge of that surface you created using SWEEP1 and press ENTER, window pops up. Check Adjust Tangency. Press OK.<br /><br /><strong>Step 41</strong><br /><br /><img src="http://www.toxiclab.org/img/200692614_img65.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692614_img66.jpg" align="absMiddle" border="0" /><br /><br /><img src="http://www.toxiclab.org/img/200692614_img67.JPG" align="absMiddle" border="0" />volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-25874850847141177532009-10-26T04:42:00.000-07:002009-10-26T04:43:29.106-07:00Modeling Car Rim in Rhino 3dThis tutorial will show you how to model car rim. This is a beginner mag wheel tutorial, time required for finishing is about an hour. To start with, make a curve like this.<br /><br /><img src="http://www.toxiclab.org/img/200692212_img1.jpg" align="absMiddle" border="0" height="108" width="242" /><br /><br /><strong>Step 1</strong><br /><br />Then offset by 0.5 units and cut like shown in the picture.<br /><br /><img src="http://www.toxiclab.org/img/200692213_img2.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 2</strong><br /><br />Array the curves in five pieces in 360 degrees. Blend the two curves like shown in the picture.<br /><br /><img src="http://www.toxiclab.org/img/200692214_img3.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 3</strong><br /><br />Adjust the end bulge to make it rounder, adjust the points like shown in the pic.<br /><br /><img src="http://www.toxiclab.org/img/200692214_img4.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 4</strong><br /><br />Join everything, and make a curve like this.<br /><br /><img src="http://www.toxiclab.org/img/200692215_img5.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 5</strong><br /><br />Offset that curve and trim it with the vertical line.<br /><br /><img src="http://www.toxiclab.org/img/200692215_img6.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 6</strong><br /><br />You will need another curve<br /><br /><img src="http://www.toxiclab.org/img/200692218_img7.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 7</strong><br /><br />Blend the two curves and join them.<br /><br /><img src="http://www.toxiclab.org/img/200692219_img8.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 8</strong><br /><br />Revolve the curves.<br /><br /><img src="http://www.toxiclab.org/img/200692219_img9.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 9</strong><br /><br />Then trim the two surfaces with the previously made curves.<br /><br /><img src="http://www.toxiclab.org/img/200692219_img10.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 10<br /><br /></strong>Blend the upper and lower surfaces with same height shapes option turned on, and you should get something like this.<br /><br /><img src="http://www.toxiclab.org/img/200692220_img11.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 11</strong><br /><br />Now you will have to make the outer rim, and for that make a curve like this and revolve it.<br /><br /><img src="http://www.toxiclab.org/img/200692220_img12.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 12</strong><br /><br />For the lower spokes you will need a curve like this.<br /><br /><img src="http://www.toxiclab.org/img/200692221_img13.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 13</strong><br /><br />Then offset it by 0.5 units and join it like this and revolve it.<br /><br /><img src="http://www.toxiclab.org/img/200692221_img14.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 14</strong><br /><br />Now you will need one of the earlier curves witch you will offset by 0.5 units and arrayed in five pieces in 360 degrees<br /><br /><img src="http://www.toxiclab.org/img/200692222_img15.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 15</strong><br /><br />Explode the surface and trim it with the curves made in the previous step, but do not trim the outer surface.<br /><br /><img src="http://www.toxiclab.org/img/200692222_img16.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 16<br /><br /></strong>Then blend the upper and the lower surface, and trim the extras with the surface you didn't trim. (If it doesn't work make a circle of the same diameter and use that to trim the excess surface) Then join the surfaces, and with that surface trim the circular surface and the join everything. I usually make holes in that surface I will leave it for you to choose the pattern witch you just trim in that surface and blend the upper and the lower edge.<br /><br /><img src="http://www.toxiclab.org/img/200692223_img17.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 17</strong><br /><br />For the screws that hold the rim you will need a circle.<br /><br /><img src="http://www.toxiclab.org/img/200692224_img18.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 18</strong><br /><br />Wich you extrude.<br /><br /><img src="http://www.toxiclab.org/img/200692224_img19.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 19</strong><br /><br />Array that surface in five pieces in 360 degrees and use that surface to trim the larger surface. And use the larger surface to trim the extruded surface.<br /><br /><img src="http://www.toxiclab.org/img/200692225_img20.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 20</strong><br /><br />For the screw you will need a curve like this witch you will revolve<br /><br /><img src="http://www.toxiclab.org/img/200692225_img21.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 21</strong><br /><br />Then you will need a rectangle (polygon command) witch you will have to extrude.<br /><br /><img src="http://www.toxiclab.org/img/200692226_img22.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 22</strong><br /><br />Then you will need two curves for the upper part of the screw, trim and join them together to make one curve, and then revolve it. Trim the excess edges and use the fillet edge command.<br /><br /><img src="http://www.toxiclab.org/img/200692226_img23.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 23</strong><br /><br />You should have a screw like this.<br /><br /><img src="http://www.toxiclab.org/img/200692227_img24.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 24</strong><br /><br />Place it in the wheel and array it in five pieces in 360 degrees.<br /><br /><img src="http://www.toxiclab.org/img/200692227_img25.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 25</strong><br /><br />Now you will have to join the spokes and the rim. For that extract the surface shown in the picture and trim the overlaps. Join everything.<br /><br /><img src="http://www.toxiclab.org/img/200692228_img26.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 26</strong><br /><br />Then join the rest of the surfaces and then you should have a single piece mag wheel. Then you should make the valve, for witch you will need a curve like this, (the snap needs to be 0.03125 to make it) then just revolve it.<br /><br /><img src="http://www.toxiclab.org/img/200692228_img27.jpg" align="absMiddle" border="0" height="397" width="192" /><br /><br /><strong>Step 27</strong><br /><br />Orient the valve on the wheel ac you like it (I put it between two spokes). Trim the surface around the valve with the intersecting surface and join it. Fillet the edge with 0.125 units and that is all concerning the valve.<br /><br /><img src="http://www.toxiclab.org/img/200692229_img28.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 28</strong><br /><br />For the logo you will need a circle and trim the upper surface with that curve.<br /><br /><img src="http://www.toxiclab.org/img/200692229_img29.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 29</strong><br /><br />You will need a curve like this.<br /><br /><img src="http://www.toxiclab.org/img/200692231_img30.jpg" align="absMiddle" border="0" height="100" width="152" /><br /><br /><strong>Step 30</strong><br /><br />Revolve that curve. The given surface should be placed a little above the surrounding surface. Blend the two surfaces.<br /><br /><img src="http://www.toxiclab.org/img/200692231_img31.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 31</strong><br /><br />Now you need to make a surface (you can use the edge of the revolved surface and use surface from curve network). The logo should go under the revolved surface witch should be transparent in the final render.<br /><br /><img src="http://www.toxiclab.org/img/200692232_img32.jpg" align="absMiddle" border="0" /><br /><br /><strong>Step 32</strong><br /><br />All you need to do now is to join everything together and that is the end.<br /><br /><img src="http://www.toxiclab.org/img/200692233_img33.jpg" align="absMiddle" border="0" /><br /><br />We're done!<br /><br />Bye!volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-2786930051135468562009-10-26T04:35:00.001-07:002009-10-26T04:35:54.136-07:00Lightwave 3D Beginners Guide<b>Introduction</b><br /><br />Welcome to the Lightwave 7.5 Beginners Guide! This Guide is only an update from my Lightwave 6.5 Beginners Guide to suit Lightwave 7.5; the content is pretty much the same, however, a few new additions has been made in the Tutorial section. We will start out with an introduction to 3D in general, and if you feel that you know the basic concepts already, you can simply skip this part and dive directly into the Lightwave Parts. The best way to get to know the Interface and how tools work is to use them, and tutorials are great for this purpose, so we will be doing a tutorial as I explain the bits and pieces of Lightwave.<br /><br /><b>An Introduction to 3D</b><br /><br />I'd say that the most important thing you need when you want to create 3D art is your imagination, a picture in your head of how you want it to turn out. Your choice of 3D software doesn't really matter, since it always comes out to the artist and how creative one can be. All 3D programs are based on the same idea, where you build up your scenes with Objects, and Objects are built up by Points and Polygons. Take a look at the two pictures below, it's just a box right? Well this is an object, a very simple one, but still an object.<br /><br /><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture1.jpg" border="0" /> <img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture2.jpg" border="0" /> <br /><br />As you can see in Picture 1, there's a point in each corner of the box. Picture 2 on the other hand shows the Polygons, and these are the ones you give materials to, and they are the ones you will see in the final render. I guess you already knew that 3D stands for 3Dimensional, and this is what you work with in any 3D program out there. In Lightwave, these Dimensions are called X, Y and Z, and these could be described as Left/Right, Up/Down and Near/Far respectively.<br /><br />What's the advantage of using a 3D program then? Well, you can create nice artwork by drawing them in a 2D program, but when it comes to animating what you've created it becomes a bit harder, and this is where the 3D program has an advantage. Another thing to mention is that you can change anything in the pictures you create. If you didn't like the material on a certain object, or if the light setting was wrong, just change it and re-render. <br /><br />That'll do for an introduction; lets get going with Lightwave! <br /><br /><b>The Basics of Lightwave </b><br /><br />Follow the installation instructions and install Lightwave on your harddrive. Lightwave comes as two separate programs, Lightwave Layout and Lightwave Modeler, and from now on they will just be referred to as Layout and Modeler.<br /><br /><b>Lightwave Layout</b> <br /><br />If you start Layout up it should look something like picture 3.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture3.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/_picture3.jpg" height="307" width="400" /></a> <div class="f10" align="center">Picture 3: Lightwave Layout (Click to enlarge)</div></div><br />This is where you load objects you've created, give them textures, edit lights & cameras, animate things and render your final pictures. As you can see I have added a few descriptions on some of the items in picture 3. However, we will not start the tour in Layout, but we will get back to it later on in the Guide.<br /><br /><b>Lightwave Modeler</b><br /><br />If you load Modeler up, it should look something like picture 4.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture4.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/_picture4.jpg" height="302" width="400" /> </a> <div class="f10" align="center">Picture 4: Lightwave Modeler (Click to enlarge) </div></div><br />The Modeler lets you model all the necessary objects you need for your scene. You also prepare your objects for Layout here, like attaching surfaces to them etc. I put a few descriptions on picture 4 as well, and we will get to know the interface better next.<br /><br /><b>Getting to know Modeler</b> <br /><br />We'll start with a few explanations on how Lightwave is built up, and then we'll start the main tutorial and learn the tools we use as we go along. <br /><br /><b>The Interface & Workflow</b><br /><br />The Workflow is one of Lightwave's stronger areas. If you look at the Interface, you'll see that every Tool or Button is named with text. No image buttons that takes ages to learn, plus that the interface is very clean. You also have shortcuts on your keyboard for almost every Tool in Lightwave. The menus are also configurable and you can create your own menus to fit your own needs.<br /><br /><b>Keyboard Shortcuts</b> <br /><br />If you look at the "Box" Tool button in the "Create" Tab, you'll see that in the right side of the button there's an "X". This means that a capital X is the shortcut key for the Box Tool, so if you hit "shift+X" on your keyboard, you'll see that the Box Tool gets activated. This is how it works with all the other Tools that have a key assigned to them as well.<br /><br />If you would like to assign a shortcut to a Tool that perhaps doesn't have one, hit "alt+F9" on your keyboard and you will get a list over all the Tools available, and a list over all the keys on your keyboard. You can also access certain setting panels from the "Modeler" pull-down menu at the top left of Modeler. <br /><br /><b>Plugins</b><br /><br />Lightwave comes with lots of Plugins that you need to get things working properly. We will start by installing these in Modeler. At the top left of the Modeler window, you should see a button named "Modeler". If you click this one with your Left Mouse Button, you will get a small menu with a few sections and options. One of the sections is named "Plug-ins", so click that one and a sub-menu will appear. From this sub-menu, select "Edit Plug-ins".<br /><br />A Panel will appear and this is where you control your Plugins. If you didn't install your Plugins already, we will do it now. Click the "Scan Directory" button on the right of this Panel, and a browser window will appear. Browse to your Lightwave Directory (on your harddrive) and find the Folder named "Plugins", simply just mark this Folder and click OK. Lightwave will now install all the Plugins it will find automatically. When it's done you can simply close down the Plug-ins Panel.<br /><br /><b>Display Options</b><br /><br />Modeler has got four Viewports by default. Each of these Viewports can have their own unique settings. Open up the Display Options panel by hitting "d" on your keyboard, it should look something like picture 5. <br /><br /><div style="width: 401px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture5.jpg" border="0" height="351" width="401" /> <div class="f10" align="center">Picture 5: Display Options Panel </div></div><br />The first tab called "Layout" in this panel contains a few global settings. This means that if you change something here it will take place in all of the Viewports. As you can see I've turned off a few options here, and this is just my own preference. What we will change though, is the Top Right Viewport (Perspective View) and how that one should appear. So to edit just one of the Viewports, click the "Viewports" Tab. The first thing to do here is choose which of the Viewports we want to edit, so click on the "TR" (Top Right) button to select that one, then use the options that picture 6 are showing.<br /><br /><div style="width: 400px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture6.jpg" border="0" height="351" width="400" /> <div class="f10" align="center">Picture 6: The settings for the Top Right Viewport </div></div><br />Once you've entered all the settings here, just click OK to save it, and if you look at the perspective view now, it should look something like picture 7.<br /><br /><div style="width: 354px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture7.jpg" border="0" height="299" width="354" /> <div class="f10" align="center">Picture 7: The Top Right View/The Perspective View </div></div><br />There are a few more things we are going to change in the Display Options Panel, so hit "d" once more to bring it up again. Click the last Tab - "Units", then use the settings shown in picture 8.<br /><br /><div style="width: 400px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture8.jpg" border="0" height="327" width="400" /> <div class="f10" align="center">Picture 8: The Units settings </div></div><br />Once you're done with these settings, click OK again to save the changes. <br /><br />Each Viewport has got a Pan, Rotate and Zoom Tool, and a variety of render modes, picture 9 shows the Toolbar for one of the Viewports.<br /><br /><div style="width: 327px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture9.jpg" border="0" height="258" width="327" /> <!--<div align="center" style="padding: 5px"> <table border="0" cellpadding="5" cellspacing="0" width="100%" style="border: 1px solid #979797; background-color: #E1E1E1"> <tr> <td align="center"><a href="http://www.lunarpages.com/?id=metamorph" target="_blank"><img src="/bannersaf/lun2.gif" border="0" width="468" height="60" alt="" /></a></td> </tr> </table> </div>--> <div class="f10" align="center">Picture 9: Viewport Tools </div></div><br />As you can see on picture 9, this view is set to "Top XZ", but you can easily change it to any of the others by using this pull-down menu. Just to the right of the View menu you can select what type of Render Mode you wish to use for that view, such as Wireframe, Smooth Shaded and so on. The Pan Tool lets you Pan the Viewport, and if you prefer to use the mouse and keyboard, just hold down the "Alt" key while you click inside the view with your Left Mouse Button and drag it around. The Rotate Tool only works in the Perspective View. In any Perspective view you have, you can also hold down the "Alt" key while dragging in the view, which will work as a Rotate Tool. The Zoom Tool will zoom in or out using the centre of the view as a target.<br /><br /><b>Modes & Tools</b><br /><br />At the bottom of Modeler, you should see two buttons named "Points" and "Polygons". These are the two modes of Modeler, and will give you more control over what you are doing when you model your objects. If you read the first part of this Guide then you should know what Points & Polygons are, otherwise, move back and read it. It is essential that you know what Points and Polygons are if you want to get anywhere with modelling.<br /><br />The Tools that come with Modeler, has been nicely categorised under the Tabs, just above the Top Left Viewport. The "Create" Tab is open by default when you load Modeler, and if you click any of the other ones, you should see that the Tools to the left of Modeler changes. To activate a Tool, simply click on it once. Activate the Box Tool in the "Create" Tab now. If you move your mouse over any of the Viewports now you can see that the mouse pointer has turned in to a small 3D box. The same thing happens with the other Primitive Object Tools, the Ball Tool turns into a small ball, the Disc Tool into a small cylinder and so on. To Deactivate a Tool simply click it again or hit "Space" on your keyboard. We are going to go through the most common tools a bit later in this Guide, to get to know them better. <br /><br /><b>The Numeric Panel</b><br /><br />Almost every Tool in Modeler comes with a Numeric Panel. This panel lets you enter exact values of how you want the final result to turn out. For example, using the Numeric Panel when you have the Box Tool activated lets you enter exact values of how big the box should be, and if you're using it when you have the Move Tool activated, you can enter an exact value as to how much you want to move the object and so on.<br /><br />Activate the Box Tool and hit "n" on your keyboard. Once you hit "n" the Numeric Panel will come up showing you default values of the Tool you selected, in this case the Box Tool. Once you activated the Numeric Panel, a box was created in real-time in the ViewPorts of Modeler, and as you make changes in the Numeric Panel, it will affect the Box in the ViewPorts. Close down the Numeric Panel by clicking "n" once more (or by clicking the "X" at the top right of the Numeric Panel window), and then hit "Space" on your keyboard to deactivate the Box Tool and to create the Box. Don't delete this box; we'll need it later on.<br /><br /><b>The Hub</b><br /><br />The Hub is what Lightwave uses to communicate between the Layout and the Modeler. When you've finished modelling your objects for instance, simply send them to layout via the Hub. This increases the workflow even more, and makes Lightwave more like one program instead of two. As soon as you start Lightwave up, the Hub will automatically start running, you'll notice a small green icon in the System Tray. If you don't have enough ram in your machine, and Lightwave tends to get slow after a whiles usage, then you can turn the Hub off via the System Tray, its requirements are pretty high.<br /><br />If you would like to run without the Hub permanently, then do the following steps. Add two shortcuts to Layout and Modeler in your Windows hotbar (down where the Start menu is). Right click the Layout shortcut and select Properties. In the Window that comes up, you should have a "Target" string, indicating where on your harddrive the executables are. In the end of this string, add "-0", making it look something like:<br /><br /><b>...Newtek\Programs\Lightwav.exe -0</b> <br /><br />Do the same with the Modeler shortcut, and the next time you run either of them, the Hub will not start automatically, saving you lots of RAM. <br /><br /><b>Objects & Layers</b><br /><br />You can have many objects loaded at the same time in Modeler, and just above the Top Right Viewport you should see a pull-down menu where it currently says "Unnamed". This is the object you are working on at the moment, and if you have more than one object loaded in Modeler, you can switch to which one you wish to work with here.<br /><br />To give you even more control over your objects while you work with them, Modeler brings you Layers. Each object can have 990 layers, and this is more than plenty. Just above the Top Right Viewport you should see 10 small boxes, and these are the layers. Picture 10 shows the Layer Tools.<br /><br /><div style="width: 167px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture10.jpg" border="0" height="93" width="167" /> <div class="f10" align="center">Picture 10: The Layer Tools </div></div><br />The one to the very left is lit up with a yellow colour, which means that it is active. As you can see there's a little black dot in this Layer. Remember the Box we created earlier? Well, the little black dot indicates that this layer has got an object in it.<br /><br />If you look at picture 11 you will see that each of these boxes is divided in two. The Top part indicates Foreground Layer, and the Bottom part indicates Background Layer.<br /><br /><div style="width: 396px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture11.jpg" border="0" height="212" width="396" /> <div class="f10" align="center">Picture 11: A Closer look on the Layers </div></div><br />One of the new things since LW6.5 are the Layer Groups. Earlier you could only have 10 layers per objects, but with this feature you can have 990. 10 Layers per group and a total of 99 groups. Picture 12 shows the Layer Groups.<br /><br /><div style="width: 150px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture12.jpg" border="0" height="358" width="150" /> <div class="f10" align="center">Picture 12: The Layer Groups </div></div><br /><b>Lightwave Universe</b><br /><br />Both Modeler and Layout has something called Lightwave Universe, and the Universe has got a centre spot. As you can see in the four views of Modeler, there are two lines in the grid pattern that are a bit thicker than the others. Where these two meet, that's the exact centre. The values for X, Y and Z here are all zero.<br /><br />Working in the Bottom Left Viewport, put your mouse pointer at the exact centre and watch the Position Window. It should look something like picture 13.<br /><br /><div style="width: 400px;"><img class="f12" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture13.jpg" border="0" height="282" width="400" /> <div class="f10" align="center">Picture 13: Closer look at the Axes </div></div><br />The red dot in the middle of the View indicates the centre of the Universe, and as you can see in the Position window, the values are both zero there. The picture also shows that each axis has got a negative and positive side. In my example I'm using the "Back" View, or the Bottom Left Viewport, and this viewport shows the X and Y axis. Left of the vertical centre line you have the negative X, and on the right you have the positive X. Below the horizontal centre line you have the negative Y, and above you have the positive Y. Does it sound hard? Well, I've made a few pictures to ease things up a bit.<br /><br />Picture 14 shows 4 different positions for the mouse pointer, which is indicated by the little red dot. Note that the Grid Size is set to 500mm, and therefore each square in the grid pattern indicates 500x500 millimetres of space.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/picture14.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut4/_picture14.jpg" height="283" width="400" /></a> <div class="f10" align="center">Picture 14: 4 different positions for the mouse pointer (Click to enlarge)</div></div><br />All of the views in picture 14 show the Back View (Bottom Left Viewport), and you can try this out yourself by just moving your mouse pointer in the Viewport.<br /><br />There you have some information on how Modeler is built up and how things work in general. We will now start the main Tutorial, and while we go along we will do a few smaller tutorials on the tools we use etc.volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-55127425169097238752009-10-26T04:34:00.001-07:002009-10-26T04:34:41.241-07:00Create a Glass Bowl using lightwave 3dOkay, lets start using Lightwave for real then. Keep your Modeler running, and to the top left, click the "File" pull-down menu and select "Close All Objects". This will clear the Modeler so we can start over with our new project. In our first Tutorial we will be creating a Glass Bowl, and here are some of the things you get to learn and use.<br /><br /><b>Box Tool<br />Pen Tool<br />Lathe Tool <br />Flipping Polygons<br />Assigning Surfaces<br />Basic Subpatches<br />Using Layers<br />Glass Materials<br />Reflective Materials<br />Basic Camera Settings <br />Basic Light Settings<br />Basic Rendering Options</b><br /><br />Picture 15 shows the final render:<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture15.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture15.jpg" height="300" width="400" /></a> <div class="f10" align="center">Picture 15: The final Glass Bowl Picture (Click to enlarge)</div></div><br /><b>The Bowl Shape</b><br /><br />We are going to use the Pen Tool to create an outer shape of the bowl, but before we do this, we need to adjust the Modeler. In the Bottom Left Viewport, change the View to "Back (XY)" if it isn't already, then place your mouse pointer in the centre of all four views and drag it up to the right. This will increase the size of the "Back" view and we will have more control over what we do. Use the Pan tool in the Back Viewport and drag until the centre of the universe is at the bottom left, look at Picture 16 and you'll know what I mean.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture16.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture16.jpg" height="302" width="400" /></a> <div class="f10" align="center">Picture 16: Prepare the Modeler (Click to enlarge)</div></div><br />Now how do you set the grid size to 10mm then? Well, it's quite simple. When you use the "Zoom" Tool, Modeler will automatically adjust the grid size whether you zoom in or out. In the Back View, click the "Zoom" button and drag with your mouse to zoom in. Keep an eye on the Grid Size as you do this, because you'll notice that the Grid Size changes. So zoom in until the grid size says "10mm". Have a look at picture 16 again to see what it should look like.<br /><br /><b>The Pen Tool</b><br /><br />The Pen Tool is quite simple to use. It lets you place points, and as you do it also connects the points with polygons. Like many of the other Tools in Modeler, the Pen Tool comes with a Numeric Panel, which lets you insert exact values on where the points should be created. Activate the Pen Tool now, you'll find it in the "Create" Tab. Once activated, press "n" on your keyboard to bring up the Numeric Panel. As you can see in the Numeric Panel, the default values for all the axis are set to zero, and if you look at the centre of the Universe in the Back View, you should notice that a point has been placed there, like in picture 17. <br /><br /><div style="width: 400px;"><img class="f12" alt="image01" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture17.jpg" border="0" height="416" width="400" /> <div class="f10" align="center">Picture 17: The Numeric Panel for the Pen Tool </div></div><br />The first point has been created, so close down the Numeric Panel now by clicking the "X" at the top right of the Panel, but keep the Pen Tool activated.<br /><br />We will use the Pen Tool to place points in the shape we want the Bowl to be, and as we place our points, Modeler will connect them with polygons automatically. I used a total of 29 points for my shape, and you can use more or less for your shape if you want to.<br /><br />Have a look at picture 18; you'll see that I've numbered each point in which order I created them, so try to create a similar shape now.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture18.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture18.jpg" height="302" width="400" /></a> <div class="f10" align="center">Picture 18: The Basic Bowl Shape, try to create a similar shape (Click to enlarge)</div></div><br />Deselect the Pen Tool once you're done creating the shape. I created my points in a clockwise order, and this will result in that the polygons will face inwards later on when we lathe it. Does it sound complicated? Lets have a look at the lathe tool and you'll know what I mean.<br /><br /><b>The Lathe Tool</b><br /><br />Now size down the Bottom Left Viewport until all four Viewports are the same size. If you press "a" on your keyboard now, the shape we have created will be fitted nicely in all four Views as well. Picture 19 shows what we have so far.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture19.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture19.jpg" height="302" width="400" /></a> <div class="f10" align="center">Picture 19: The basic Glass Bowl shape (Click to enlarge)</div></div><br />Click the "Multiply" Tab and then activate the "Lathe" Tool by clicking on it. We are going to have a look at the Numeric Panel here as well, so press "n" on your keyboard to bring it up. Once the Numeric Panel came up, a real-time preview of the Bowl appeared in the Viewports. As you can see in the Perspective View now, the polygons of the bowl are facing inwards, like I mentioned earlier. We can fix this easily by flipping the polygons later on when we're done lathing. So how does the Lathe Tool work then? Well it's quite simple. It takes the 2D polygon shape we created, and it spins it around 360 degrees, and while it spins it, it creates geometry out of what the 2D polygon shape looks like.<br /><br />Lets have a closer look at the Numeric Panel then. The amount of sides determines how many times the 2D polygon shape should be duplicated when it spins it. The default value is 24, which will do fine for this bowl. The centre values should all be set to zero, since that's where we started creating the polygon shape.<br /><br />The Start and End Angle determines where it should start spinning, and where to stop. Picture 20 shows an example of this.<br /><br /><div style="width: 400px;"><img class="f12" alt="image02" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture20.jpg" border="0" height="284" width="400" /><img class="f12" alt="image03" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture20_.jpg" height="283" width="400" /> <div class="f10" align="center">Picture 20: Testing the Angle values </div></div><br />Picture 20 is divided into two. The picture to the left shows a value of 180 degrees entered for the End Angle, making the lathe tool only create half of the Bowl. Using 360 degrees like in the picture to the right will spin it all around making the Bowl complete.<br /><br />So the final settings for the Lathe Tool should be what picture 21 shows.<br /><br /><div style="width: 228px;"><img class="f12" alt="image04" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture21.jpg" border="0" height="327" width="228" /> <div class="f10" align="center">Picture 21: The settings for the Lathe Tool </div></div><br />When you've entered these settings, just close down the Numeric Panel and hit Space to perform the operation, then press "a" to fit the Bowl in the Viewports. When you're done with that, press "f" to flip the polygons and we're done!<br /><br /><b>Assigning Surfaces</b><br /><br />What we want to do now is give this Glass Bowl a material. The final surfacing and the creation of the glass material will be done in Layout later on, and right now all we have to do is assign a name to the Glass Bowl. Press "q" on your keyboard to bring up the "Change Surface" panel. Name this surface "Glass Bowl", set the Specular to 50% and click the "Smoothing" button (to activate it), then just click "OK" to apply the changes.<br /><br />The Glass Bowl is looking a bit rough at this point, but we will take care of that next.<br /><br /><b>Subpatches</b><br /><br />Lightwave can turn objects into Subpatches, which will smooth the polygons out. Then when the sides of the object are smooth, we freeze the Subpatches and the object gets a new smooth shape permanently. Make sure everything is unselected in Modeler, and then hit "Tab" on your keyboard to turn the object into a Subpatch. Notice how smooth the bowl turned out? It should look something like picture 22 at this moment.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture22.jpg" target="_blank"><img class="f12" alt="Click to enlarge" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture22.jpg" height="302" width="400" /></a> <!--<div align="center" style="padding: 5px"> <table border="0" cellpadding="5" cellspacing="0" width="100%" style="border: 1px solid #979797; background-color: #E1E1E1"> <tr> <td align="center"><a href="http://www.lunarpages.com/?id=metamorph" target="_blank"><img src="/bannersaf/lun2.gif" border="0" width="468" height="60" alt="" /></a></td> </tr> </table> </div>--> <div class="f10" align="center">Picture 22: Subpatches activated (Click to enlarge)</div></div><br />Now we want to tell Modeler how much it should smooth the polygons. If you hit "o" on your keyboard an Options Panel will open up. You can set various settings here but at the moment we are only interested in the "Patch Division" setting. We will use a Division of 3 here so enter that number in the "Patch Division" field. This means that each Patch in our mesh will be subdivided 3 times when we freeze it. Click OK to close down the Options Panel, and then hit "ctrl+d" on your keyboard to freeze the Subpatches.<br /><br />The object is now back in to a polygon mesh.<br /><br />Now I need to say something about surfaces and how they work in Lightwave. As you might know, light bends when it passes through transparent materials such as glass. At this point, our bowl only has polygons facing outwards, meaning it wont appear as solid glass once we render it, know what I mean? If we were to create an inside of this bowl, then Lightwave would know that the glass is solid and it will know when to start and stop bending the light. We can fix this quite easily, all we need to do is to copy the polygons of the bowl, paste them in a new layer and then flip them so that they're facing inwards. Then we will have an outside and an inside for our bowl.<br /><br />Make sure everything is unselected and hit "c" on your keyboard to copy this bowl object. Now it's time for us to use the Layers. If you look at the 10 small boxes up to the right, you'll notice that black little dot I was talking about earlier in Layer 1 (the box to the very left). This means that that Layer is taken, and we know it is, by our bowl object. Activate Layer 2 now by simply clicking in the upper part of the box; it should look like picture 23.<br /><br /><div style="width: 138px;"><img class="f12" alt="image05" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture23.jpg" border="0" height="93" width="138" /> <div class="f10" align="center">Picture 23: Layer 2 active </div></div><br />Once you click on Layer 2, the bowl object will disappear from the four Viewports. We have a new empty work area for our next procedures, and anything we do in Layer 2 will not affect Layer 1 where the bowl is. Paste the object in by hitting "v" on your keyboard, we now have a second bowl which will become the inside for our main bowl.<br /><br />Hit "f" on your keyboard now. This will flip all the polygons in our object, making them face inwards instead of outwards. We just need to give this object a new Surface and we are done, so hit "q" on your keyboard again and the "Change Surface" Panel will open up. Name this surface "Glass Solid", set the Diffuse to "80%" and the Specular to "0%". Smoothing should also be turned on. Click OK to apply this surface to the object. Now that the Polygons are flipped and the new surface is attached to the object, it should look something like picture 24 in the Perspective Viewport.<br /><br /><div style="width: 356px;"><img class="f12" alt="image06" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture24.jpg" border="0" height="285" width="356" /> <div class="f10" align="center">Picture 24: The Flipped polygons with the new surface attached </div></div><br />Hit "x" on your keyboard to cut this object out of Layer 2, then activate Layer 1 again and hit "v" to paste it there. You won't notice any difference since this object will be "inside" the other one, making the Polygons double-sided. All we need to do now is merge the points, since we have a lot of duplicated points lying around. Hit "m" on your keyboard and the "Merge Points" Panel will open up, just select the "Automatic" operation here and click OK. A few thousand points should be eliminated.<br /><br />Our bowl object is now finished and ready for Layout, but first we should create some environment for it to be in. We're going to keep this very simple; we'll just create a box that will act as a room. Switch to Layer 2 again and activate the Box Tool, then use the values shown in picture 25.<br /><br /><div style="width: 228px;"><img class="f12" alt="image07" src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture25.jpg" border="0" height="327" width="228" /> <div class="f10" align="center">Picture 25: The Box Tool settings </div></div><br />Once you've entered the values, just close down the Numeric Panel. Then hit "Space" to deselect the Box Tool and to create the box. We need to set a new surface for this object, so once again hit "q" on your keyboard, and this time name the surface "Floor". Set the Diffuse to "80%" and the Specular to "10%", then click OK and the new surface is created. We are going to flip the polygons of this box as well, since we want the sides of the box to appear as walls to simulate a simple room; hit "f" to flip the polygons now. <br /><br />Modeler lets you view two or more layers together at the same time, and now would be a good time to view the two objects to see what they look like. With Layer 2 still active, hold down "Shift" on your keyboard and click on Layer 1. This will make both Layer 1 and 2 active, and the objects in both Layers will become visible. Hit "a" on your keyboard to fit the objects in the view, they should look something like picture 26.<br /><br /><div style="width: 400px;"><a href="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/picture26.jpg" target="_blank"><img src="http://www.prodesignhost.com/tutorials/3d_studio_max_tutorials/images/tut1/_picture26.jpg" alt="Click to enlarge" class="f12" border="0" height="302" width="400" /></a> <div class="f10" align="center">Picture 26: Both objects together (Click to enlarge)</div></div><br />All the objects we need for our scene has now been created. At the upper left of Modeler you should see a "File" button. Click this one and select "Save Object As". When the requester pops up, select a place on your hard drive where you wish to save the object. An advice is to create an "Objects" folder in your "Newtek" folder, where you keep all the objects you create. Name the object "BowlScene.lwo" or something like that.<br /><br />Since we have 2 layers for this object (the bowl layer and the room layer), Lightwave will save both of them as one object, but it will remember what layers were used and what object was in which layer. I'll get back to this later on when we load the object into Layout.<br /><br />The Tutorial will now pause for a tour of the Lightwave Layout, but will continue after that one is finishedvolume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-25066764519507806542009-10-26T04:22:00.000-07:002009-10-26T04:32:49.821-07:00Lightwave 3D GSM Phone - Detailed 3D Modeling tutorial<img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-1_1.jpg" title="3d modeling Mobile Phone - Lightwave 3D Tutorial" /><br />OK lets get start with basics. This tutorial is for beginners/intermediate users who know basic stuff in LightWave; but some advance users also might find few good tricks . You only need to know where to find certian buttons what i will use and normal things like selecting modes in modeler. If you don't know that i suggest to read manuals before star 'coz it will be easyer to follow tutorial.<br />Like title says i'll show how to model Sony Ericsson T610 (T616 for USA) GSM phone in <em>LightWave 3d modeler</em>. First good thing when you start to model anything is to know your subject better. So best thing is to go online and found as much as possible images from different angles. Good thing is that i aactualy have this phone at my home so i can look it from any angle and see it better but i included this big REFERENCE image<br />(look below) so that you can see phone very nice.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; /* CG_460 */ google_ad_slot = "2147875109"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&output=html&h=60&slotname=2147875109&w=468&lmt=1213082354&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_1.html&dt=1256552693612&prev_fmts=728x15_0ads_al_s%2Cref_text%2Cref_text%2C110x32_as_rimg&prev_slotnames=9007082147&correlator=1256552687046&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=849390302&ga_fc=1&u_tz=60&u_his=2&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fwww.tutorialized.com%2Fview%2Ftutorial%2FGSM-Phone-Detailed-3D-Modeling-tutorial%2F23204&fu=0&ifi=6&dtd=6&xpc=OyP6U7ibFv&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins><br />First i would suggest making directory tree. I use something like this : SE-GSM-phone directory where i make several new directories as : objects, resources, scenes, textures, renders. That will help you to keep it organized and you will easyer find all files later if you need them. Also IMPORTANT thing is to save model constantly to avoid any crash problems, powercuts or similar failures wich can destroy all your hard work in seconds. My suggestion is to save model every few steps when you make something important. I use naming scheme like «object_001.lwo» and so on. Normaly last number will represent my curent state if i decide to continue modeling later. I think that we are ready for start now .<br /><br />Here is Blueprint image what i will use trought whole tutorial. Save this image in native resolution (352*742 pixels) and use it as backdrop in modeler.<br /><br /><img src="http://cg-india.com/images/t610/Lewis_02.jpg" title="" /><br /> <br />Go to Display options (d key) and set blueprint image to BL backdrop window and resize it to 10m (i use<br />metric system so take that in mind). Also i would suggest (not vital but ) to set your viewport options to independent visibility and center so that you can zoom and move trough viewports without zoomig on all of them at same time. To me it's easyer to work that way but you can leave it to default if you like it better.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-2_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-2_2.jpg" title="" /><br />After you succesfuly setuped background blueprint go to «image editor» TAB and select loaded image. Then go<br />to «Editing» tab and turn down «brightness» to 0,43 wihc will help us to blend image with LWs native grey background screen. Look at this screengrab to see settings and LW screengrab how it should look now.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-3_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-3_2.jpg" title="" /><br />Finaly now we have proper setup to start this 3d model.Let's get work.Create BOX as on this image.<br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-3_3.jpg" title="" /><br />Then hit «TAB» key to tunr model in SubDs mode (metaNURBS/Subpatches). After that select top section and<br />use «bandsaw» tool to bandsaw at middle as this image shows. Now we have top part of model pretty nicely shaped and matches blueprint. It's not crucial to match blueprint outlines 100% but try to be close as possible. This blueprint is litlle odd 'coz it shows that bottom part of phone (buttons) is little less wide than top part but if you look at resouce images you will see that top and bototm parts are pretty much equaly wide so don't bother to much with blueprint differnce.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-4_1.jpg" title="" /> <br />Use same bandsaw technique at lower part of phone (below buttons) to match edge to blueprint shape before next step (i can't show every single small step in this <strong>tutorial</strong> so try to look at my images very carefuly wich will<br />explain you all this text instructions when you see it on screengrabs).<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; /* CG_460 */ google_ad_slot = "2147875109"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&output=html&h=60&slotname=2147875109&w=468&lmt=1213082354&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_1.html&dt=1256552693678&prev_fmts=728x15_0ads_al_s%2Cref_text%2Cref_text%2C110x32_as_rimg&prev_slotnames=9007082147%2C2147875109&correlator=1256552687046&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=849390302&ga_fc=1&u_tz=60&u_his=2&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fwww.tutorialized.com%2Fview%2Ftutorial%2FGSM-Phone-Detailed-3D-Modeling-tutorial%2F23204&fu=0&ifi=7&dtd=7&xpc=jBey4QTy8s&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Next use «extrude» tool and extrude mode model in Z axys at 1.3m (don't worry about those measurments 'coz main thing is to get aspect ratio well so<br />later you always can resize whole model to real measures). If you get fliped poygons in perspective window just hit «F» to flip polys and it will be fine.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-4_2.jpg" title="" /> <br />Then select two polygons on side of GSM (extruded part) to bandsaw them<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-5_1.jpg" /><br />Now you should have something like this image shows. I have general shape of phone and some thicknes (remember that 1.3m extrude).<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-5_2.jpg" /><br />Now you should have something like this image shows. I have general shape of phone and some thicknes (remember that 1.3m extrude).Next select side polygons again (just two in row are enough to show the way how bandsaw will go) and use bandsaw right at middle. Now you switch modeler to points mode to move points for making side inset on phone. Just select side poinst of object and not top and bottom ones 'coz ptohe have inset only on side of phone. You will do that by selecting side points and using «size» tool (shortcut shift+h). If you hold down Ctrl key it will size it proportionaly and then turn on numeric input to see what's hapening. You now should have something like this on image below. Notice that i'am now in non SubDs mode (turned off by TAB key).<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; /* CG_336x280 */ google_ad_slot = "7834596833"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&output=html&h=280&slotname=7834596833&w=336&lmt=1213082447&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_2.html&dt=1256552751325&prev_fmts=728x15_0ads_al_s%2Cref_text%2Cref_text%2C110x32_as_rimg&prev_slotnames=9007082147&correlator=1256552749823&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1951372902&ga_fc=1&u_tz=60&u_his=3&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_1.html&fu=0&ifi=6&dtd=7&xpc=FdOIKVyMc8&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br />Also bandsaw lower part of object below buttons 'coz phone have here small falloff in shape. You will get this after Bandsawing and turning on SubDs mode wiht TAB key.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_1.jpg" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_2.jpg" /><br /> <br />Now bandsaw both sides of phone 'coz we need more definition on shape. I used just 0.5 bandsaw on both sides and object now looks better (left image). Then hit Ctrl+d to «frezze» SubDs into polygonal object and you will get object from right image wihc is little bit too dense but now we will fix that .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_4.jpg" title="" /><br />Select few polygons in same row from middle of object. Then hit «bandglue» tool wich will merge few rows into one row and reduce polygon density what we need now. Do that few times on both sides and on horizontal side equaly and you'll get object to look like on right image wich is pretty enough dense for next steps.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-6_6.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; /* CG_460 */ google_ad_slot = "2147875109"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&output=html&h=60&slotname=2147875109&w=468&lmt=1213082447&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_2.html&dt=1256552751373&prev_fmts=728x15_0ads_al_s%2Cref_text%2Cref_text%2C110x32_as_rimg&prev_slotnames=9007082147%2C7834596833&correlator=1256552749823&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1951372902&ga_fc=1&u_tz=60&u_his=3&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_1.html&fu=0&ifi=7&dtd=8&xpc=gWgizv1PKy&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Now make go to new layer and put firs tone in background. Then make box object in place for GSM button. Divide that box object in middle and then both sides again in middle as seen on left image. You will also need to select end points and move them litlle bit or use scale tool to move both sides simultaneously and equaly to get that shape. After you hit TAB key you get nice button shape wich match design pretty well on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_2.jpg" title="" /> <br />Next step is again hit Ctrl+d to «freeze» that object. After freezing select all polygons (left image) and hit «merge polygons» button (shift+z) wihc will merge all that small quads into one big polygon (right image).<br /><br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_4.jpg" title="" /><br />This is what we need but we have now so many points in middle wich are totoaly unnecesary so we need to delete them. Open «statistic» window and go to points mode. Then click on small «+» sign infront of text «0 Polygons» wich will select all points what aren't part of polygons (left image). Then hit delete key to delete all those unneded points. As you can see on right image you now have good button shape .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-7_6.jpg" title="" /><br />Next step is to copy/paste buttons. Just use copy/paste options and make left and right button in place. Try to move them by numeric input so that oyu move left and right one equaly (use negative value to move left button). Now you should have three buttons in place as left image shows. Now just use «clone» item to clone three buttons automaticaly. I used 3 clones 'coz we need three rows of same buttons. Alo use Y axys offset wich will move every cloned row to Y axis and place buttons in right place. If you used all numbers in start as i do, you should set clone offset to 59cm wich will set cloned buttons in right position.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578435&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_3.html&dt=1256552791626&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552789424&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=655931471&ga_fc=1&u_tz=60&u_his=4&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&eid=36815003&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_2.html&fu=0&ifi=6&dtd=7&xpc=74qH6ms9BO&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-8_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-8_2.jpg" title="" /><br />Left image shows object after cloning buttons. Next step is adding different surface name to buttons. Just hit «q» key and name new surface as «buttons». It sounds odd but it will make sense later when we need to select buttons only in whole object. Then i'll use selecting by surface tool wich will make this process much easyer than selecting buttons manualy poly by poly. Also it's good to give buttons surface different color than rest of object. Just for better visibility i used similar grey color but darker one.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-8_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-8_4.jpg" title="" /> <br />So far so good, now you have nice set of buttons there and they have different surface name . Copy buttons layer one more time in new layer for later. We will them later one more time. Now go to buttons layer and click «extrude» tool (shift+e). Type 40cm to Z axys like image shows. This will give some depth to buttons.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-8_5.jpg" title="" /><br />Select first layer (phone) and make buttons layer to be backfround layer like left image shows. Then click «solid drill» tool and select «stencil» option with surface «buttons» what we named earlyer right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-9_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-9_2.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578435&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_3.html&dt=1256552791687&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552789424&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=655931471&ga_fc=1&u_tz=60&u_his=4&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&eid=36815003&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_2.html&fu=0&ifi=7&dtd=7&xpc=en7j90Etzy&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Hit OK and you'll get stenciled buttons into layer one where our phone object is. And as you can see (left image) we have buttons in different surface/color wich is important for next steps. Don't forget to save your object often (i'am already on SE_005.lwo). Now check your selection mode under «modes» button on bottom of modeler screen. Be sure to set your modelet to «Action center: Selection» wich will be inportant later. See right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-9_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-9_4.jpg" title="" /><br />Now go to polygon statistic window («w» key) and choose under surface tab «buttons» surface what you made earlyer. Then click on «+» button in front of it wich will select your buttons on model. That's very easy way to select polygons and only reason why i aded new surface to buttons in this early stage. After this select you all buttons just use laso tool (hold right mouse button and cruise with mouse around polygos) to deselect all buttons beside one (i choosed top left one on perspective window).<br /><br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-9_5.jpg" title="" /><br />Now you have selected only top left button as left image shows. Don't bother yourself with other views (since bottom left window shos that you selected right top button (number 3). That's because i used «back» in bottom left window configuration. If you switch it to «front» it will show same (as in perspective window) top left selected button but will invert blueprint image . So just leve it as it is on left image. Then hit «Smooth shift» button under multiply tab (shift+f key). Turn on numeric view (n - key) and type these values: «offset 5mm» ,<br />«Scale 98.0%» and leave Max smooth angle intact. This will give you nice small inset of button hole and good rounded edge wich will help on rendering 'coz no edge is 100% sharp in real world (look right image). You need to repat that step for every button hole.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-10_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-10_2.jpg" title="" /><br />Then select all button insets manualy liek left image shows. After selecting them go to «smooth shift» tool again but «reset» previous state in numeric input. After you reset it inset value need to be 0% and scale 100%. Then go to «move» tool and wiht numeric input set 15cm to «Z» axis wich will inset all button holes for placing buttons right image.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578460&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_4.html&dt=1256552819505&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552818055&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1700268588&ga_fc=1&u_tz=60&u_his=5&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_3.html&fu=0&ifi=6&dtd=6&xpc=rMUF1til7U&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-10_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-10_4.jpg" title="" /><br />Next go to «surface editor» and rename surface «button» into «button holes» wich is more apropriate now 'coz this is just hole for buttons .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-10_5.jpg" title="" /> <br />Next step is making buttons. Remeber i told you to copy buttons layer once. Now we will use that layer to make buttons. Got o that layer and hit «q» key to make new surface. Name it buttons (yeah again but since we changed last surface to button holes this one is available now ). You can colorize them in surface editor if you want (i used light blue-grey color). Now choose ONE button (again top left one) and hit «Size» button (shift+h)<br />under modify tab and hod on CTRL key while you move mose to left. You will see that button is shrinking equaly but stays in place (that's why you need to hold Ctrl key). Look at botom left corner of modeler screen while you are scaling it and you'll see how much percen you are already scaled. Use something from 95% - 97% 'coz 98% is our hole after earlyer scaling and we want button to fit in hole so it needs' to be smaller than 98% but not too much 'coz gap isn't big on real phone. After you scaled all buttons you should have something like left image shows. Then select buttons layer in foreground and hit «extrude» tool. Open numeric input window and put 20cm value to «Z» axis as right image shows. That will give some needed depth to buttons.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-11_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-11_2.jpg" title="" /><br />Select top polygon of all buttons and click on «bevel» tool. Open numeric window and set «shift» to 2mm and «inset» also 2mm value. This is so caled micro beveling wich will help on realistic render later. Left image shows how it should look. Next do another few «bevels» while top polygons is already selected. Just try to get similar shape as I did on right image. It's not realy important to have exact value 'coz i also don't know how big<br />that is on real phone and i sure won't measure it now . It looks like buttons are got very nice shape now and we are ready for next steps.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-11_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-11_4.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578460&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_4.html&dt=1256552819554&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C468x60_as&correlator=1256552818055&pv_ch=9397678831%2B&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1700268588&ga_fc=1&u_tz=60&u_his=5&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_3.html&fu=0&ifi=7&dtd=9&xpc=zCT0IvFnaO&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Make BOX object in new layer (1st is phone, 2nd is buttons and 3rd is this BOX object now) in place where GSM screen would be and EXTRUDE that box to intersect wiht phone like left image shows. Then add new surface to box layer. I set surface name «screen» like right image shows. We will do that very often in next steps so try to remember that step.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-12_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-12_2.jpg" title="" /><br />Now «stencil» this BOX into first layer. Same process like with buttons (trick with Foreground/background layer) left image. Now select those screen polys with select by surface on polygon statistic window as before. Then do some micro bevelig as right image shows. This LCD screen is very tricky on real phone. Firs it's inseted about 2-3mm and then it's again ofseted back to initial position so it looks just like gap between phone and glass(plastic) but it's totaly connected and made out form one piece so we'll need few smooth shifts in and out wich will be showed on next images.<br /><br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-12_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-12_4.jpg" title="" /><br />As you can see on this left image i smooth shifted and in and out few times to get that screen look decent and on same level as phone. On right image you can see how phone looks now already recognizable .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-13_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-13_2.jpg" title="" /><br />This is hard step now. We need to make inset/gap in phone to separate parts (front, back and side) of phone. Make two polgons liek left image shows. These are just guide for shape we will make from them and stencil in phone side later. Next select two top point on one polygon and hit «etender» tool on «multiply» tab. When you hit button it looks liek nothing happend but it's happend very important thing actualy. We got copy of those two points but attached to polygn below so you need to click «move» tool and move those two new points with mose like right image shows. We need to make few same steps untill one side connect other.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578480&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_5.html&dt=1256552842401&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552840885&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1830248578&ga_fc=1&u_tz=60&u_his=6&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_4.html&fu=0&ifi=6&dtd=6&xpc=RiovprP2E4&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-13_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-13_4.jpg" title="" /><br />You need something like this shape on left image 'coz gap is rounded on top like that . If some of your polygons are fliped (not facing in same direction) wich is often after «extender» tool is used just select them and hit «flip» tool wich will flip them to other side. Or you can hit «align» button under «detail» tab wich will align fliped polys automaticaly to side what majority polys are facing. Aslo give them new surface name for easyer selecting polys later. Next step is to hit «TAB» key to turn our polyfons to subDs (subPatches/metaNURBS) object. Then hit «freeze» (ctrl+d is shortcut) adn you'll get something like this on right image. We needed smoother shape so that's reason why i turned this object into SubDs and freeze it later. This is very detailed model and it need to have all details wich will be nice later when model is rendered.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-14_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-14_2.jpg" title="" /> <br />Now select all 6 rows of polygons in one section like left image shows and click «bandglue» tool under «construct» tab wich will merge 6 rows of polygons into one automaticaly right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-14_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-14_4.jpg" title="" /><br />Now click «extrude» tool and extrude that polygons to intersect phone object totlay to other side. I used -5m value on X axis as you can see on left image. Then select several rows of polygons on extruded object and hit «bandglue» tool again to merge unneded rows into one large polygon. Do that on uper and bottom side.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_2.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578480&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_5.html&dt=1256552842453&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552840885&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1830248578&ga_fc=1&u_tz=60&u_his=6&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_4.html&fu=0&ifi=7&dtd=9&xpc=ar29UxiuD9&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Next is again «stencil» as showed on left image. Right image is what you should have after succesful stencil.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_4.jpg" title="" /><br />Now select those stenciled polygons (should be easy if you named surface differently before solid drill / stencil procedure) and «smooth shift» them 4cm inside wich will give neded depth for gap left image. Now we will make top inset on phone. Make new box object in new layer wich will intersect top part of phone around middle like right image shows and give surface to that new poly preferable same surface named for side inset i named it «side gaps» and colored to brown.<br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-15_6.jpg" title="" /><br /><br />Now star same «solid drill» tool with «stencil» option to stencil that shape into top of phone. But remember that phone object need's to be in Foreground and intersecting object (that boxy shaped object) in background layer. As you can see in left image you now have stenciled gap into top part of phone. But it's not totaly good and we need to «weld» some points. Select few points as showed on left image and hit «weld» key to merge them into<br />one point. Do that same proces for other side of phone untill you get nice clean poly area as on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-16_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-16_2.jpg" title="" /><br />Now slect those top polygons and «smooth shift» them invard like we did before with side polys left image. Then clean those polygons by welding points together. You need clean poly quads there as on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-16_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-16_4.jpg" title="" /><br />Next step is more drilling holes on front of phone. As you can see from resource images on first pages phone have hole in top center part. That's hole for speaker. Now we are gonig to drill that part. Make that shape in next layer on same way how you made buttons earlyer. Then add new surface to that part (just for easyer selectiong though poly statistic wondow) and move to right position just above top of phone and extrude it like left image shows.<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578502&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_6.html&dt=1256552870232&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552868104&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=999754847&ga_fc=1&u_tz=60&u_his=7&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_5.html&fu=0&ifi=6&dtd=7&xpc=TklsuPcC8G&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins><br />After «solid drill» with stencil seetings (same process like before) select that area and «smooth shift» thos epolygons inside few times as right image shows. It's not important to have exact numbers so just try mimic something like right image shows .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-17_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-17_2.jpg" title="" /><br />Copy part of inseted polygons as left image shows and Merge polygons into one + delet ineneded points trought point statistic window. That's part wich will be extruded 'coz phone hole for speaker isn't just a hole it have it own special hole design . Then resize (to exceed hole boundaries) extrude and bevel top polygon - right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-17_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-17_4.jpg" title="" /> <br />Then click «mirror» tool (shift+v key) under «multiply» tab wich to that object part on other side automaticaly.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-17_5.jpg" title="" /> <br />Now cut/paste those parts into first object layer. Then make new part in next layer as left image shows. This is also part of that speaker hole and this par needs to be intersected with previous two and it's little rounded on top and it sticks out from phone mask level. So just extrude and bevel that polygon few times and then move to right position as showed on right image. That part of speaker isn't in the middle of hole so just move it slightly to bottom part. On blueprint looks like it's on middle but on real phone it's sligt moved to bottom so i rather make it that way. Then just cut/paste that part in first layer also.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-18_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-18_2.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578502&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_6.html&dt=1256552870289&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552868104&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=999754847&ga_fc=1&u_tz=60&u_his=7&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_5.html&fu=0&ifi=7&dtd=10&xpc=TnvdTq32MB&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Now make circle in new layer with 60-70 sides to make it realy rounded. Move it to right sode of pohone (looking in perspective window) and extrude in position like lef timage shows. This will be hole for right side button. After «solid drill» with «stencil» just bevel polygons to make hole wiht soft rounded edges right image shows how it should look after that process.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-18_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-18_4.jpg" title="" /><br />Now just use that drilling polygons to make button wiht extruding and beveling. Also resize button with to be smaller than hole. As you can see from right image phone button look cool .<br /><br />Making other side buttons. This side have 3 buttons. One biger on top (camera shortcut) and two same sized like one on right side of phone (+ and for speakerphone volume). Left image shows 80 segment circle (create ball tool) in progress. Then again same process extend that circle and stencil in phone. After than just smooth shift (wihtout inset value) 2 times. One time 99% size value and other time with 90% size value. This is because that part around button have small ring before hole (you'll see later). Aslo when you still have selected interior polys just hit «shift+z» to merge interior polygons to have only one center polygon like on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_2.jpg" title="" /><br />Next is needed to smooth shift hole for button left image. Now select this top row of polygons. It's easy to do that automaticaly with «bandsaw» tool. Generaly that tool is for cuting polys in loop but if you tunr OFF «enable divide» option it will serve like loop polygon selection tool very handy .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_4.jpg" title="" /><br />After that selecting just «smooth shift» that row of polygons 1cm left image. Next merge top polygons into one (shift+z) and bevel that top polygon few times to make round edge on top like on middle image. Then just bevel button polygons and position button very tight to hole like on right image.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1174424203&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_7.html&dt=1256552902480&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552900293&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1356845086&ga_fc=1&u_tz=60&u_his=8&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_6.html&fu=0&ifi=6&dtd=7&xpc=u4XEcEZKnv&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_6.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-19_7.jpg" title="" /><br />This step is showing volume buttons for speaker. I used same thechnique make two circles in new layer, Extrude them to intersect with body of phone, put phone in foreground layer and extruded circle polygons in background layer. Then clickt «solid drill» tool with «stencil» option and you get stenciled that on phone body left image. Then smooth shift and bevel polygons to make hole same as on right side of phone. These buttons are same size and depth as one on right side what we made earlyer so just use same setings to make holes right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-20_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-20_2.jpg" title="" /> <br />Next what you need is to copy/paste (into new layer) button from right side (it's faster than make new one which is same as this one) and rotate button by 180 degrees (click «y» key and hold «ctrl» while you pressed LMB nad move mose that will lock rotation angle to 15 percent steps and you'll easy stop at 180 or 180). Move button<br />to left side of phone and set position in hole. When you set top button to position just copy that one in new layer and move to botom hole wich is «Y» axsis only. After that you will have two same buttons in right place as showed on left screengrab image. As you can see on right screengrab image you should have pretty decent shape of phone with all side buttons in right place. All those small beveling and smooth shifting will payoff<br />later when you render it 'coz it will look much more natural than with sharp edges. Also take in mind that i saved this object so far 10 times. I'am already at «SE_GSM_010.lwo» and i always recoment to save files often so you will have two advantages: You dont need to afraid about crashing ot power cuts (if you don't have UPS ) or any problems and also you have many previous steps of modeling process so you always can go back easy and continue from previous steps something like history/undo. Another point is that you don't need to wory about surface names and colors. So far i have 7-8 different surface names/colors but that's just for easyer selecting and seeing of polygons. After we finish modeling steps it's very easy to select polygons and give them same surface name/color . Now i need to stencil one more button and one hole on top side of phone. You can't see these but trust me they are egzist on real phone on top of phone it's Power button.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-20_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-20_4.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "image"; google_ad_channel = "4477818719"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1174424203&channel=4477818719&ad_type=image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_7.html&dt=1256552902540&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552900293&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1356845086&ga_fc=1&u_tz=60&u_his=8&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_6.html&fu=0&ifi=7&dtd=7&xpc=7NzyIFw1Os&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Ok here is process how to stencil top hole (more like inset) and making power button. Make new extruded cirlce in new layer and position on middle of gap inset we made on top of phone left image. Then just make another «stencil» of that area. After succesful stencil you need to smooth shift and bevel that polygons (as usual) to make inset in phone. It's not very deep inset but it needs to be visible right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_2.jpg" title="" /><br />To make button just copy bottom polygon and smoth shift outvards. Then bevel top edge to make it round and you have nice and clean power button on top like on my left screengrab. Next step is drilling hole on top of phone. This hole is on center of top part but behing gap so just make another polygon shape and extured it in new layer as on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_4.jpg" title="" /><br /><br />Then stencil that into phone (left image), Then bevel and smoothshift few times to get nice hole wiht very smooth and rounded edges. It's little tedious but this hole is realy smooth on real phone (right image). I don't have any idea what's this hole for but i'am guessing it's have some importance for inside electronics or so.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-21_6.jpg" title="" /><br />Modeling that middle joystick hole is our gola now. Make 90-100 segments extruded circle (in different color for easyer selecting as usual) and set to right position to match blueprint just little above phone left image. Then solid drill/stencil that extruded circle on phone body and «smooth shift» polygons once right image. Procedure is always same so i'am not explaining every single small step like before 'coz all that is done earlyer in this tutorial you should rememberd something till now . Also you can try to hit «m» key to «merge» some points you might have on same place. Don't be surprised if modeler says he merged few hundred of points. He will automaticaly merge all points wich ocupy same position so we really don't need them. That points «problem» sometime can produce rendering errors so it's better to merge them in this modeling stage than wonder later what's that errors on rendering.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-22_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-22_2.jpg" title="" /><br />Then we go to usual smooth shift and bevel thing on left screengrab. Also delete center polygon(s) after you are done with smooth shifting and beveling to get nice rounded center ready for placing (and modeling in further steps) that joystick part for phone navigation (BTW it's very very nice phone and extremly easy to use with this joystik wich can be moved in all directions and pushed down to simulate confirm button - it's not SE commercial - just note to you for know what's this part acctualy). Now it's time for making joystick part. It's acctualy half of ball for modeling so just make ball (under «create» tab) wich will fit in that hole tight. I made 100 sides and 60 segments ball to fit in hole. Adjust ball position to fit in hole perfectly and then select all bottom polygons wich aren't visible form top. That isn't necesary step but why to waste 4500 polygons wich won't be visible on any render? This process is called polygon economy . You can select those polygons by holding RMB wich will activate laso tool selection is showed on right image.<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578548&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_8.html&dt=1256552927951&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552926283&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1827235620&ga_fc=1&u_tz=60&u_his=9&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_7.html&fu=0&ifi=6&dtd=6&xpc=e9Vwz8RAe4&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br />After selecting those unneded polygons just delete them and save your CPU time by reducing object by 4500-4700 polygons depends how much of them you decide is not needed after selecting. Try to fit that joystick/ball part very tight so that there is no gaps wich will show inside of phone where we won't model anythig so it's realy important that we don't get any visible holes.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-22_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-22_4.jpg" title="" /><br />Modeling that joystick top part will go like this click «create» BOX and activate numeric tool. Set size of box to 37cm on X and Y axis, depth 0m, center X 0m, center Y -1,25m center Z 1,46m. Also notice tha ti set 2 radius segments and 2 X segments. This will give us nice round BOX shape after hiting TAB key to tunr on SubDs (SubPatches/metaNURBS) mode. After hiting TAB key just «freeze» object (ctrl+d) and make same thing as before wiht buttons and other parts. If you forgot what you need to make here is reminder (last one ). When you freez object you have lot of polygons, select them all (wiht laso) and merge polygons (shift+z). Then you will have only one polygon but many unneded points in middle. Select thos e»o point polyfons» in point statistic window (just click on «+» sign on left side) and delete all 0 point polys. Then you will ahe somthing as on my right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-23_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-23_2.jpg" title="" /> <br />Next steps ofcourse is «solid drill» with «stencil» option adn extruding that part. Be sure you've added new surface to this part also before you stencil it. As you can see on left image i colored polygons to similar color but new surface name is key wich will give me option to select part with just one click on polygon statistic window. After stencil option you need to smooth shift that are once. Then you smooth shift polygons outvard to desired distance (it's not important to much 'coz we will cut that area later). Also good tick with smooth shift option (instead going to numeric tool) is this: 1. hit smooth shift button but DON'T turn on numeric window, 2. click RMB once (looks like nothing happend but it's happend) , 3. click «move» tool («t» key) and move polygons in one direction (by holding ctrl key). That way you get same results as with extend tool or smooth<br />shift extending but this way is faster and more precise (sometime smooth shift isn't working better on such curvy surfaces so this is better way). Use «bandsaw» tool to cut bottom connecting area in 3-4 rows and move these points little bit up to simulate smooth conection between those parts a showed on right image. Do that by this way : Select two bottom polys in one direction, then hit «bandsaw» and use cut that part in middle. After cuting (in polygons mode) switch to «points» mode and you'll have points already selected. Move them upwards just little bit and repeat that 2-3 times untill you get nice smooth edge right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-23_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-23_4.jpg" title="" /><br />Now we need to align top of this joystick part. Top end of this is sticking out from phoen level as much as buttons are so follow this steps now. Put phone in first foreground layer and buttons in background layer so that we can see how much they are sticking out. Best visible in top viewport.<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578548&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_8.html&dt=1256552928006&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552926283&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1827235620&ga_fc=1&u_tz=60&u_his=9&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_7.html&fu=0&ifi=7&dtd=10&xpc=sm5ystKtWS&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Then select all top polygons and merge them (shift+z) into one big polygon as showed on left image. Now just select and delete those 0 point polygons (as many times before trought point statistic window). Then go on buttons layer to see how far buttons are sticking. Do that on this way Select one point on button wich is sticking most ina hit «i» key wich will bring you info window and show you all position values of this point look at right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-24_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-24_2.jpg" title="" /><br />OK now you see all three axis value for this button (x,y,z) and see that we need to copy (or write down on paper) Z value. I use copy option in this way - selecting Z value on info window by LMB outline and ctrl+c<br />shortcut (windows style works on this info panell). Then open «set value» tool (ctrl+v) and paste (or write if you used good old pen and paper) that value into Z filed as left screengrab image ilustrates. After clicking OK in set value tool you'll get nice and precise aligned edge points and perfectly flat top polygon wich we need for next steps. Then you need to smooth shift (size option only) to polygon few times and round that top edge as we did on bottom connection part. Since top edge is really smooth and rounded on real phone i sugeest same thing as on bottom part with bandsawing and moving row of polygons by tiny amounts but this time to bottom (donw towards phone object). After you get similar shape like i did (showed on right screengrab image) just color/resurface that middle flat polygon to something like «glass for battery led» 'coz this is made of glass (transparent plastic actualy) on real phone. That's because inside (behind transparent plastic) of this is hole where you can see tiny little LED wich signalise (red color blinking) you when phone battery is empty and it's time for recharge really nice trick by Sony Ericsson . So if you want to make close shot renders just put inside of that one small ball object to simulate LED object or make this transparent plastic very dark and just semi transparent.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-24_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-24_4.jpg" title="" /><br /><br />It's time for modeling more buttons on front side. Make BOX object wiht 3* X and Y segments in new layer and move points to get similar shape as i did. This is general shape of button but on low poly before we hit freeze left image. Then bandsaw and cut that shape like right image shows. Then try to hit TAB key to see how nice button shape acctualy is that's just checking is shape right so go back in non subDs mode (hit TAB).<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_2.jpg" title="" /><br />Now you need to move these points (left image) litlle bit invard (closer to phone body) to follow right shape of buttons (look at TOP view to see how much is moved). Then move polygons litlle closer to phone body and extrude polygons invard and delete back face of button right image (look at perspective window i already<br />deleted back side)<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_4.jpg" title="" /><br />Now you will need one small «bandsaw» on extruded area to keep edge enough sharp in SubDs mode (i used 0,95 or 0,05 depends did you selected polys in cw or ccw order). After you hit TAB key it looks very nice and smooth button as we need middle image. Then just hit Freeze (ctrl+d) button to transfer object into normal polygons as showed on right image. After this just select few rows on extruded part and «banglue» them.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578573&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_9.html&dt=1256552968124&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256552954351&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1808491023&ga_fc=1&u_tz=60&u_his=10&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_8.html&fu=0&ifi=6&dtd=8&xpc=46k6djN7Em&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_6.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-25_7.jpg" title="" /><br />Then just use «mirror» tool to copy button on right side (X axsis) and start «solid drill» with stencil optin to stencil buttons in phone body. Now you should have nice shaped button outline on both sides left image. Next merge top polygons on both sides in to one biger and bevel a litlle bit or smooth shift with only size settings (both tools can do this part) to make small outer ring of polygons right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_2.jpg" title="" /> <br />Next to do is beveling edge few times for smooth edge and then smooth shift hoel to make room for buttons left image. After making nice hole you will need to resize buttons 'coz hole is little smaller than buttons now.<br />So just select one button at time and clcik on «size» button (shift+h). Hold down ctrl key while you drag mouse and you'll see how button is resized exualy on all sides. Just resize by eye untill it fits in hole and move to position like right image shows. Repet that process for other button also or even easyer delete that other side button and hit «mirror» tool to mirror this one wich you already resized and placed on other side automaticaly.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_4.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578573&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_9.html&dt=1256552968183&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256552954351&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1808491023&ga_fc=1&u_tz=60&u_his=10&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_8.html&fu=0&ifi=7&dtd=9&xpc=amB7ERRhqk&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Now copy those buttons into new layer and rotate buttons upside down and set to position for drilling like left image shows. Then smoothshift just in size to get nice outer edge polygons. If you get overlaping corners while you smoothshift or bevel (middle image) you will need to move points manualy before extending cenet polygon in deph. Right image shows how it should look after moving points in place manualy.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_6.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-26_7.jpg" title="" /><br />Then go for usual smooth shifting and beveling to make hole wiht smooth edges as we did on uper buttons left image. On right image you can see buttons in position. I used same technique as before, small resize and moving to position and then mirror other button.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_2.jpg" title="" /><br />Next step is to separate phone body. Front panel is made from two pieces like you can see on resource images (uper black blastic and lower aluminium). So now i'am starting to cut that parts. This part is hard to show in pictures but i'll do my best. Look very close at resource image and you'll see that lower part follow buttons shape and it goes completly trough side gaps what we made earlyer . Now stencil that shape into front of phone to psihicaly separate those parts. So try to make shape i showed on left image and set to same position on left or right side and then wiht mirror tool just make other side. That shape is need to be extruded to depth but not more than side gaps 'coz we will connect it with that side gap later. After sucessfuly stencil you should have look as i did on right image. Then you need manualy to weld some points on corners of this stenciled shape.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_4.jpg" title="" /><br /><br />Next is process of making anoter stencil under that joystick area. Copy polygons form joystick round edge and move, extrude them (left). After that stecil (middle), then weld points at corners and select outer edge polygons of lower buttons and give all that common surface «side gaps» what we used before (right image).<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_6.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-27_7.jpg" title="" /><br />Now it comes tricky part Select all «side gaps» surface from polygon statistic window and then deselect all polygons already inseted (leave only that new part we aded recently). Then just click «smooth shift» and put value -7mm wich will inset this new set of polygons and give us this nice gap between surfaces (left image). As you can see on right image now i have complete front and side of this nice phone. And it realy looks good and damn close to real thing so now i'am moving modeling part to back side and bottom of phone. It's<br />good time to look cliser at first page where i showed resource images. As you can see there is plenty of details on that back pannel and it need's good look before starting. It has camera, SE logo, soem insets and one metal rounded part wich is actualy made form rubber in my phone (i don't have clue why on resourc eimage tha tis made in metal). That part is acctualy cover for hole where you stick belt clip. Also notice there is exactly 11 equaly shaped insets on battery cover (i counted them) wich need to be inseted into back of phone.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-28_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-28_2.jpg" title="" /><br />It's time to findout why i aded those gaps and what's usege of them . Select all «side gaps» polygons trough polygons statistic window and hit «x» key to cut and «v» key to paste them into new layer. This is very cool since now we have all parts of phone separated and we are able to select parts by «select connected» in display panel (shortcut is «]» key). Look at left image how i isolated gaps into new layer (background layer in this case). Here is way how will this benefit our workflow from now. Select any polygon on back of phone and click «select connected» in display tab, then cut/paste back side of phone into new layer and you'll get what i have on right image. Why i did that ? Simply now i can very easy control next steps wich is solid drilling back part of phone and i don't need to wory about front part or that i will accidently mess anything already finshed. I could use «hinde unselected» tool in display tab but then i wount be able to put front part into background layer while i work. But if you prefer that way feel free to improvize .<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578387&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_10.html&dt=1256553007229&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256553005486&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1344976698&ga_fc=1&u_tz=60&u_his=11&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_9.html&fu=0&ifi=6&dtd=6&xpc=aNnVHiIhAa&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-28_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-28_4.jpg" title="" /><br />Now make one box object for stenciling back part area. This is acttualy part where phone opens for removing battery so put this at side lower button (at his center) like i did on left image. Odcourse this needs to be stenciled 'coz that's part where battery cover is separated form rest of phone. So do stencil and smoothshift about 1,2cm and after that cut/paste that gaps area into layer where is rest of gaps right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_2.jpg" title="" /> <br />Starting to model that 11 insets i mentioned earlyer. Make one thin box object in new layer and set position just few cm above that gap we made on batery cover. Then click «clone» key and put values as i did on left image. That will give you (after clicking OK) total of 11 equal parts ready for stencil (left image). Asy ou can see i aded new surface to that part 'coz this isn't gap it's just inset for easyer grip when you try to open baterry cover. Then select all stenciled area and use smooth shift to inset that griping area really easy like on right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_4.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578387&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_10.html&dt=1256553007275&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256553005486&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1344976698&ga_fc=1&u_tz=60&u_his=11&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_9.html&fu=0&ifi=7&dtd=8&xpc=5Em3Mn1LJS&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Slect this bottom part wich is left after smooth shifting. We don't need that part 'coz there is our side gaps area so just select that 22 polygons and delete them (selection showed on left image). Then you'l lneed to select uper side of every inset and do small smooth shift to make edges looking smoother middle image). After a vhile you should have nice rounded edges. I did two smoothshift for every side (right) but one will be good also .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_6.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-29_7.jpg" title="" /><br />Modeling SE-logo hole. Create 50-60 segments extruded circle and set into position like on left image. After stencilin that into phone just merge two polygons and bevel few times to ger very rounded edge and deep hole for fiting SE logo wich we will make later right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_2.jpg" title="" /><br />Now copy one row of points (near top) and make new polygon in new layer. After that just Bevel few times to up for making that SE-logo fit in hole as on left image. Now we need to solve that top polygn and turn him into many separate ones. DO that by selecting top polygon only (like on left image) and click «spikey» tool on «multiply» tab. Then click on selecte polygon in perspective window. That will turn top polygon in many trinagles wich will fit polyflow of botom polys and make nice round ball top when you turn on smoothig (later) look at right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_4.jpg" title="" /><br /><br />Now rescale that ball with «scale» tool and make just small resize like 99,9%. That's bacuse we don't want points on same place and now i'll extend bottom part of SE logo. Select botom row of polys and click «extender» under multiply tab (it'll apear liek onoth happedn but it is), then just use «scale» tool again and<br />strech points/polys to inside of hole and use spikey again left image. After that just round that top edge to make it smother (use bandsaw to make few cuts and move points around edge) right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-30_6.jpg" title="" /><br />Making hole for camera goes on usual way with solid drilling into back cover make 60-70 segements extended circle (left image). After drilling smooth shift polygons and merge top part into one polygon at bottom like right image shows. Also don't forget to delete «0 point» polygons after merging center polygons into one.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-31_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-31_2.jpg" title="" /><br />Next i'am explainign how to make camera hole, i used that rounded circel with what i drilled back cover hole. Usual things like smooth shifting an dbeveling polygons will give you something what looks like camera box like left image shows. Now we just need top glas and camera lense inside this.<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578374&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_11.html&dt=1256553029393&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256553027916&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1272433628&ga_fc=1&u_tz=60&u_his=12&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_10.html&fu=0&ifi=6&dtd=6&xpc=wsYF6UoirE&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />That's easy just coppy bottom polygon and smooth shift/bevel few times to get similar shape as on my right image. Then just place one rounded polygon wihc will be glass over top of camera lenses.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-31_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-31_4.jpg" title="" /><br />Now you have camer aim position and glass over top of lenses (i made that glass polygon emi transparent and light green color ,but you have «side gap » surface/polygon going trough camera – lefti mage.Just witch to layer where you pasted gap and use knife tool to cut and delete them in area wich is overlaping camera.Like i did on my right screengrab.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_2.jpg" title="" /> <br />Next is driling that ribber/chrome hole on right side of camera. Process is always same so i won't repaet myself again. Right side image shows steniceld and smooth shifted hole. I aslo added extra smooth to edges but it's not necesary for this par. I just like to complicate things with that micro beveling stuff .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_4.jpg" title="" /><br />Addin that rubber/chrome (it's rubber on my phone but chromed on resource images) part in hole is easy just use that polygons what you used for solid drill/stencil to make this hole. Resize it to be smaller and smooth shift few times untill you get similar results like my left imege shows.<br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "D9DCE3"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578374&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=D9DCE3&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_11.html&dt=1256553029441&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C468x60_as&correlator=1256553027916&pv_ch=9397678831%2B&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1272433628&ga_fc=1&u_tz=60&u_his=12&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_10.html&fu=0&ifi=7&dtd=9&xpc=xToVCVMpc9&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />On right image you can see preparations for drilling one triangled shape into back cover just under camera hole. That's just inseted sign wich shows where to pull if you want to take of battery cover.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-32_6.jpg" title="" /><br />After solid drill / stencil procedure i just selected that tringle material and smooth shift (only size option) once to have not so sharp edge but not too smooth either left image. And now you have nice cool and finsihed back side of phone like I do on right screengrab .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-33_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-33_2.jpg" title="" /><br />Making battery charger connector. First step is to select, cut/paste side of phone into new layer. Then just make boxy object under phone. One edge is little bit rounded so look at top view of left screengrab how round i made it. It's just extended box in right position with two points aded in corner and moved to make it rounded (you add points on object by selecting object in spline mode and then click «add point» tool, but<br />remember to do that before extruding BOX. After solid drill/stencil tool just smooth shift polygons few times but try too smoothout edge 1-2 times so it won't be sharp on render. This is just hole for charger connector wich will be fitted her elater look at right image to see.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-33_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-33_4.jpg" title="" /><br /><br />Next thing is drilling hole for external heaphones (i think this is for bluetooth clip or so but i'am not sure 'coz hole looks like there is nothing inside maybe is just cliping hole for connector - dunno). It's not too important what's for but since it's there so it need to be modeled properly . Make this shape near that charger inset (i don't know how they placed this hole 'cot it's not alingent wiht anything around, maybe it's needed distance form charger so dont wory about exact place) on left side (buttons facing up) of phone left image. OK now i stenciled that hole and made few (a lot of them acctualy) bevels to inset hole properly. No need for such drastic number of bevels beacuse this hole is really tiny one on whole object but i'am loving ultra realism so i wan't to be able to get camera so close that you can see every single edge and inside of hole if needed. It's up to you will you inset hole with 2-3 bevels or make it like i did with plenty of them right image. Ok now when that hoel is finsihed you wonder how do i know that this is realy something for headphones ? Heheh that's easy in next page you'll see that above this hole there is sign wich shows headphones shape so it wasn't just a lucky guess .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-34_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-34_2.jpg" title="" /><br />Here is my phone sign process. I can't show you every single step (that would be too big tutorial) but basicaly i made this headphone shape from one ball (make ball, select one row of polygons and delete unselected ones. Then just move all points to same X value with «set value» tool wich will make it look one dimensional). Then making lower part (what is put on ears) is easy. Just click «+» key and click with RMB to put points on place. After puting basic shape points just select 4 by 4 and make polygon by «p» key, then just copy and paste other ear part to oposite side with mirror tool. After that i just used Knife tool to cut edges 'coz we will make this headphones in SubDs mode so they need to be nicely shaped after hiting TAB key). On left image you can see position and look of headphones sign. It need's to be positioned little left from previous hole so don't center it. Next step is tunring on SubDs wiht TAB key and freeze object for stencil tool. After freeze merge polygons with merge tool (shift+z) right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-34_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-34_4.jpg" title="" /><br />Extrude phones logo model as usual and then use solid drill / stencil that headphoen logo into phone body. Then merge polygons and bevel once as left image shows (just remember to delete «o point» polygons after merging polygons 'coz some of them will sure left unneded. Next step is to inset (smooth shift tool) this sign into phone body. I used 1,5cm inset deeph wiht smooth shift so just use that. Then you need to bevel edges<br />beacuse this headphone inset is very very rounded on edges (interior and exterior). This will be tricky step and if you use too big steps points in edges will probably overlap each other and you'll have wierd polygons caused by that effect. Only way to solve this in LightWave out of Box (without using some other external plugins or tools) is to move overlaping points manuly one by one. Its tedious job but this is needed for good rendering so try to beavel edges at least 2 times if you dont' have patience to do it 4 times as i did . Try to insed inner side with same values as you used on exterior edge and you will have very rounded edges when you turn on smoothing in surface editor. Also take note that you won't be able to bevel all three parts together. You'll need to bevle each one separately to keep them centered , otherwise beveled polygon won't be on center and will look bad like you used some offset and we don't want that.<br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1172578361&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_12.html&dt=1256553051694&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256553049443&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1752006778&ga_fc=1&u_tz=60&u_his=13&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_11.html&fu=0&ifi=6&dtd=7&xpc=HEvkrmpgRO&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-35_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-35_2.jpg" title="" /><br />Left image showes how i made «charger logo» on right side (buttons up) of phone. This is non SubDs mode (before TAB key and freeze) so that you can see how it should look. It's very simple model and i will now turn that into subDs and frezze just like i did with right side headphones logo. After you extend polygon just make usal solid drill stencil wiht smoothshifting and beveling edges basicaly same process as we did last time with heaphones logo right image shows final results..<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-35_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-35_4.jpg" title="" /> <br />Last hole on this phone i promise . Under charger connector there is one wierdly shaped hole. Look closely on left image and try to mimic that shape i made. It's made fwitm manual placing points and then knifing polygons to preserve rounded top part and straight bottom when i hit TAB key to have subDs before freezing. Right image shows this wierd hole in place . How to explain proces sof makin that ? Hmm just usual bevel and smooth shifting untill you are happy with shape. It just need one small part inside.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_2.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-11: CGP_460 google_ad_channel = "9397678831"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 60px; position: relative; visibility: visible; width: 468px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 60px; position: relative; visibility: visible; width: 468px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame7" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=468x60_as&output=html&h=60&w=468&lmt=1172578361&channel=9397678831&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_12.html&dt=1256553051748&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg%2C336x280_as&correlator=1256553049443&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1752006778&ga_fc=1&u_tz=60&u_his=13&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_11.html&fu=0&ifi=7&dtd=8&xpc=YH2yV7ugud&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="60" scrolling="no" width="468"></iframe></ins></ins> <br />Make bottom polygons of this hole left image and then make one BOX polygon iside this hole as right image shows and bevel (or smooth shift) front edhe once so it won't bee too sharp.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_4.jpg" title="" /><br />Making battery charger goes this way. We need one BOX object in that hole made much earlyer. I copyed polygons form inside of hole and made front part flat (set value key on points). Then i resized box to be just little bit smaller than hole (i used 99.9% on size) but still very tight. Then next step was to recreate front polygons manualy, after that i just adjusted edges to be little rounder and results you can see on left image. No we need to create 5 holes in this and 11 golden conncetior insted betwen holes. On right screengrab you can see driling parts in position and read for action. Those Biger ones are holes and those smaller are small holes with gold contacts inside but all of them need to be inseted first after stencil option and they have square edges wich need to be made also. Process is same just extrude polys first nad then solid drill them.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_5.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-36_6.jpg" title="" /><br /><br />First merge inseted polygons in one so tha toyu can use bevel tool properly then bevel edges of all holes first and use just small amount like 3-5mm. After that inset plygons about 3mm to get similar edge as i did. Next step is inseting (with smooth shift) biger holes (5 of them) deep inside and inset smaller ones (all equaly sized) just about 1cm or so 'coz that are golden connectors wich need to be in reach for connecting charger properly. Good thing now it would be to colorize charger connectors separately (give them different surface name) so that you can select them later. I give them surface name like «battery charger connectors gold» so that i easy recognize that in surface editor right image.<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-37_1.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-37_2.jpg" title="" /><br />Just one more thing before i can say this model is finsihed. We need to model LCD under front screen so that he can be maped with nice backgorund images and be really under the screen glass. Select screen polygons in «surface editor» and make them semi transparent by adding Lightwave native glass preset with IOR (index of refraction) 1.0 wich is under «general» presets called «Glass_Inside». I nthat way you will see trough screen plastic and will be able to adjust poygons in position.<br />Here you can see how i set LCD screen polygons under this previously made plastic cover on screen.You dont' need to model this but it wil add to realism 'coz LCD is flat you will easy map one image on that later when you surface this nice model. As you can see on right image this model (and tutorial) is finsihed. Since i'am not covering texturing here you can go to sonyericsson web pages and downlaod images, logo and screen maps to map them in position before you render .<br /><br /><img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-37_3.jpg" title="" /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-37_4.jpg" title="" /><br /><script type="text/javascript"><!-- google_ad_client = "pub-3564071986375504"; google_alternate_color = "4C687E"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; //2007-01-11: CGP_336 google_ad_channel = "5152250919"; google_color_border = "4C687E"; google_color_bg = "4C687E"; google_color_link = "33FF99"; google_color_url = "D9DCE3"; google_color_text = "D9DCE3"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 280px; position: relative; visibility: visible; width: 336px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 280px; position: relative; visibility: visible; width: 336px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame6" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3564071986375504&format=336x280_as&output=html&h=280&w=336&lmt=1176157388&channel=5152250919&ad_type=text_image&alt_color=4C687E&color_bg=4C687E&color_border=4C687E&color_link=33FF99&color_text=D9DCE3&color_url=D9DCE3&flash=9.0.124&url=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_13.html&dt=1256553084852&prev_fmts=728x15_0ads_al_s%2C125x125_as%2Cref_text%2Cref_text%2C110x32_as_rimg&correlator=1256553078490&frm=0&ga_vid=1733671775.1256509396&ga_sid=1256552687&ga_hid=1331750660&ga_fc=1&u_tz=60&u_his=14&u_java=1&u_h=864&u_w=1152&u_ah=864&u_aw=1152&u_cd=32&u_nplug=15&u_nmime=50&biw=1137&bih=425&ref=http%3A%2F%2Fcg-india.com%2FTutorials%2FSE_T610_12.html&fu=0&ifi=6&dtd=7&xpc=PYPIKwQKmt&p=http%3A//cg-india.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" frameborder="0" height="280" scrolling="no" width="336"></iframe></ins></ins> <br />Now it would be very good time to check for some point and polygon statistic. Select all layers (by holding shift key and LMB clicking) and look under point statistic window to see is there any «0 polygons». If you have then just select them by that «+» sign and delete. Then do same thing for polygon statistic window open polygon statistic (while you are in polygon selecting mode just hit «w» to bring up statistic window) and look do you have any number under «2 Vertices» and delete them if you do have any number there. After that you can be pretty sure you have properly built model wich will be good looking on render (otherwise you could have some rendering errors if you have those 0 point polys and 2 vertices polygons). Now go and texture this nice 3d model of Mobile-phone .<br /><br /> <img src="http://cg-india.com/images/t610/SE_T610_tutorial_by_Lewis-38_1.jpg" title="" /> <br /><span style="font-size:100%;"><strong> <u> Here it is SonyEricsson T610 3D model </u></strong></span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-24125753200464317882009-10-26T04:21:00.001-07:002009-10-26T04:21:38.584-07:00How to Produce a Digital Magic Metaball in bryce<span style="font-family:Arial,Futura,Helvetica;font-size:100%;color:#0000aa;"><span style="font-family:Arial,Futura,Helvetica,Sans-Serif;font-size:+2;color:#0000dd;">How to Produce a Digital Magic Metaball </span> <!-------- Step 1 --------><br /><span style="font-family:Arial,Helvetica;font-size:+1;color:#0000aa;"> <b>STEP ONE - PAINTING THE MAGIC FRAMES IN PHOTOSHOP</b> </span> <br /><b>First:</b> Open up <b>Photoshop</b> and create a new document 512 x 512 pixels, 72 DPI, black background. <br /><b>Second:</b> Paint the 'Magic Frame' image in Positive and Negative forms, like the images below.<br /><br /><img src="http://3d-digital-graphic-art.com/magicframe1-pos.jpg" alt="Photoshop - Magic Frame - Pos" height="270" hspace="8" width="267" /> <img src="http://3d-digital-graphic-art.com/magicframe1-neg.jpg" alt="Photoshop - Magic Frame - Neg" height="270" hspace="8" width="273" /> <br /><br />There is no need to use these specific textures exactly the same.<br />Feel free to experiment with other forms and textures later. <br /><br /><b>Third:</b> Save the images as 'MagicFrame1-Pos'.jpg and 'MagicFrame1-Neg'.jpg files. <br /><br /></span><hr noshade="noshade" width="718" style="font-size:78%;color:#0000cc;"> <!-------- Step 2 --------> <span style="font-family:Arial,Futura,Helvetica;font-size:100%;color:#0000aa;"><span style="font-family:Arial,Helvetica;font-size:+1;color:#0000aa;"><br /><b>STEP TWO - MAKING THE METABALL OBJECT IN BRYCE</b> </span> <br />It's time to move from 2D to 3D (From Photoshop to Bryce). <br /><br /><b>First:</b> Open a new Bryce scene. Make the Render Resolution to Photo 768 x 512 pixels, Director's View. <br />Create a Metaball.<br /> <b>Second:</b> Click on <b>M</b> to enter the Edit Material. In <b>Materials Lab</b> set all adjustments as in the image below.<br /><br /><img src="http://3d-digital-graphic-art.com/materials-lab4.jpg" alt="Materials Lab - Magic Metaball" height="621" width="758" /><br /><br />Set the <b>Texture Mapping Mode</b> to <b>Sinusoidal</b>, Symmetric Tiling and Pict Interpolation. </span><hr noshade="noshade" width="604" style="font-size:85%;color:#ff0000;"> <span style="font-family:Arial,Futura,Helvetica;font-size:100%;color:#0000aa;"><b>Experiment with different settings to get the results you want. <br />Try changing the Mapping Mode Modifiers. <br />Important! The real "MAGIC" effect is possible ONLY with "Parametric Scaled".</b> </span><hr noshade="noshade" width="604" style="font-size:85%;color:#ff0000;"> <span style="font-family:Arial,Futura,Helvetica;font-size:100%;color:#0000aa;">Set <b>Material Options</b> to Blend Transparency, Cast Shadows, Receive Shadows and Self Shadows. <br /><b>Third:</b> Now click on the button above <b>P</b> to enter the <b>Texture Source Editor</b>. <br /><br /><img src="http://3d-digital-graphic-art.com/materials-lab1.jpg" alt="Texture Source Editor - Magic Metaball" height="470" width="623" /><br /><br /> <b>Fourth:</b> In the <b>Texture Source Editor</b> is only one Image -"Leo". Click on the right empty <br />black button and find the 'MagicFrame1-Pos'.jpg file. Load it. <br />Find the 'MagicFrame-Neg1'.jpg file and load it into Selected Alpha Image (second square). <br />Apply Selected Image and return to the Materials Lab. Apply the 'Magic Frame' Material.<br /><br /> <b>Fifth:</b> Render the Magic Metaball.<br /><img src="http://3d-digital-graphic-art.com/example36b.jpg" alt="Bryce Magic Metaball" border="1" height="555" hspace="6" vspace="2" width="768" /> <br /><b>Sixth:</b> Duplicate twice the cone. Position and Rotate the Objects<br />in <b>Object Attributes 'A'</b> as shown below. Group the Metaballs. <!--- Object Attributes ---><br /><img src="http://3d-digital-graphic-art.com/object-attributes2.jpg" alt="Bryce Magic Metaball" border="0" height="366" hspace="1" vspace="0" width="823" /><br /><b>Is that all?</b> <br /><br /><b>Seventh:</b> Just rotate the Metaballs slowly in any direction and you will produce hundreds <br />combinations of New Forms and Colors like the images below and many more! <!------- Examples --------> <span style="font-family:Arial Black,Futura,Arial,Helvetica,Sans-Serif;font-size:+2;color:#0000cc;"><br /><br />MAGIC METABALLS EXAMPLES </span> <!------- Example 1 -------><br /><img src="http://3d-digital-graphic-art.com/example36.jpg" alt="Magic Metaballs - Example 1" border="1" height="461" hspace="6" vspace="9" width="772" /><br /><b>Example 1</b> Three Magic Metaballs grouped into one Object. Rotated and scaled.<br />The appearance of the texture is changed dramatically depending on how it’s applied to the object. <!------- Example 2 -------><br /><br /><img src="http://3d-digital-graphic-art.com/example37.jpg" alt="Magic Metaballs - Example 2" border="1" height="400" hspace="6" vspace="5" width="600" /><br /><b>Example 2</b> Three Magic Metaballs grouped into one Object.<br /><b>Texture Mapping Mode</b> set to <b>Parametric Scaled</b> <!------- Example 3 -------><br /><br /><img src="http://3d-digital-graphic-art.com/example38.jpg" alt="Magic Metaballs - Example 3" border="1" height="400" hspace="6" vspace="5" width="600" /><br /><b>Example 3 </b>Three Magic Metaballs grouped into one Object.<br /><b>Texture Mapping Mode</b> set to <b>Parametric Scaled</b> <!------- Example 4 -------><br /><br /><img src="http://3d-digital-graphic-art.com/example39.jpg" alt="Magic Metaballs - Example 4" border="1" height="400" hspace="6" vspace="5" width="600" /><br /><b>Example 4 </b>Three Magic Metaballs grouped into one Object.<br />Metaball's proportions and positions slightly changed. </span>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-51580292000749353272009-10-26T04:17:00.001-07:002009-10-26T04:17:51.040-07:00Reflective Environment tutorial using bryce 3dThis tutorial will show how to create a reflective environment in Bryce. For the tutorial this will be the reflection map used in all the examples.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_00map.jpg" alt="Refection Map" border="0" height="256" width="512" /><br /><br />As of version 5 Bryce does not support reflective mapping, Bryce's reflection channel sets the intensity and areas on an object that reflection will occur. Not what is actually reflected on the object. So applying a map directly to the reflection channel even if the Reflection Mapping mode is used will only determine which areas of the object will or won't have reflective properties, using the grayscale color information in the texture window's alpha channel. The refection map can be used in the diffused channel utilizing the Reflection Map mapping mode, but then it is limited to the map basically being the coloring for the surface material, and does not produce a very convincing reflective surface. As can be seen in the render below.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_01mappingmode1.jpg" alt="Refection Mapping Mode Used" border="0" height="300" width="400" /><br /><br />But without any type of reflection mapping, bare scenes can seem rather dull.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_01mappingmode2.jpg" alt="No Refection Mapping" border="0" height="300" width="400" /><br /><br /> So a work around to create better reflections in Bryce, and determine what is reflected on the object, a reflective environment can be made. This is done by creating an object then applying the reflection map to it as a texture, then building the scene inside the object. For the most part a sphere works best for the environment object, since it usually will distribute the reflection map more evenly on the reflective objects.<br />Create a sphere and enlarge it enough so it engulf the scene and also the camera to be used for the render.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_02sphere1.jpg" alt="Sphere covers whole scene including camera" border="0" height="407" width="540" /><br />For best results a Boolean operation will need to be done to hollow out the sphere. This will make the refection map face the right side of the polygon normals. So duplicate the sphere an scale it a little smaller so it's inside the original sphere. And do a subtract Boolean making the larger sphere positive and the smaller sphere negative. Also enable the Transfer Material of Negative Boolean, on the small negative sphere. This will transfer the refection map from the small sphere to the inside of the big sphere. <br /><table> <tbody><tr> <td><center>Large Sphere Attributes</center> <img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_03attributes1.jpg" alt="Large Sphere is positive" border="0" height="322" width="240" /> </td> <td><center>Small Sphere Attributes</center> <img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_03attributes2.jpg" alt="Small Sphere is negative" border="0" height="322" width="240" /> </td> </tr> </tbody></table><br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_02sphere2.jpg" alt="Scale second sphere smaller" border="0" height="407" width="540" /><br /><br />Then select and Group the two sphere, which performs the Boolean operation.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_03group1.jpg" alt="Select both spheres to do the Boolean" border="0" height="407" width="540" /><br /><br />Then with the group selected go to the Materials Lab and apply the Refection Map as a Texture. Theses are the setting I generally use, you may find others suit your needs better. I use the texture in the Ambient Channel along with the diffused.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_04material1.jpg" alt="Material Setting" border="0" height="475" width="640" /><br /><br />Since the scene is inside of the environment sphere group, it will need to have lighting set-up if the sun/moon is the only light source for the scene. Here's the scene with lighting set-up inside the environment sphere.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_05scene1.jpg" alt="Scene 1" border="0" height="300" width="400" /><br /><br />Using the ambient channel on the environment sphere will also help illuminate the scene.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_05scene2.jpg" alt="Ambient channel raised" border="0" height="300" width="400" /><br /><br />The background can be cleared by adding a negative cube to the rear half of the environment group.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_06group2.jpg" alt="Negative cube cuts the back off" border="0" height="407" width="540" /><br />The background can remain blank, or a new back ground scene can be built without effecting the way the front of the objects reflect the environment sphere.<br /><img src="http://stevesartgallery.bryce-alive.net/tutorials/bryce/environment/01_06scene3.jpg" alt="Blank Background" border="0" height="300" width="400" />volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-34021981843541969472009-10-26T04:12:00.000-07:002009-10-26T04:14:17.273-07:00How to create cool 3d Photochopz letters in Bryce!<div id="post_message_472245"><b>For this tutorial, I will show you how I created these-<br /><img src="http://www.photochopz.com/gallery/data/500/medium/photochopz3d.jpg" alt="" border="0" /><br /><a href="http://www.photochopz.com/gallery/showphoto.php/photo/702" target="_blank"><img src="http://www.photochopz.com/gallery/data/501/medium/blocks.jpg" alt="" border="0" /></a><br />If you are new to Bryce, the interface may look really complicated, but it really isnt. It is easy to learn and once you figure it out, you can create anything. I tried to make the steps as simple as possible, but if you get lost at anytime during the tutorial, just tell me and I will help. </b><br /><br /><b>If you dont have Bryce, you can try a demo <a href="http://www.daz3d.com/i.x/support/downloads/-/?product=bryce" target="_blank">here</a>. I use bryce 6., but I think 5.5 has the same features.</b><br /><br />edit-make sure to save youre work when you are done. When I show you how to do more with these letters, it will be easy, because you will have the bryce file handy.<br /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image1-1.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image2.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image3.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image4.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image5.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image6.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image7.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image8.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image9.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image10.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image11.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image12.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image13.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image14.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image15.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image16.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image17.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image18.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/Image19.jpg" alt="" border="0" /><br /><img src="http://www.photochopz.com/forum/tutorialpics/bryce1/final.jpg" alt="" border="0" /></div> <br /><div id="post_message_508293">Before we start, there are a few files you will need. I have included three images files, and one object you can use for this tutorial.<br /><a href="http://i169.photobucket.com/albums/u216/ndgv2/texture.jpg" target="_blank">letter texture</a><br /><a href="http://i169.photobucket.com/albums/u216/ndgv2/groundtexture.jpg" target="_blank">ground texture</a><br /><a href="http://i169.photobucket.com/albums/u216/ndgv2/hdri.jpg" target="_blank">hdri</a><br /><a href="http://rapidshare.com/files/138359186/semidome.obp.html" target="_blank">semidome </a><br /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/1-4.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/matlab1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/matlab2.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/2-3.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/3-3.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/4-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/5-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/6-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/7-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/8-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/9-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/10-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/11.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/12-1.jpg" alt="" border="0" /><br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/end.jpg" alt="" border="0" /><br />although the reflective balls add to the realism, we didnt add them this time. You<br />can add them easily using the basic knowledge you now have. Just make a sphere, add a texture, and change the reflection in the mat lab. Anyways, this is what<br />a typical render looks like before being edited in photoshop.<br /><img src="http://i169.photobucket.com/albums/u216/ndgv2/bmp.jpg" alt="" border="0" /></div>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0tag:blogger.com,1999:blog-7062911591127626537.post-34258265662867126622009-10-26T03:59:00.000-07:002009-10-26T04:00:01.033-07:00How to model a room using Cinema 4D<p>The only thing that annoys me about cinema 4D is that there are limited free tutorials and “how to’s” on the internet and that if you really want to get into the programs more advanced features you have to either spend hours searching the net or go out and buy an expensive book. Like most people I don’t have the money to be spent on expensive books, nor the free time to spend searching the net for hard to find how-to’s which have been relegated to page 550 of googles search results because the pay for sites are much better at SEO.</p> <p>So without much further ado I bring you the first in my series of Cinema 4D tutorials, you might find the titles or subjects quite odd but then again they are subjects which I have searched google for and come up with nothing so I thought I would share how I went about doing what I had hoped to be shown how to do.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/001.jpg" title="Perspective Views" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/001.jpg" alt="Perspective Views" height="296" width="450" /></a></p> <p><span id="more-489"></span>First things first, open up Cinema 4D and press F5. This brings up the following four viewpoints in the main screen (in Clockwise order) Perspective, Top, Right and Front. This is most useful for getting things aligned right and knowing how they will look along all three axis. If you then press the middle mouse button on any of these views then it will enlarge to take up the entire view upon which pressing the middle mouse button again returns to the four view, view.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/002.jpg" title="First Cube Atributes" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/002.jpg" alt="First Cube Atributes" height="172" width="450" /></a></p> <p>Next select a new cube and select its attributes, as you can see (above) I have made it 100m tall and a width and breadth of 250m. I also changed its vertical position to 50m so that it is flush to where the X and Y planes meet. This cube will be the outside walls of our room therefore rename it to “outside” by double clicking on its name within the objects browser. The next step is to produce the shell of the room and the inside wall, we shall be using a Boole element for this.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/003.jpg" title="Seccond Cube and the Boole" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/003.jpg" alt="Seccond Cube and the Boole" height="204" width="450" /></a></p> <p>Duplicate the outside wall and then create a Boole element. You can duplicate an object simply by selecting it and then pressing Ctrl + C followed by Ctrl + V, well it’s the only way I know of. Rename this duplicate outside cube, inside. Then change its size so that you have a 10m thick wall and that its height is 10m taller (that is X=240, Y=110 & Z=240 if your too lazy to think). Next place both cubes within the Boole using the objects browser the outside wall being on top of the inside wall as shown above, when quickly rendered you should result in something looking like the image below.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/004.jpg" title="Initial Render, example of the rooms shell." rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/004.jpg" alt="Initial Render, example of the rooms shell." height="294" width="450" /></a></p> <p>Now you have the basic walls of your model, you need to give it a floor. For this you could simply raise up the inside cube by 10 meters and then later on paint a texture on the floor face for the carpet, wood veneer, etc. Or if your lazy just produce another cube resize it to the dimensions of the inside wall and have it so its height is 10m and place it on the floor. I choose the first option for this tutorial as it allows me to fit in showing how to do selective texturing as well as being the most efficient so far as render times go.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/005.jpg" title="Window settings" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/005.jpg" alt="Window settings" height="278" width="450" /></a></p> <p>Now the room has a floor and four walls, it needs a door and some windows to finish it off before we texture it. These can be done much in the same way as the room was created. Therefore rename the Boole element “Walls” and place it within another Boole element, then create another cube and resize it to the dimensions you want your window to be at and place it on top of the walls Boole in this new Boole. Sounds complex but it really isn’t the above image shows you what mine looks like and the below image is the rendered result.</p> <p style="text-align: center;"><a title="Rendered Windows" href="http://photogabble.co.uk/wp-content/uploads/2007/06/006.jpg" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/006.jpg" alt="Rendered Windows" height="300" width="450" /><br /></a></p> <p>Now I’m sure you are able to make some more windows and a door without my guidance, so I shall leave you to that and continue with the tutorial. To texture our room we need to first make it editable, so the first thing to do is select the inside and outside objects and press C to make them editable (as shown in the below image).</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/007.jpg" title="Example No. 7" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/007.jpg" alt="Example No. 7" height="310" width="450" /></a></p> <p>Next select the button marked number 2 in the above image so you can begin to select the faces of your model to be textured. You might have to spin the perspective view to underside the room to be able to select the boxes floor rather than its top – or at least I had to. Now you should have the bottom face of the inside cube selected the perimeter of which will be shown as red. Now from the Selection drop down choose set selection (see #1 in image below).</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/008.jpg" title="Making selection for texture." rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/008.jpg" alt="Making selection for texture." height="388" width="450" /></a></p> <p>Now you have the floor selected within your object browser double click upon it and rename it to floor. Now create or load a texture and drag it onto the inside object within the object browser and double click on its icon once it appears there. Then within the selection text space enter “floor” or what ever you named the face selection. Now when rendered you should get something similar to what you see in the below image, just the floor texture being rendered.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/009.jpg" title="Texture selection settings." rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/009.jpg" alt="Texture selection settings." height="280" width="450" /></a></p> <p>You can use the above technique to texture the rest of the room, having different textures for different walls, etc. A rug can also be placed in a similar fashion, but I shall cover that in a separate tutorial i’m going to write tomorrow.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/010.jpg" title="Material Settings" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/010.jpg" alt="Material Settings" height="449" width="450" /></a></p> <p>As a bonus I shall now continue with some radiosity rendering to make the scene look ultra cool. First off you need a floor and sky element in the3D world. Now as this is a mock up you don’t need to use any form of detailed sky texture for the sky, as they take ages to render and when your just mocking up anything longer than 60 seconds is an age so save all the detailed texturing until you have finished the room and filled it with what ever you think of filling it with. Create a new material and give it the same settings as shown in the image above, the brightness is set to 170% because it provides the final image with a lot more dynamic range, for more information see <a title="Radeosity tutorial" href="http://planetpixelemporium.com/tutorialpages/global.html">this tutorial here</a>. Next go to render settings and select Radiosity, the following settings are best chosen to give the highest quality render with the largest dynamic range and least amount of incorrect visible artefacts.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/011.jpg" title="Radiosity settings." rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/011.jpg" alt="Radiosity settings." height="296" width="450" /></a></p> <p>Just incase you cant make out the settings shown in the above image they are as follows: Strength:100%, Accuracy: 90%, Prepass Size: 1/1, Diffuse Depth: 1, Stochastic Samples: 300, Min. Resolution: 20 and Max. Resolution: 150. You will also need to go into the Options within the render settings (four down from the Radiosity in the above image) and turn off Auto Light. Now your ready to render, this will take a while and Radiosity has to make a lot of calculations but the end result it worth it. My version took 4 minutes to render, that is with just one texture and at 640×480 but the quality of the render is ultra high and well worth the wait. The time to render will increase the more object you include into the scene and the more complex the textures you use, but overall the wait is really worth it in the end. Below you can see my final render and the end of this tutorial.</p> <p style="text-align: center;"><a href="http://photogabble.co.uk/wp-content/uploads/2007/06/012.jpg" title="My Final Render of the room. Love the floor!" rel="lightbox[pics440]"><img class="imageframe imgaligncenter" src="http://photogabble.co.uk/wp-content/uploads/2007/06/012.jpg" alt="My Final Render of the room. Love the floor!" height="337" width="450" /></a></p> <p>I hope this has helped someone, if you have followed this tutorial then please leave a comment. Also if you have any questions or ideas for tutorials that you cant find anywhere then please leave them below in the comments section and I shall have a go . </p>volume-uphttp://www.blogger.com/profile/10286148664039198514noreply@blogger.com0