I came across the following comment while working on my T.Ed. (Terrain editor) file loader while reading a DBPro sample posted on the T.Ed website:
Quote: "may need some conversion for angles as I think DBP uses normals"
and the code snip I'm talking about:
`----------------------------------------------------------------------
`Set sunlight and ambient light
`----------------------------------------------------------------------
If Ted_Process_SunLight
Ted_Sun_Light=1 `directional
make light 1
`may need some conversion for angles as I think DBP uses normals
set directional light Ted_Sun_Light, Ted_Sun_elevation_angle#, Ted_Sun_rotation_angle#, 0
Color Light Ted_Sun_Light, rgb(Ted_sun_r,Ted_sun_g,Ted_sun_b)
set light range 1, Ted_cam_Range#
EndIf
I
THINK I know what normalizing a mesh is - its averaging two points - say on the y axis - so they end up somewhere in the middle - or someother means to "smooth" the mesh out.
But I think "Normals" are not the same thing. I've heard this term quite a bit in the forums and in the help - "Set Normals" "Normalize Vector" etc. and I usualy skim over it hoping like most else - eventually it clicks and I start to understand. this isn't the case this time.
Can anyone make this terminology a little clearer to me? I could Google - and I will - but I'd like (if possible) to hear it from you guys who I know, trust, and who are using the same product I am so that its an apples to apples explaination versus what I would likely find on the internet.
Thank You SO MUCH - in advance!