Subject:
|
Re: DirectX and .dat
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 27 Feb 2002 17:38:08 GMT
|
Viewed:
|
407 times
|
| |
| |
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
|
|
Message has 1 Reply: | | Re: DirectX and .dat
|
| (...) 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. (23 years ago, 27-Feb-02, to lugnet.cad.dev)
|
Message is in Reply To:
| | DirectX and .dat
|
| Hi all. Tim Courtney directed me to this forum on an issue that's bugging me. I am into the Virtual Lego for about a year now and being a programmer i started to mess around myself with the dat files etc. Just for the fun of it I started a little (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|