![]() Jun 24 2016, 4:33 am
|
|
Ah, I see. I did know about the algebraic way of solving it, but I totally forgot about it. I have an idea that I'm going to play around with later in terms of visibility now.
|
D4RK3 54B3R wrote:
I think you can do it without the artifacts and without the jitter. I'm not sure if his only works with horizontal + vertical lines only. The way I've set mine up works with line segments of any size and any angle. |
It's kind of arbitrary if the lines are axis-aligned or not. The math is still the same.
I'm 100% certain that with the algorithm you've mentioned earlier, you can get an implementation with zero jitter and zero artifacts near the lightsource. |
D4RK3 54B3R wrote:
It's kind of arbitrary if the lines are axis-aligned or not. The math is still the same. Sure but the animate tricks required to pull it off on none axis aligned lines are completely different. |
If you're using animate, then that's definitely the source of your jitter.
IDK about the stray lines tho. |