Sign in to follow this  
dorca

Drawing a plane

Recommended Posts

Hi, I'm totally new to OpenGL and I would like to draw a triangle on a given plane by the plane equation (ax+by+cz+d=0) in 3D. How can I find at least 3 points on the given plane? Or... is there any other quicker way to restrict coordinate plane to the given plane and draw a rectangle?

Share this post


Link to post
Share on other sites
This is basically a billboarding problem. Try searching the forum archives for 'billboarding' and/or 'orthonormal basis', and you should find something you can work with (how to build a basis from a single vector has been covered many times here in the past).

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