Hi,
I simulate a 3-D scene using matlab camproj perspective.
This procedure creates a perspective projection of the shapes (triangles), but the stimuli coordinates remain in orthographic representation (world coordinates).
I want to mark all the triangles inside a circle. Using inpolygon, marke the triangles as if this was done in orthographic projection and not perspective.
See attached files for demostration.
Any ideas on how to get the triangles screen coordinates?
Thank you
Best Answer