Experimental forum for "Technology" discussions (computers, cameras, etc).

Re: Simple (and Primitive) 3D Rendering Program

Postby Bob Kuczewski » Sat Apr 05, 2025 8:28 pm

I just added an update to the Object Builder program that includes a "3D cursor". That made it much easier to build something like this from scratch:

DuckMesh.png
DuckMesh.png (50.63 KiB) Viewed 4507 times


The 3D cursor is a way of setting the 3rd dimension on a two dimensional screen. The current Object Builder shows 3 orthogonal views of the model. Each of those orthogonal views presents a 2D surface to add points and lines. But when you add a point in any of those views, what is the 3rd dimension of that point?

In the earlier Object Builder, the value of that 3rd dimension for new points was always zero. So all new points were effectively added to either the x-y or x-z or y-z planes. They could then be moved off of those planes using one of the other two orthogonal views. But that was tedious and confusing. It was even worse trying to select points that might lie on top of each other. With a cube, for example, all 8 of the points lie on top of other points from any of the 3 orthogonal views.

This new version has a 3D "cursor" which can be set in any view. The value of that 3D cursor is used to fill in the 3rd dimension for a click (either a drawing click or a selection click) on any of the 3 planes. An example might help.

Imagine that you want to make a cube. You can imagine looking down on the desired cube from above. From that top view, the cube is basically a square on the top and a square on the bottom. So to draw it, you will need to make two different squares, but they will both look identical from an orthogonal view looking down. And clicking to create the points of both squares will only generate two copies of the same square. This is where the 3D cursor comes in.

The 3D Cursor allows you to set a point that will define a default x, y, and z to be used when either of those values is missing from a mouse click. In the example of looking down to draw a cube, the top view shows the x-y plane. You can use your mouse to select any value in that x-y plane. But your mouse can't simultaneously select a value in the z direction. So it will fill it in from the current value of the 3D Cursor.

In other words, before drawing the 4 bottom points, you would right click in one of the other views (x-z or y-z) to set the z value for the bottom. Then left click the 4 points in the x-y view to draw the bottom of the cube. Then right click again in one of the other views (x-z or y-z) to set the z value for the top. Then left click the same 4 points in the x-y view to draw the top of the cube. So that's one right click to define the bottom z value, 4 left clicks to define the bottom points, one right click to define the top z value, and 4 left clicks to define the top points. That's 8+2 clicks to define the points for a cube.

Drawing the lines is the same thing. You need to click pairs of points to draw each line. These can be clicked in any view (or views). And once again, the current 3D cursor will fill in to decide which point is being selected. So to connect the top lines, first click in either the x-z or y-z views to select the z value for the top points. Then just click each pair of points in the x-y view to draw each line segment. Then click again in either the x-z or y-z views to select the z value for the bottom points. Then again click the same 4 points in the x-y plane, but this time they will be drawing the bottom square. Joining the two squares with 4 segments is the same process, but using a different pair of planes. If you want to add the vertical lines in the front view (x-z view), then you'll need to set the y value in either the x-y or y-z planes to the front of the cube. Then draw the two vertical front lines. Then set the y value in either the x-y or y-z planes to the back of the cube. Draw the same two vertical lines, but this time they'll be added to the back of the cube.

Building that duck might have taken about an hour or so, and it's been included as one of the examples in the latest version of the program. But if you want to load it into an earlier version, here's the code:

