Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

creative1

plane and normal

This topic is 5658 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Please, if you can try to answer using dx9 api... I created a plane from 3 points: Plane pl=Plane.FromPoints(v1, v2, v3); that plane has an inclination on it, I want to use it as the normal for other vectors, how can i do that? I mean i have another vector3 that I want to do vector.transformnormal(the_plane) the problem is that i see that method but it only takes a matrix and i have no idea how to put that plane into a matrix so i can transform the vector normal and set it up equal to the plane. any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Do you want to extract the normal from the plane?

I don''t really get it..

You have the normal in the equation:

ax + by + cz + d = 0

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!