Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Are normal normals normal norman?

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 22nd Oct 2003 19:14
Sorry - couldn't resist the silly subject

My question really is: What are normals?

I hear them mentioned a lot but have no idea what they are.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 22nd Oct 2003 19:16
They are lines that are perpendicular to a plane, so the line is at 90 degrees to every part of the plane.

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 22nd Oct 2003 19:28
eh?
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 22nd Oct 2003 22:12
take a pencil.
Stand it straight up on your desk.
The pencil is now a normal of the desk
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 22nd Oct 2003 22:18 Edited at: 22nd Oct 2003 22:19
have you done reflection/refraction etc in physics at school? the normal is the line at 90degrees to the surface of the prism in all the stupid diagrams you have to do.





Go on, click on my signature image, you know you want to
Favourite smiley>>>
Black Hydra
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 22nd Oct 2003 23:17
Think perpendicular... perpendicular...
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Oct 2003 01:24
Depending on the graphics engine, they can be used for a few things

- Lighting. When adjusted according to the camera direction, they can determine the strength of the light reflected from the surface (and so the brightness of the colour of the polygons)

- Culling (not in DBPro). Polygons that are pointing away from the camera (according to the direction of the normal) can be considered hidden, so they don't need to be drawn.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 23rd Oct 2003 01:42
Quote: "have you done reflection/refraction etc in physics at school"


Maybe. But I left school 18 years ago, so I don't remember.


Quote: "- Lighting. When adjusted according to the camera direction"


Is this something that can be done in DBP because I can't think of any commands that do this kind of thing? Or are normals used more in the 3D modelling world?
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 23rd Oct 2003 01:49
Scraggle: You can adjust them via memblocks, and there is also a command to adjust them on matrices

"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 23rd Oct 2003 03:27
"Set normalization on" can make a MAJOR difference in how your scenes are rendered and light is used. My models looked like crap until I found out this command.
--
TAZ
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 23rd Oct 2003 10:55
Thanks zircher.

I tried SET NORMALIZATION ON and it cured the problem with lighting I was having. The one that you helped me with in the thread called 'Problem with the SCALE OBJECT command.'.

OK, I can see the end result of what SET NORMALIZATION ON has done and now I know that a 'normal' is perpendicular to a plain, but what happened on a low level when this command was executed.
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 23rd Oct 2003 16:20 Edited at: 23rd Oct 2003 16:26
Light comes in at a vector to the face. The normal is used to determine the angle of the face. The amount of light reflected back to the camera (based on the specularity of the face) is calculated from this and thus how much lighting/shading is used.
--
TAZ
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 23rd Oct 2003 20:21
Thanks again zircher.

I seem to spend most of my time on this forum thanking you.

So here it is again - thanks.
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 24th Oct 2003 03:00
I've had my share of thanking other people in the past. I'm just passing on the torch so to speak.
--
TAZ

Login to post a reply

Server time is: 2024-11-25 14:32:30
Your offset time is: 2024-11-25 14:32:30