Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

p0, p2, p3, p4 are points in 3D and are connected on a straight line where p0 and p4 are fixed. How to find the normal at p2 and p3?

share|improve this question
1  
You can create 2 vectores between your vertices. By taking the cross product of these 2 vectors you will get your normal. I'm not sure so someone should confirm if that is possible with your setup. Also is there a difference between node and vertice here? –  Sidar Dec 21 '12 at 9:49
2  
What do you mean by "normal to v2"? Are V1, V2, V3 co-linear or do they form a non-degenerate triangle? Please provide a slightly clearer picture to what you have and want to compute. –  teodron Dec 21 '12 at 9:49
1  
Do V1 and V3 already have an associated normal? If so, do you want to interpolate normals along a straight edge V1V3, or is V2 part of a more complex curve? –  Sam Hocevar Dec 21 '12 at 10:08
    
I think you want to find more points on a path linking v1, v2 and v3, but we need more than that to help you. Do you have a definition of the surface in question, like a parametric definition or an equation? Could you clarify your question? –  madshogo Dec 21 '12 at 16:37
    
...I can't make head or tails of this question. –  Trevor Powell Dec 21 '12 at 22:50
show 5 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.