Adding normals to the library


Re: Adding normals to the library
#9
The things I like about the LDraw format: it's very clean (in it's initial state) and the recursive nature of it makes it very efficient.

So I can't help having mixed feelings adding normals to the library files for a couple of reasons:

  1. Not all end user software needs it (e.g. POVRay)
  2. Normals are trivial to calculate when doing flat shading, so adding one normal per triangle/quad is very wasteful.
  3. Adding normals for smooth meshes will break the recursive / reusable nature of LDraw like you noted yourself.
  4. Smoothing isn't that hard when using modern bfc-ed parts (I agree with your notes on fixing the library itself). And if slow or something software is free to pre calculate/cache them.

Given the above I feel it's unfair to burden the part authors (often working with little more then notepad etc) with the normal issue, while it's only a couple of days work to implement a decent smoothing algorithm in software (done once).

Maybe we could improve things for the view/edit software programmers by adding a reference smoothing algorithm to the LDraw documentation in pseudo code.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Adding normals to the library - by Nicola - 2014-11-04, 13:31
Re: Adding normals to the library - by Nicola - 2014-11-04, 14:17
Re: Adding normals to the library - by Nicola - 2014-11-04, 16:12
Re: Adding normals to the library - by Nicola - 2014-11-04, 22:07
Re: Adding normals to the library - by Nicola - 2015-01-16, 16:07
Re: Adding normals to the library - by Roland Melkert - 2014-11-04, 21:58
Re: Adding normals to the library - by Nicola - 2014-11-04, 22:54

Forum Jump:


Users browsing this thread: 4 Guest(s)