Vskrap

03-10-2013, 02:40 PM

Hi,

I have tried searching the web to no avail, maybe someone here can point me in the right direction.

I am trying to render a simple scene to look as if hand drawn (sketch, I.e. mesh with some lines to long to short, not perfectly straight etc.) . The flow is:

1 Given the geometry and camera find all points that would produce lines in current view (I.e for a for a triangle partly obscured behind another all vertices for one of them, some on the intersection etc)

2 generate lines between the now calculated vertices positions as series of rectangles, mapping textures onto them.

So my question is, is this a reasonable setup, and if so how do I find the intersection points?

Regards

I have tried searching the web to no avail, maybe someone here can point me in the right direction.

I am trying to render a simple scene to look as if hand drawn (sketch, I.e. mesh with some lines to long to short, not perfectly straight etc.) . The flow is:

1 Given the geometry and camera find all points that would produce lines in current view (I.e for a for a triangle partly obscured behind another all vertices for one of them, some on the intersection etc)

2 generate lines between the now calculated vertices positions as series of rectangles, mapping textures onto them.

So my question is, is this a reasonable setup, and if so how do I find the intersection points?

Regards