Cage opened this issue on Feb 24, 2010 · 592 posts
Cage posted Mon, 29 March 2010 at 1:30 PM
Quote - Attached File: correlate_snippet.txt (16.3 kilobytes)
Hey... I didn't do much more experimenting, but I did get a start on porting the code over to Python (see attached). It's not complete, but/so please be sure to read my comments at the top of the routine at the bottom (the first 2 functions are moslty grabbed from some older scripts).
Ooh! Excellent! Thank you. I was prepared to try to do it myself, which would probably involve making a horrid, hacked-up mess of your 2007 ray-casting code. :lol: I'm glad you've done this. Thank you. :thumbupboth: You are the ray-casting guy and, as I've said before, the brains of the outfit. :woot: :lol:
I'll start adding this in.
I'm wondering if the use of the close weights-generated average for the normal might help for a second ray-casting pass. I didn't check it yesterday to see if it's still failing in the same areas as the current ray-casting, but its results do differ in those areas, which suggests that it may be catching them. If so, it could be a useful process in cases like the one I've been testing, with a complex uphill comparison in which some surfaces aren't very well-aligned at comparison time. That's really the only thing I'm still chasing after now, improved tolerance of surface mis-matches going uphill.
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.