(2018-03-04, 16:38)Merlijn Wissink Wrote: Small question: why is the rendering of part 24246 so weird in LDCad (see attached image)?
It's doing weird things with the shadows and it almost looks like the part is some kind of metallic, but it's just standard LBG like the other parts in the image.
Because many triangles meet into a single point using large angles in relation to each other, the smoothing algorithm averages the normals of those triangles (unless an edge line is found) .
Something like this, where black are the base triangle/normals, red is the smoothed one and dark yellow the computed surface resulting from those normals
This is a shortcoming of the current smoothing algorithm, I'm looking to improve it in LDCad 2