Getting the vertices facing the camera and use that to draw an ofpath


I need to get the vaious views, front top etc. of a 3d object and then draw over the view boundary using an of path.

My process is as below:

  1. Using screentoworld, and world to screen methods of ofCamera get the vertices.
  2. Store these vertex coordinates in a vector
  3. Join these vertices one by one uisng an ofPath.
  4. I probably have to figure out the sequence of the points.

Is this the right way?