Let me try to explain what im trying to do a little better. I have a coordinate system which is driven by the model view matrix. The only action performed on this CS is rotation with the mouse. Pan and zooms are performed using the projection matrix & gluOrtho().
Ok now my world need 3 default reference planes, Front, Top & Right, that intersect at the CS. I have a CPlane class coded. It contains private data members like m_pt that defines the selectable rectangle that lies in the plane, m_type that Ive defined as either PLN_DEFAULT,PLN_ANGLE ,PLN_THRU_3PT, PLN_PAR_THRU_PT, PLN_THRU_LINE_PT and public functions like Render(), Hide(), Select(), and the one that promted this post, SetPosition().
So If I wanted to create the default Front plane, I’d need to call SetPosition(), but Im trying to figure out what would be the best params to send it. You mentioned a point and two vectors. This makes sence to me. The point would be the ref planes origin, one vector would lie in the ref plane X direction and the other in its Y direction. I could then ectract its normal thru the cross product of those two vectors. Seems to me that you can define a plane with a coor sys and a vector.The plane will always be perpendicular to the vectors direction.
I have lots of reading to do…