Cristiano Midnight
Evil Snapshot Baron
Join date: 17 May 2003
Posts: 8,616
|
11-18-2004 13:47
I know this is not LSL scripting, but I figured a lot of scripters don't look in the Animation forum, and someone here may know Python. --
Poser has the worst timeline editor imagineable - it honestly is a horrible animation editor, which is odd considering that is one of its selling points and the tool we are stuck with. One simple thing it cannot do is reverse the order of a series of frames. Poser is fully extensible however, and has some useful utility scripts in Python. Before I take the plunge and learn how to script in Python, does anyone out there have a script to do this, or know of another way to easily reverse a selection of frames?
_____________________
Cristiano ANOmations - huge selection of high quality, low priced animations all $100L or less. ~SLUniverse.com~ SL's oldest and largest community site, featuring Snapzilla image sharing, forums, and much more. 
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
11-18-2004 15:14
Python requires no learning  Last year I had to code an expert systems assignment and after wasting days and weeks on prolog, we decided to ditch it all and start from the ground up in Python. I didnt know a thing about python and yet I was able to complete the assignment in 80 LOC and 45 minutes. A friend of mine did the same in Java and it took him a month of coding to come up with a horribly inneficient system split up into 32 classes. He basically wasted his time and implemented his own eval() instead of using a language that already supported it 
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
11-18-2004 22:01
Yay, Python! Just to get you started, to read a file into a list and print the list you'd do this: import string
myfile = open( "c:\\documents and settings\\cristiano\\myfile.bvh", "r" ) filelines = myfile.readlines() myfile.close()
for line in filelines: print string.strip( line )
Azelda
|