myk45

03-03-2013, 11:56 PM

Hello All,

I have a small question regarding clipping. Now i know that the clipping happens in the clip space. So, we can throw away points if outside the view frustum, else retain it.

Now, suppose we have a line wherein one point is outside and another is inside. So, we need to clip this exactly till the point where the line intersects the view frustum.

Is this computation also done in the clip space?

So, we need to generate a new vertex in the above example(the intersection point). Is this also done in the clip space?

Thanks!

I have a small question regarding clipping. Now i know that the clipping happens in the clip space. So, we can throw away points if outside the view frustum, else retain it.

Now, suppose we have a line wherein one point is outside and another is inside. So, we need to clip this exactly till the point where the line intersects the view frustum.

Is this computation also done in the clip space?

So, we need to generate a new vertex in the above example(the intersection point). Is this also done in the clip space?

Thanks!