FalconWings

10-23-2002, 05:58 AM

I'working at landscape engine, my problem is calculate vector slope of triangle.

Landscape is compound of lot simple triangle, axis y is height.

I'know position ( x,y,z ) of my camera position, and know coordinate of

three vertex ( x,y,z ) of triangle which collide with my camera.

Right now can calculate vector slope direction??

Best Regards,

P.s. I'must simulate camera slide on slope.

P.s.s. Excuse me for bad english.

Landscape is compound of lot simple triangle, axis y is height.

I'know position ( x,y,z ) of my camera position, and know coordinate of

three vertex ( x,y,z ) of triangle which collide with my camera.

Right now can calculate vector slope direction??

Best Regards,

P.s. I'must simulate camera slide on slope.

P.s.s. Excuse me for bad english.