Advertisement

Latest triangle Activity

How to calculate depth slope of the polygon

Hi

I'm trying to implement wireframe drawing with hidden line removal. In the geometry shader I make lines from the input triangle. I plan to change the z-value in the geometry shader so that the lines are closer to the camera to avoid stippling (maybe this approach is wrong too). 

I want to do the s…

4,180 views
Advertisement
How to rotate a line around a point?

A rotation matrix is used. It's simple and it's standard.

12,532 views
Advertisement
Advertisement
Advertisement