🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
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 …
![How to rotate a line around a point?](https://uploads.gamedev.net/forums/monthly_2020_06/0a99f399de85430694a12aa9b96aea77.line.png)
A rotation matrix is used. It's simple and it's standard.
Advertisement
Advertisement