Forum: Poser Technical


Subject: The Poser Subdivision Morph Sorcery Project

odf opened this issue on Dec 16, 2021 ยท 223 posts


odf posted Fri, 31 December 2021 at 6:08 PM

primorge posted at 5:29 PM Fri, 31 December 2021 - #4432679

One final observation on your comment about Python speed... I've noticed that PML takes a bit to toggle through all the actors in a source figure, noting deviations in specific actors. Sometimes very slow if you haven't shut down and restarted Poser. This is with default resolution figures. GoZ is pretty fast with SubD figures, so I imagine GoZ is not Python. Probably seems like a doofus observation from a programmer perspective but I'll risk mentioning it.

One can write very fast Python scripts if all the heavy number crunching happens in a compiled library (usually C/C++ or such). For all I know, GoZ could be mostly Python with just a little bit of native code.

Inside Python we can also use Numpy which does number crunching in bulk. It's great for things like adding up large lists of numbers, but it actually slows things down when instead it's fed many small lists of numbers. So the trick then is to organize the computation so that it plays to Numpy's strengths.

-- I'm not mad at you, just Westphalian.