Open ib00 opened 2 years ago
Hi!
There are many ways to do 3D lines. The implementations here perform line thickening in the screen space (if memory serves), and as such they should work for 3D. You can also do lines in 3D by actually creating 3D shape, which is something I believe Freya Holmer's Shape library does.
My other library (dbgdraw) has an example of how the lines implemented in this repo can look in 3D. Another library that can do 3D lines is IM3D by John Chapman, and it probably is more feature complete and better supported than dbgdraw.
All in all - this repo stores a number of experiments and is quite far from production ready code. There is no miters, no stippling etc.
Hope this helps!
Thanks! The main reason for my question was the linked article (by Tyrel) where he actually has an example of 3D lines.
Thanks for excellent overview!
Are these algorithms suitable for 3D line drawing as well?