[
[ 0.00, 7.76, -2.31, 0.00, 8.46, -1.22, 0.1, "99FFBB" ],
[ 0.00, 8.46, -1.22, 0.00, 8.51, -0.27, 0.1, "99FFBB" ],
[ 0.00, 8.51, -0.27, 0.00, 8.31, 0.95, 0.1, "99FFBB" ],
[ 0.00, 8.31, 0.95, 0.00, 7.41, 2.15, 0.1, "99FFBB" ],
[ 0.00, 7.41, 2.15, 0.00, 6.66, 2.95, 0.1, "99FFBB" ],
[ 0.00, 6.66, 2.95, 0.00, 6.16, 3.85, 0.1, "99FFBB" ],
[ 0.00, 6.16, 3.85, 0.00, 6.41, 4.65, 0.1, "99FFBB" ],
[ 0.00, 6.41, 4.65, 0.00, 7.46, 4.45, 0.1, "99FFBB" ],
[ 0.00, 7.46, 4.45, 0.00, 8.56, 4.25, 0.1, "99FFBB" ],
[ 0.00, 8.56, 4.25, 0.00, 9.71, 4.00, 0.1, "99FFBB" ],
[ 0.00, 9.71, 4.00, 0.00, 10.96, 3.75, 0.1, "99FFBB" ],
[ 0.00, 10.96, 3.75, 0.00, 12.16, 3.65, 0.1, "99FFBB" ],
[ 0.00, 12.16, 3.65, 0.00, 13.01, 4.00, 0.1, "99FFBB" ],
[ 0.00, 13.01, 4.00, 0.00, 12.26, 4.50, 0.1, "99FFBB" ],
[ 0.00, 12.26, 4.50, 0.00, 11.06, 4.95, 0.1, "99FFBB" ],
[ 0.00, 11.06, 4.95, 0.00, 9.81, 5.45, 0.1, "99FFBB" ],
[ 0.00, 9.81, 5.45, 0.00, 8.46, 6.25, 0.1, "99FFBB" ],
[ 0.00, 8.46, 6.25, 0.00, 8.01, 7.35, 0.1, "99FFBB" ],
[ 0.00, 8.01, 7.35, 0.00, 7.31, 8.35, 0.1, "99FFBB" ],
[ 0.00, 7.31, 8.35, 0.00, 6.76, 8.90, 0.1, "99FFBB" ],
[ 0.00, 6.76, 8.90, 0.00, 5.91, 8.95, 0.1, "99FFBB" ],
[ 0.00, 5.91, 8.95, 0.00, 4.66, 9.10, 0.1, "99FFBB" ],
[ 0.00, 4.66, 9.10, 0.00, 3.71, 8.45, 0.1, "99FFBB" ],
[ 0.00, 3.71, 8.45, 0.00, 2.96, 7.53, 0.1, "99FFBB" ],
[ 0.00, 2.96, 7.53, 0.00, 2.51, 5.83, 0.1, "99FFBB" ],
[ 0.00, 2.51, 5.83, 0.00, 2.96, 4.95, 0.1, "99FFBB" ],
[ 0.00, 2.96, 4.95, 0.00, 3.31, 3.75, 0.1, "99FFBB" ],
[ 0.00, 3.31, 3.75, 0.00, 3.56, 2.85, 0.1, "99FFBB" ],
[ 0.00, 3.56, 2.85, 0.00, 3.41, 2.10, 0.1, "99FFBB" ],
[ 0.00, 3.41, 2.10, 0.00, 2.76, 2.15, 0.1, "99FFBB" ],
[ 0.00, 2.76, 2.15, 0.00, 1.86, 2.39, 0.1, "99FFBB" ],
[ 0.00, 1.86, 2.39, 0.00, 0.44, 3.41, 0.1, "99FFBB" ],
[ 0.00, 0.44, 3.41, 0.00, -0.58, 4.04, 0.1, "99FFBB" ],
[ 0.00, -0.58, 4.04, 0.00, -1.83, 4.30, 0.1, "99FFBB" ],
[ 0.00, -1.83, 4.30, 0.00, -3.56, 4.17, 0.1, "99FFBB" ],
[ 0.00, -3.56, 4.17, 0.00, -4.94, 3.59, 0.1, "99FFBB" ],
[ 0.00, -4.94, 3.59, 0.00, -6.23, 2.88, 0.1, "99FFBB" ],
[ 0.00, -6.23, 2.88, 0.00, -7.83, 2.08, 0.1, "99FFBB" ],
[ 0.00, -7.83, 2.08, 0.00, -8.84, 2.03, 0.1, "99FFBB" ],
[ 0.00, -8.84, 2.03, 0.00, -9.79, 2.13, 0.1, "99FFBB" ],
[ 0.00, -9.79, 2.13, 0.00, -10.69, 2.88, 0.1, "99FFBB" ],
[ 0.00, -10.69, 2.88, 0.00, -11.69, 4.08, 0.1, "99FFBB" ],
[ 0.00, -11.69, 4.08, 0.00, -12.41, 4.86, 0.1, "99FFBB" ],
[ 0.00, -12.41, 4.86, 0.00, -12.74, 4.38, 0.1, "99FFBB" ],
[ 0.00, -12.74, 4.38, 0.00, -12.24, 2.83, 0.1, "99FFBB" ],
[ 0.00, -12.24, 2.83, 0.00, -11.79, 1.83, 0.1, "99FFBB" ],
[ 0.00, -11.79, 1.83, 0.00, -10.74, -0.22, 0.1, "99FFBB" ],
[ 0.00, -10.74, -0.22, 0.00, -9.03, -2.30, 0.1, "99FFBB" ],
[ -1.46, -0.81, 3.66, 0.00, -0.58, 4.04, 0.1, "ff00ff" ],
[ -1.46, -1.96, 3.93, 0.00, -1.83, 4.30, 0.1, "ff00ff" ],
[ -1.46, -3.47, 3.77, 0.00, -3.56, 4.17, 0.1, "ff00ff" ],
[ -1.46, -4.89, 3.28, 0.00, -4.94, 3.59, 0.1, "ff00ff" ],
[ -1.46, -6.01, 2.53, 0.00, -6.23, 2.88, 0.1, "ff00ff" ],
[ -1.46, -7.96, 1.77, 0.00, -7.83, 2.08, 0.1, "ff00ff" ],
[ -1.46, -7.96, 1.77, -1.46, -6.01, 2.53, 0.1, "0000ff" ],
[ -1.46, -6.01, 2.53, -1.46, -4.89, 3.28, 0.1, "0000ff" ],
[ -1.46, -4.89, 3.28, -1.46, -3.47, 3.77, 0.1, "0000ff" ],
[ -1.46, -3.47, 3.77, -1.46, -1.96, 3.93, 0.1, "0000ff" ],
[ -1.46, -1.96, 3.93, -1.46, -0.81, 3.66, 0.1, "0000ff" ],
[ -1.46, -0.81, 3.66, -1.46, 0.22, 3.17, 0.1, "0000ff" ],
[ -1.46, 0.22, 3.17, -1.46, 1.73, 1.95, 0.1, "0000ff" ],
[ -1.46, 1.73, 1.95, -1.46, 2.66, 1.66, 0.1, "0000ff" ],
[ -1.46, 2.66, 1.66, -1.46, 4.46, 1.90, 0.1, "0000ff" ],
[ -1.46, 4.46, 1.90, -1.46, 4.46, 2.85, 0.1, "0000ff" ],
[ -1.46, 4.46, 2.85, -1.46, 4.16, 4.00, 0.1, "0000ff" ],
[ -1.46, 4.16, 4.00, -1.46, 4.01, 5.35, 0.1, "0000ff" ],
[ -1.46, 4.01, 5.35, -1.46, 3.91, 6.15, 0.1, "0000ff" ],
[ -1.46, 3.91, 6.15, -1.46, 3.96, 7.00, 0.1, "0000ff" ],
[ -1.46, 3.96, 7.00, -1.46, 4.31, 7.50, 0.1, "0000ff" ],
[ -1.46, 4.31, 7.50, -1.46, 4.81, 7.95, 0.1, "0000ff" ],
[ -1.46, 4.81, 7.95, -1.46, 5.66, 8.15, 0.1, "0000ff" ],
[ -1.46, 5.66, 8.15, -1.46, 6.26, 8.15, 0.1, "0000ff" ],
[ -1.46, 6.26, 8.15, -1.46, 6.96, 7.95, 0.1, "0000ff" ],
[ -1.46, 6.96, 7.95, -1.46, 7.56, 7.15, 0.1, "0000ff" ],
[ -1.46, 7.56, 7.15, -1.46, 8.01, 5.95, 0.1, "0000ff" ],
[ -1.46, 8.01, 5.95, -1.46, 9.51, 5.35, 0.1, "0000ff" ],
[ -1.46, 9.51, 5.35, -1.46, 10.56, 4.85, 0.1, "0000ff" ],
[ -1.46, 10.56, 4.85, -1.46, 12.06, 4.25, 0.1, "0000ff" ],
[ -1.46, 12.06, 4.25, -1.46, 11.16, 4.35, 0.1, "0000ff" ],
[ -1.46, 11.16, 4.35, -1.46, 9.91, 4.70, 0.1, "0000ff" ],
[ -1.46, 9.91, 4.70, -1.46, 8.71, 5.00, 0.1, "0000ff" ],
[ -1.46, 8.71, 5.00, -1.46, 7.16, 5.65, 0.1, "0000ff" ],
[ -1.46, 7.16, 5.65, -1.46, 5.41, 5.10, 0.1, "0000ff" ],
[ -1.46, 5.41, 5.10, -1.46, 5.21, 3.95, 0.1, "0000ff" ],
[ -1.46, 5.21, 3.95, -1.46, 5.66, 2.85, 0.1, "0000ff" ],
[ -1.46, 5.66, 2.85, -1.46, 6.46, 1.95, 0.1, "0000ff" ],
[ -1.46, 6.46, 1.95, -1.46, 7.26, 0.95, 0.1, "0000ff" ],
[ -1.46, 7.26, 0.95, -1.46, 7.41, 0.00, 0.1, "0000ff" ],
[ -1.46, 7.41, 0.00, -1.46, 7.31, -0.90, 0.1, "0000ff" ],
[ -1.46, 7.31, -0.90, -1.46, 6.41, -2.35, 0.1, "0000ff" ],
[ -1.46, -7.74, -2.30, -1.46, -10.09, 0.40, 0.1, "0000ff" ],
[ -1.46, -10.09, 0.40, -1.46, -11.04, 1.70, 0.1, "0000ff" ],
[ -1.46, -11.04, 1.70, -1.78, -11.84, 3.15, 0.1, "0000ff" ],
[ -1.78, -11.84, 3.15, -2.09, -12.68, 4.35, 0.1, "0000ff" ],
[ -2.09, -12.68, 4.35, -1.74, -11.70, 3.65, 0.1, "0000ff" ],
[ -1.74, -11.70, 3.65, -1.46, -10.85, 2.66, 0.1, "0000ff" ],
[ -1.46, -10.85, 2.66, -1.46, -10.01, 1.95, 0.1, "0000ff" ],
[ -1.46, -10.01, 1.95, -1.46, -9.07, 1.81, 0.1, "0000ff" ],
[ -1.46, -9.07, 1.81, -1.46, -7.96, 1.77, 0.1, "0000ff" ],
[ -1.46, 0.22, 3.17, 0.00, 0.44, 3.41, 0.1, "ff00ff" ],
[ 0.00, 1.86, 2.39, -1.46, 1.73, 1.95, 0.1, "ff00ff" ],
[ -1.46, 2.66, 1.66, 0.00, 2.76, 2.15, 0.1, "ff00ff" ],
[ 0.00, 3.41, 2.10, -1.46, 4.46, 1.90, 0.1, "ff00ff" ],
[ -1.46, 4.46, 2.85, 0.00, 3.56, 2.85, 0.1, "ff00ff" ],
[ 0.00, 3.31, 3.75, -1.46, 4.16, 4.00, 0.1, "ff00ff" ],
[ 0.00, 2.96, 4.95, -1.46, 4.01, 5.35, 0.1, "ff00ff" ],
[ 0.00, 2.51, 5.83, -1.46, 3.91, 6.15, 0.1, "ff00ff" ],
[ -1.46, 3.96, 7.00, 0.00, 2.96, 7.53, 0.1, "ff00ff" ],
[ 0.00, 8.01, 7.35, -1.46, 7.56, 7.15, 0.1, "ff00ff" ],
[ -1.46, 6.96, 7.95, 0.00, 7.31, 8.35, 0.1, "ff00ff" ],
[ 0.00, 6.76, 8.90, -1.46, 6.26, 8.15, 0.1, "ff00ff" ],
[ -1.46, 5.66, 8.15, 0.00, 5.91, 8.95, 0.1, "ff00ff" ],
[ 0.00, 4.66, 9.10, -1.46, 4.81, 7.95, 0.1, "ff00ff" ],
[ -1.46, 4.31, 7.50, 0.00, 3.71, 8.45, 0.1, "ff00ff" ],
[ 0.00, 8.46, 6.25, -1.46, 8.01, 5.95, 0.1, "ff00ff" ],
[ -1.46, 9.51, 5.35, 0.00, 9.81, 5.45, 0.1, "ff00ff" ],
[ 0.00, 11.06, 4.95, -1.46, 10.56, 4.85, 0.1, "ff00ff" ],
[ -1.46, 12.06, 4.25, 0.00, 12.26, 4.50, 0.1, "ff00ff" ],
[ 0.00, 13.01, 4.00, -1.46, 12.06, 4.25, 0.1, "ff00ff" ],
[ -1.46, 12.06, 4.25, 0.00, 12.16, 3.65, 0.1, "ff00ff" ],
[ 0.00, 10.96, 3.75, -1.46, 11.16, 4.35, 0.1, "ff00ff" ],
[ -1.46, 9.91, 4.70, 0.00, 9.71, 4.00, 0.1, "ff00ff" ],
[ 0.00, 8.56, 4.25, -1.46, 8.71, 5.00, 0.1, "ff00ff" ],
[ -1.46, 7.16, 5.65, 0.00, 7.46, 4.45, 0.1, "ff00ff" ],
[ 0.00, 6.41, 4.65, -1.46, 5.41, 5.10, 0.1, "ff00ff" ],
[ -1.46, 5.21, 3.95, 0.00, 6.16, 3.85, 0.1, "ff00ff" ],
[ 0.00, 6.66, 2.95, -1.46, 5.66, 2.85, 0.1, "ff00ff" ],
[ -1.46, 6.46, 1.95, 0.00, 7.41, 2.15, 0.1, "ff00ff" ],
[ 0.00, 8.31, 0.95, -1.46, 7.26, 0.95, 0.1, "ff00ff" ],
[ -1.46, 7.41, 0.00, 0.00, 8.51, -0.27, 0.1, "ff00ff" ],
[ 0.00, 8.46, -1.22, -1.46, 7.31, -0.90, 0.1, "ff00ff" ],
[ -1.46, 6.41, -2.35, 0.00, 7.76, -2.31, 0.1, "ff00ff" ],
[ -1.46, -10.09, 0.40, 0.00, -10.74, -0.22, 0.1, "ff00ff" ],
[ 0.00, -11.79, 1.83, -1.46, -11.04, 1.70, 0.1, "ff00ff" ],
[ -1.78, -11.84, 3.15, 0.00, -12.24, 2.83, 0.1, "ff00ff" ],
[ 0.00, -12.74, 4.38, -2.09, -12.68, 4.35, 0.1, "ff00ff" ],
[ -2.09, -12.68, 4.35, 0.00, -12.41, 4.86, 0.1, "ff00ff" ],
[ -2.09, -12.68, 4.35, 0.00, -11.69, 4.08, 0.1, "ff00ff" ],
[ 0.00, -8.84, 2.03, -1.46, -9.07, 1.81, 0.1, "ff00ff" ],
[ -1.46, -10.01, 1.95, 0.00, -9.79, 2.13, 0.1, "ff00ff" ],
[ 0.00, -10.69, 2.88, -1.46, -10.85, 2.66, 0.1, "ff00ff" ],
[ -4.60, 0.00, -2.36, -4.56, 0.00, -1.16, 0.1, "ffff00" ],
[ -4.56, 0.00, -1.16, -4.36, -1.50, 0.20, 0.1, "ffff00" ],
[ -4.36, -1.50, 0.20, -4.36, -3.27, 0.17, 0.1, "ffff00" ],
[ -4.36, -3.27, 0.17, -4.56, -4.70, -1.16, 0.1, "ffff00" ],
[ -4.56, -4.70, -1.16, -4.48, -4.10, -2.25, 0.1, "ffff00" ],
[ -3.18, 4.66, -2.30, -3.18, 5.33, -0.83, 0.1, "ff0000" ],
[ -3.18, 5.33, -0.83, -3.18, 5.15, 0.59, 0.1, "ff0000" ],
[ -3.18, 5.15, 0.59, -3.18, 3.59, 0.86, 0.1, "ff0000" ],
[ -3.18, 3.59, 0.86, -3.18, 2.08, 0.53, 0.1, "ff0000" ],
[ -3.18, 2.08, 0.53, -3.18, 0.84, 1.28, 0.1, "ff0000" ],
[ -3.18, 0.84, 1.28, -3.18, -1.25, 2.48, 0.1, "ff0000" ],
[ -3.18, -1.25, 2.48, -3.18, -3.83, 2.21, 0.1, "ff0000" ],
[ -3.18, -3.83, 2.21, -3.18, -5.96, 1.06, 0.1, "ff0000" ],
[ -3.18, -5.96, 1.06, -3.18, -7.47, -0.41, 0.1, "ff0000" ],
[ -3.18, -7.47, -0.41, -3.18, -5.96, -2.30, 0.1, "ff0000" ],
[ -1.46, 6.41, -2.35, -3.18, 4.66, -2.30, 0.1, "0000ff" ],
[ -3.18, 4.66, -2.30, -4.60, 0.00, -2.36, 0.1, "ff0000" ],
[ -4.48, -4.10, -2.25, -3.18, -5.96, -2.30, 0.1, "ff0000" ],
[ -3.18, -5.96, -2.30, -1.46, -7.74, -2.30, 0.1, "0000ff" ],
[ -1.46, -7.74, -2.30, 0.00, -9.03, -2.30, 0.1, "99FFBB" ],
[ -3.18, -7.47, -0.41, -1.46, -10.09, 0.40, 0.1, "0000ff" ],
[ -3.18, -7.47, -0.41, -1.46, -9.07, 1.81, 0.1, "0000ff" ],
[ -3.18, -7.47, -0.41, -1.46, -7.96, 1.77, 0.1, "0000ff" ],
[ -3.18, -5.96, 1.06, -1.46, -7.96, 1.77, 0.1, "0000ff" ],
[ -3.18, -5.96, 1.06, -1.46, -6.01, 2.53, 0.1, "0000ff" ],
[ -3.18, -3.83, 2.21, -1.46, -6.01, 2.53, 0.1, "0000ff" ],
[ -3.18, -3.83, 2.21, -1.46, -4.89, 3.28, 0.1, "0000ff" ],
[ -3.18, -3.83, 2.21, -1.46, -3.47, 3.77, 0.1, "0000ff" ],
[ -3.18, -3.83, 2.21, -1.46, -1.96, 3.93, 0.1, "0000ff" ],
[ -3.18, -1.25, 2.48, -1.46, -1.96, 3.93, 0.1, "0000ff" ],
[ -3.18, -1.25, 2.48, -1.46, -0.81, 3.66, 0.1, "0000ff" ],
[ -3.18, -1.25, 2.48, -1.46, 0.22, 3.17, 0.1, "0000ff" ],
[ -3.18, 0.84, 1.28, -1.46, 1.73, 1.95, 0.1, "0000ff" ],
[ -3.18, 2.08, 0.53, -1.46, 2.66, 1.66, 0.1, "0000ff" ],
[ -3.18, 3.59, 0.86, -1.46, 2.66, 1.66, 0.1, "0000ff" ],
[ -3.18, 3.59, 0.86, -1.46, 4.46, 1.90, 0.1, "0000ff" ],
[ -3.18, 5.15, 0.59, -1.46, 4.46, 1.90, 0.1, "0000ff" ],
[ -3.18, 5.15, 0.59, -1.46, 6.46, 1.95, 0.1, "0000ff" ],
[ -3.18, 5.15, 0.59, -1.46, 7.26, 0.95, 0.1, "0000ff" ],
[ -3.18, 5.15, 0.59, -1.46, 7.41, 0.00, 0.1, "0000ff" ],
[ -1.46, 7.41, 0.00, -3.18, 5.33, -0.83, 0.1, "0000ff" ],
[ -3.18, 5.33, -0.83, -1.46, 7.31, -0.90, 0.1, "0000ff" ],
[ -3.18, 5.33, -0.83, -1.46, 6.41, -2.35, 0.1, "0000ff" ],
[ -3.18, 5.33, -0.83, -4.60, 0.00, -2.36, 0.1, "ff0000" ],
[ -3.18, 5.15, 0.59, -4.60, 0.00, -2.36, 0.1, "ff0000" ],
[ -3.18, 2.08, 0.53, -4.60, 0.00, -2.36, 0.1, "ff0000" ],
[ -3.18, 2.08, 0.53, -4.56, 0.00, -1.16, 0.1, "ff0000" ],
[ -3.18, 0.84, 1.28, -4.36, -1.50, 0.20, 0.1, "ff0000" ],
[ -3.18, 0.84, 1.28, -4.56, 0.00, -1.16, 0.1, "ff0000" ],
[ -3.18, -1.25, 2.48, -4.36, -1.50, 0.20, 0.1, "ff0000" ],
[ -4.36, -1.50, 0.20, -3.18, -3.83, 2.21, 0.1, "ff0000" ],
[ -3.18, -3.83, 2.21, -4.36, -3.27, 0.17, 0.1, "ff0000" ],
[ -4.36, -3.27, 0.17, -3.18, -5.96, 1.06, 0.1, "ff0000" ],
[ -3.18, -5.96, 1.06, -4.56, -4.70, -1.16, 0.1, "ff0000" ],
[ -4.56, -4.70, -1.16, -3.18, -7.47, -0.41, 0.1, "ff0000" ],
[ -4.48, -4.10, -2.25, -4.90, -3.09, -2.31, 0.05, "99FFBB" ],
[ -4.90, -3.09, -2.31, -4.90, -1.49, -2.31, 0.05, "99FFBB" ],
[ -4.90, -1.49, -2.31, -4.60, 0.00, -2.36, 0.05, "99FFBB" ],
[ -4.90, -1.49, -2.31, -4.83, -2.30, -1.16, 0.05, "99FFBB" ],
[ -4.90, -3.09, -2.31, -4.83, -2.30, -1.16, 0.05, "99FFBB" ],
[ -4.56, -4.70, -1.16, -4.90, -3.09, -2.31, 0.05, "99FFBB" ],
[ -4.36, -3.27, 0.17, -4.83, -2.30, -1.16, 0.05, "99FFBB" ],
[ -4.83, -2.30, -1.16, -4.36, -1.50, 0.20, 0.05, "99FFBB" ],
[ -4.90, -1.49, -2.31, -4.56, 0.00, -1.16, 0.05, "99FFBB" ],
]


That code uses the mirroring feature of the program. So if you only see half a duck, click the Mirror X check box.
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 8966
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Previous
Forum Statistics

Who is online

Users browsing this forum: No registered users and 163 guests

Options

Return to Technology Forum

cron