I'm trying to draw a cube in openGL with parameters read from Parasolid x_t file. Can anyone guide me in drawing a plane surface in openGL with the following inputs,
- point on the plane
- normal to the plane (unit vector)
- x-Axis of the plane (unit vector)
These are the inputs I read from parasolid *.x_t file. Using this I have to find y-Axis vector which is the cross product of normal and x-Axis. I'm totally confused with the process or equation I should use in my c++ code in order to get the other three points of the plane surface.