This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Normals, planes and vertices


Normals, planes and vertices

Postby Dan East » Sep 10, 2002 @ 2:10am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Kzinti » Sep 10, 2002 @ 2:58am

It depends on what you mean by your vertices normals. A normal is always relative to a surface, not a vertex.

In the context of 3D graphic rendering, normals are associated with vertices. These normals are an approximate representation of the surface curvature and are used to provide more visual information at the rasterization phase (Gouraud/Phong).

I assume you know all that. Thing is these vertices normals are usually calculated using adjacent triangles (or manually set). If you consider them alone, you don't have enough information to get the triangle's normal back.

But if you have the 3 vertices... A simple cross-product would do the work:

N = (B-A) * (C-A)
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Malmer » Sep 10, 2002 @ 12:51pm

All your base are belong to us
User avatar
Malmer
pm Member
 
Posts: 768
Joined: Apr 26, 2001 @ 5:15pm
Location: Sweden


Postby BurningSheep » Sep 10, 2002 @ 1:34pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby Dan East » Sep 10, 2002 @ 2:26pm

My terminology was confusing. Given 3 vertices, is there any correlation between the normalized (unit) values of the 3 vertices and the normal of the face they describe.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby lamondo » Sep 10, 2002 @ 3:43pm

lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Postby cryo » Sep 10, 2002 @ 4:31pm

User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby BurningSheep » Sep 10, 2002 @ 8:07pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby Digby » Sep 10, 2002 @ 11:02pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum