Ridley5 opened this issue on Jul 26, 2010 · 1724 posts
odf posted Sat, 07 August 2010 at 6:45 AM
Quote - Anybody able to create sort of a prolog for the sourcecode files? I would like to add this text automatically to each sourcecode file.
What kind of prologue do you have in mind? Something like a copyright notice? Maybe you could post a short summary of what you'd like to put in there, and one of the native speaker could polish it up. I've just had my delusions that my writing style does not reveal me as a foreign devil utterly shattered the other week.
Something completely different: has anyone else noticed that the "world normals" that Poser produces are pretty wonky? It seems that at vertices with no polygon smoothing, it picks one of the face normals at random. With polygon smoothing, it's even stranger. Sometimes I get the correct averaged normal, sometimes I don't. This is easy to see by importing a simple object like a cube and looking at the exporter output. I'm not sure how this happens, and if there are any ways of avoiding it. Lux apparently renders ugly things if it doesn't get fed any normals.
If we end up having to compute our own normals in the exporter, things are going to get "interesting". From what I've seen, numpy has a cross product, but Numeric doesn't. Adding a numpy dll just for this seems a bit excessive, so it would have to be some creative index mangling in Numeric in order to compute many cross products simultaneously, or else a little C extension for computing the normals. Well, at least it doesn't look like I'll have to look for a new job within this project too soon. :mellow:
-- I'm not mad at you, just Westphalian.