• Advertisement
Sign in to follow this  

Getting Plane Vertices

This topic is 1314 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

I'm trying to draw a plane, I have the plane normal vector and the distance as the following:

struct Plane
{
         D3DXVECTOR3 Normal;
         float Distance;
};

How do I get the plane vertices position?

Share this post


Link to post
Share on other sites
Advertisement

A plane is by definition infinitely large, so it has no "vertices". I guess you could analytically project the plane to clip space, and then draw the resulting vertices without any transformation matrix (since they are already transformed) but that's probably not the best way to solve whatever your problem is. So, how large do you need the quad to be?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement