News for hackers. Stuff that matters.
Re:Instanced Line Rendering Part II: Alpha Blending by zestyping on Friday October 08, 2021 @02:57AM (#28796463)
I'm confused.

In the fifth figure, "Adjusting the intersecting vertices of intermediate segments to prevent overlap", you can see that the vertex adjustments cause the angle and thickness of the line segments to change. This looks wrong to me — shouldn't the angle and thickness be unaffected? Shouldn't the red boundaries along the tops and bottoms of the line segments be colinear with the dashed grey boundaries?

Re:Instanced Line Rendering Part II: Alpha Blending by mkl on Friday October 08, 2021 @05:58AM (#28797452)
I agree, that one seems wrong. From measuring some snapshots of the animating demos though, it looks like they are doing it correctly, as the width doesn't seem to be changing like in that red and grey diagram. I haven't tried to understand the code though.
Re:Instanced Line Rendering Part II: Alpha Blending by wwwtyro on Friday October 08, 2021 @09:09PM (#28806091)
Nice catch, thank you! Fixed.
Re:Instanced Line Rendering Part II: Alpha Blending by zestyping on Saturday October 09, 2021 @02:44AM (#28807615)
Ohhh now I understand what you're doing! :) Thanks!