Steve Warner
03-17-2005, 01:48 PM
You could model it using the typical tools such as Rail Extrude, but unless you're going to be getting really close, it would probably be faster to just use a clip map.
Celshader
03-17-2005, 09:48 PM
Hi, I'm just asking how to do a metal fence, those that are use in the prisons (like this one in the picture).
Thank You :banghead:
The key to a chain-link fence is that each of the vertical wires is a spiral. Once you realize that, you can model the chain-link fence in less than ten minutes.
I have a step-by-step example file here:
http://www.celshader.com/images/bboards/chainlinkHowTo.zip
Each layer represents about one step, except for layer 10, which was me copying-and-pasting vertical wires to create the fence section.
This file is not to scale, but I hope it might help you create your own chain-link fence.
Here are the steps used to create each layer:
To get the results in...
...Layer 1: Create a one-point polygon offset from the center.
...Layer 2: Lathe with offset. The settings used here were the default Lathe settings except for End Angle, which was set to 1080, and Offset, which was set to 6m. This made a spiral with 8 segments per turn. Because Lathe is a radial extrude, the one-point polygon is now a spiral chain of 2-point polygons.
...Layer 3: Use Stretch to flatten the spiral. Setting the Action Center to Selection will keep it centered on the origin.
...Layer 4: Adjust the points. This went quick by selecting the points in the Top View, and using the Move tool and Symmetry turned on.
...Layer 5: Adjust the points. This went not-so-quick, but I kept it as precise as I could by setting the Action Center to Selection, selecting pairs of points at a time and Stretching them vertically. I eyeballed this one, I'll admit.
...Layer 6: Use Array to stack multiple copies of this spiral on top of itself, and use the Merge tool to merge all overlapping points, so that you have one continuous strand of 2pt polys. If the end points do not perfectly overlap, you might have to use a "Fixed" Merge with a specified Distance to force a merge.
...Layer 7: Extrude 92mm on the Z axis.
...Layer 8: Select all polygons. Notice that, because you extruded two-point polygons, you have _two_ four-point polygons for each segment extruded. Do not get rid of these redundant polygons with the Unify tool. Instead, exploit them by using Smooth Shift to turn this flat ribbon into a low-poly wire with thickness. Hit Shift-F to activate the Smooth Shift tool, left-click on this ribbon and drag to the right to see what I mean. It's easier to see this trick for yourself.
...Layer 9: Hit the Tab key to turn this mesh into Subpatches.
...Layer 10: Use multiple copies of the results you got in Layer 9 to create your fence.
CGTalk Moderation
03-17-2005, 09:48 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.