### Author Topic: [3D Graphic]Normals of a Face  (Read 12375 times)

#### KeepingRealBusy

• Member
• Posts: 426
##### Re: [3D Graphic]Normals of a Face
« Reply #15 on: June 19, 2012, 09:48:11 AM »
Steve,

That makes sense. I am familiar with both methods.

My dad taught me electronics as he learned it in the 20's 30,s and 40,s left hand rule, current flow from positive to negative, with the diode arrow in schematics. Nowadays, it is more correctly the electron flow from negative to positive, but the diode (and transistor) arrows remain as a relic of the past. With the old left hand rule, current flow (+ to -) through a coil in the direction of your left hand fingers wrapped around the coil, meant that the north pole of the magnetic field (center of the coil) was in the direction of your thumb or up, the same as if you wrapped your left hand fingers around one of the wires in the coil with the thumb in the direction of the current flow then the finger tips (in  the center of the coil) would point up (north). The right hand rule, however covered the mathematics and geometry.

As far as the cross product goes, use determinants for the value, use the right hand rule (rotate one planer vector counter-clockwise to the other planer vector and the thumb points out (is the normal).

Kind of makes sense to allow either, but on some severely convoluted surfaces, where only polygon vertex coordinates  were known, it might be difficult to visualize just what was IN and what was OUT.

Dave.

#### dedndave

• Member
• Posts: 8821
• Still using Abacus 2.0
##### Re: [3D Graphic]Normals of a Face
« Reply #16 on: June 19, 2012, 10:05:15 AM »
20's ? - he must be a real OT
spark-gap and all that

in physics class, they taught us the right-hand rule using i, j, and k
i never did get a good explanation as to why x, y, and z weren't good enough - lol

of course, x, y, and z are axis'
i, j, and k are vectors

the arrow you are talking about...
the arrow shows the direction of "conventional current flow", as opposed to "electron current flow"
which really reflects the way solid state devices work
a "hole" or "depletion" leaves an empty spot for an electron to fill
so - the arrow points in the direction of travel for holes

when i was a teenager, i struggled a little with transistors
because i was raised on vacuum tubes - lol
later on, FET's came along and made the world right again - sorta
by that time, i was comfortable with transistors and had to re-learn tubes

#### KeepingRealBusy

• Member
• Posts: 426
##### Re: [3D Graphic]Normals of a Face
« Reply #17 on: June 19, 2012, 01:46:39 PM »
Dave,

He started out with Crystal radios, the old germanium crystals and cat whiskers (I think). He never got into spark gap transmitters(per-se). He served in the Signal Corps during the war (in Detroit) in research and suppression of radio interference, especially the noise suppression of ignition systems for tanks and jeeps.

Dave.

#### dedndave

• Member
• Posts: 8821
• Still using Abacus 2.0
##### Re: [3D Graphic]Normals of a Face
« Reply #18 on: June 19, 2012, 03:06:27 PM »
very cool
i think we all wound our wire around a toilet paper roll at one time or another - lol
fortunately, we had 1N34 and 1N60 diodes
no farting around with a cat whisker

i was raised not too far from Detroit
that's where we used to go to take our FCC exams

#### dedndave

• Member
• Posts: 8821
• Still using Abacus 2.0
##### Re: [3D Graphic]Normals of a Face
« Reply #19 on: June 19, 2012, 03:17:37 PM »
i hope your last name isn't Wilson

what ??? - that's not MY dad - i don't know the guy

#### KeepingRealBusy

• Member
• Posts: 426
##### Re: [3D Graphic]Normals of a Face
« Reply #20 on: June 20, 2012, 09:48:27 AM »
Dave,

Interesting find! No, not my dear ol' dad.

Dave.

#### dedndave

• Member
• Posts: 8821
• Still using Abacus 2.0
##### Re: [3D Graphic]Normals of a Face
« Reply #21 on: June 20, 2012, 08:13:30 PM »
i bet that guy had all the gals, in his day - lol

#### Farabi

• Member
• Posts: 969
• Neuroscience Fans
##### Re: [3D Graphic]Normals of a Face
« Reply #22 on: June 20, 2012, 09:50:54 PM »
i bet that guy had all the gals, in his day - lol

http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

#### dedndave

• Member
• Posts: 8821
• Still using Abacus 2.0
##### Re: [3D Graphic]Normals of a Face
« Reply #23 on: June 21, 2012, 03:17:53 AM »
he had a crystal set that was only good for 10 miles

when i was a kid in Michigan, i could get stations as far as Oklahoma City (at night) on my crystal set
of course, it was one of those 250 KW transmitters

#### xanatose

• Member
• Posts: 375
##### Re: [3D Graphic]Normals of a Face
« Reply #24 on: July 09, 2012, 10:22:12 PM »
A Point (vertex) is in the Form
T(x,y,z,1)

A normal is not a point or vertex, but a direction. So the form for a normal is:
T(x,y,z,0)

When you multiply a vertex by a 4x4 matrix. It will move its position. When you multiply a normal by a 4x4 matrix, it will just cause a rotation. IF is in the form (x,y,z,0).

#### Farabi

• Member
• Posts: 969
• Neuroscience Fans
##### Re: [3D Graphic]Normals of a Face
« Reply #25 on: July 24, 2012, 11:21:15 PM »
I tested it, it is rotated. So when you rotate an object, the object normals is rotated, or should be rotated.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165