Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

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

$
0
0

@Kesava_Prasad wrote:

Hi,

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles