Sign in to follow this  
Medo Mex

Getting Plane Vertices

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this