Welcome! Log In Create A New Profile

Advanced
Re: Question about edges
avatarMarch 10, 2013 11:35AM
It would be nice to have an universal guide line.

As a result to Philippe's answer above I decided to try my original approach but without using any edge information at all. So by just looking at angles (acos'ed dot products actually) to decide to group stuff or not.

It works remarkably well, so well in fact I'm kinda glad I dropped the edges approach :)



This is using the (ludicrously wide) angle threshold of 60 degrees, could probably lower that to 30 or so, haven't decided on that.

Downfall is things go 'weird' with high details on a curved surface, like minfig heads which seem to have a crumbled paper thing going on. I'm not complety sure this is the result of the general algorithm or a minor bug on my side.



But in general this approach's results ares very acceptable given the cost. Could probably optimize things to bring it at a loading level only slightly slower then the current LDCad loading times.

If we are serious about helping smoothing by introducing rules on the library, some kind of hint system would be most useful. Like: these following triangles all lay on a curved quad. A bit like the texture projection hints. This would make it possible to generate normals based on a common (cylinder) center instead of the surrounding triangle normals.
SubjectAuthorViewsPosted
Question about edges Roland Melkert458March 08, 2013 12:41PM
Re: Question about edges Philippe Hurbain202March 08, 2013 11:07PM
Re: Question about edges Roland Melkert196March 09, 2013 11:11AM
Re: Question about edges Philippe Hurbain182March 09, 2013 11:25AM
Re: Question about edges Roland Melkert204March 09, 2013 12:23PM
Re: Question about edges Ben Supnik195March 09, 2013 08:18PM
Re: Question about edges Philippe Hurbain201March 09, 2013 10:53PM
Re: Question about edges Roland Melkert233March 10, 2013 11:35AM
Re: Question about edges Philippe Hurbain206March 10, 2013 12:00PM
Re: Question about edges Ben Supnik208March 10, 2013 04:11PM
Re: Question about edges Roland Melkert215March 10, 2013 04:32PM
Re: Question about edges Ben Supnik213March 10, 2013 07:31PM
Re: Question about edges Travis Cobbs197March 10, 2013 10:19PM
Re: Question about edges Ben Supnik188March 10, 2013 11:20PM
Re: Question about edges Tim Gould247March 10, 2013 11:40PM
Re: Question about edges Ben Supnik206March 11, 2013 11:52AM
Re: Question about edges Roland Melkert201March 11, 2013 01:31PM
Re: Question about edges Tim Gould202March 11, 2013 01:58PM
Re: Question about edges Roland Melkert199March 11, 2013 04:48PM
Re: Question about edges Tim Gould221March 11, 2013 04:57PM
Re: Question about edges Roland Melkert185March 11, 2013 06:02PM
Re: Question about edges Tim Gould195March 11, 2013 06:24PM
Re: Question about edges Travis Cobbs216March 11, 2013 10:12PM
Re: Question about edges Tim Gould218March 11, 2013 02:07PM
Re: Question about edges Ben Supnik234March 22, 2013 03:33PM
Re: Question about edges Tim Gould222March 22, 2013 03:44PM
Re: Question about edges Ben Supnik220March 22, 2013 04:48PM
Re: Question about edges Philippe Hurbain273March 23, 2013 01:49AM
Re: Question about edges Travis Cobbs196March 11, 2013 11:20AM
Re: Question about edges Roland Melkert211March 11, 2013 01:50PM
Re: Question about edges Roland Melkert178March 12, 2013 11:15AM
Re: Question about edges Ben Supnik196March 12, 2013 11:24AM
Re: Question about edges Roland Melkert183March 12, 2013 11:37AM
Re: Question about edges Travis Cobbs182March 09, 2013 10:57PM



Sorry, only registered users may post in this forum.

Click here to login