Advertisement

Latest triangle Activity

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 …

3,650 views
Advertisement
How to rotate a line around a point?

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

11,593 views
Advertisement
Advertisement