Forum: Poser Python Scripting


Subject: Moving morphs between different figures

Cage opened this issue on Dec 20, 2006 · 1232 posts


Spanki posted Fri, 09 February 2007 at 6:11 PM

Heh...

gDisplacement[v[i]].addVec(  g[v[i]].vecTo(g[v[n(i)]])   );

...damn, that's a horrid piece of C code - I'm surprised you were able to figure that out! :).  Nice job.

This guy certainly has an 'interesting' coding style... he has long-winded, fairly descriptive function names like:

resetDisplacementsAndValence3D()
computegDisplacementsAndValence3D()
NormalizeDisplacements3D()
VolumeConservingSmoothingEdgeRelaxation()
etc.

...and at the same time, he has single-letter class member variables (and function names!!) like:

g,v,o,oo,cc,bm,bmc,D,V,UN,q,qq,m,mm

n(),p(),d2(),dm()

...sheesh.

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.