🎉 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!

How do these slopes work with the grid?

Started by
13 comments, last by raigan 1 year ago

I don't know what you're using this for, but trig is almost never a good approach to anything related to gamedev.
See eg this article for more insight into this: https://iquilezles.org/articles/noacos/

Any

Advertisement

(don't know why gamedev.net keeps cutting off my replies)

I was saying: any representation of lines/planes which uses an explicit “slope” parameter is likely to be awful to work with. The book “Geometric Tools for Computer Graphics” might be a useful reference.

Sounds like a neat book, how difficult?

I think it's not too bad, it starts very basic and provides code samples for everything, which is really useful!

This topic is closed to new replies.

Advertisement