Subject:
|
Re: DirectX and .dat
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 27 Feb 2002 17:41:14 GMT
|
Viewed:
|
597 times
|
| |
 | |
In lugnet.cad.dev, Chuck Sommerville writes:
> In lugnet.cad.dev, Roland Melkert writes:
> > Is there someone here who can direct me to some information about this
> > translation problem or exemples.
>
> It sounds like you need help finding the normal vector so that Direct X will
> prperly shade the triangle. you can find the normal vector for the vertex
> by calculating the cross product of two vectors taken from two sides of the
> triangle. I found some more information here:
>
> http://members.tripod.com/~Paul_Kirby/vector/Vcrossproduct.html
>
> -Chuck
Of course you will have to convert this to a unit vector, by dividing each
of the conponents by the length of the resulting vector.
|
|
Message is in Reply To:
 | | Re: DirectX and .dat
|
| (...) It sounds like you need help finding the normal vector so that Direct X will prperly shade the triangle. you can find the normal vector for the vertex by calculating the cross product of two vectors taken from two sides of the triangle. I (...) (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|
6 Messages in This Thread:     
    
  
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|