RE: Tile 1x1 Round
2020-05-19, 17:11 (This post was last modified: 2020-05-19, 17:12 by Roland Melkert.)
2020-05-19, 17:11 (This post was last modified: 2020-05-19, 17:12 by Roland Melkert.)
(2020-05-15, 12:55)Jaco van der Molen Wrote: And, if I may say so, the render in LDCad is not that good too.
This is a real nasty problem, first some background:
LDraw data has no normals so the renderer has to 'invent' them. LDCad does this based on type 2 lines. It is averaging all normals at positions not divided by a type 2 line.
The problem with this part is it has no type 2 lines at the top corners (as seen on your image) so it averages all normals on that position causing a ~45 degree normal at the corner, resulting in the shaded effect (it is trying to make it round).
I'm aware of this problem for awhile, but still not sure on how to solve it with just the LDraw data.
I might resort to a new shadow library meta/hint for this.
I'm also open to suggestions on how to improve this.