Profile Picture

Wrestling with the Snake - My Experiments with Python

Posted By Kelleytoons 5 Years Ago
Rated 4.2 stars based on 5 votes.
Author
Message
Kelleytoons
Kelleytoons
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 9.1K, Visits: 21.8K
I thought I would start a thread where I'll post my video python tutorials/explanations (they aren't *exactly* instructional, but more the reasoning and process behind my experiments) in iClone.  If nothing more these very short looks might tell people what can and can't be done, or at least give you your own ideas on doing things (and you can easily ignore this entire thread if you like without feeling you are missing something important).

Also, don't look for any UI tips/tricks here -- I couldn't care less about UI (when I was team lead I specifically got folks who were good at that -- I'm a systems programmer and kind of hate UI).  While I might end up having some scripts useful for others, for the most part this is going to be focused on me doing things *I* need to do (again, it might be inspirational or not as the case may be).

To start with I'm going to show my efforts to control rotations of props, for my Robby the Robot character.






Alienware Aurora R12, Win 10, i9-119000KF, 3.5GHz CPU, 128GB RAM, RTX 3090 (24GB), Samsung 960 Pro 4TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
nlprod1
nlprod1
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)Distinguished Member (1.1K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 233, Visits: 4.5K
Although I don't understand a stitch of programming I think that this open programming functionality will benefit many of you skilled cats. Nice to see it being utilized,  thanks for sharing!
Kelleytoons
Kelleytoons
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 9.1K, Visits: 21.8K
Hopefully those of us who do program will generate scripts that will be of use to those who don't -- this very small script, for example, could be used to rotate almost any prop over the course of your animation clip, so if you had radar antenna, or anything that needed regular rotations you could easily adapt this.  But other, more comprehensive and useful scripts will be coming, particular on the second patch (there are a LOT of things we need to be exposed in the API).



Alienware Aurora R12, Win 10, i9-119000KF, 3.5GHz CPU, 128GB RAM, RTX 3090 (24GB), Samsung 960 Pro 4TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
sonic7
sonic7
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1.7K, Visits: 19.4K

I'm looking forward to viewing this Mike! - in a couple of hours time - when l'll have internet connection at my sister's home. - (currently interstate for 6 weeks) ...

--------------------------------------------------------------------------------------------------------------------------------------------------------
Please be patient with me ..... I don't always 'get it' the first time 'round - not even the 2nd time! Sad  - yikes! ... 
MSI GT72VR Laptop, i7 7700HQ 4-Core 3.8 GHz 16GB RAM; Nvidia 1070, 8GB Vram iClone-7.93  3DXChange Pipeline 7.81  CC-3 Pipeline 3.44  Live Face  HeadShot  Brekel Pro-Body  Popcorn FX  iRAY  Kinect V2  DaVinci Resolve17  Mixcraft 8.1

sonic7
sonic7
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)Distinguished Member (13.4K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1.7K, Visits: 19.4K

Brilliant! - Great stuff Mike! - Looks like Python will make many things possible - this conjures up all sorts of ideas in my 'gyros' ...

--------------------------------------------------------------------------------------------------------------------------------------------------------
Please be patient with me ..... I don't always 'get it' the first time 'round - not even the 2nd time! Sad  - yikes! ... 
MSI GT72VR Laptop, i7 7700HQ 4-Core 3.8 GHz 16GB RAM; Nvidia 1070, 8GB Vram iClone-7.93  3DXChange Pipeline 7.81  CC-3 Pipeline 3.44  Live Face  HeadShot  Brekel Pro-Body  Popcorn FX  iRAY  Kinect V2  DaVinci Resolve17  Mixcraft 8.1

TopOneTone
TopOneTone
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 329, Visits: 3.2K
Mike,
Thanks for sharing this, I'll certainly try to follow what you are doing. Right now the coding makes no sense to me and it was hard to instantly recognize what bits you were talking about, but the outcome is impressive and clearly shows the value of learning this stuff.
Cheers,
Tony 
rollasoc
rollasoc
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 188, Visits: 3.1K
Thanks Mike, that is a really useful introduction.

My immediate thought was, this would be useful for doing something like animating light panels in space ships.
Kind of like in the mother scene in the first Alien. (and in the proposed iClone Alien - message film)?


https://forum.reallusion.com/uploads/images/45f101f0-6354-4c5f-85c0-019f.jpg



Home built PC:- i9 9900K 32GB RAM, Zotac 1080TI mini.
Band Music:-  https://thehairthieves.bandcamp.com/
Solo Instrumentals:- https://sineglidermusic.bandcamp.com/

Kelleytoons
Kelleytoons
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)Distinguished Member (35.6K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 9.1K, Visits: 21.8K
Okay, part two of this, showing how you can emulate step transition curves (useful since we can't currently alter the curves on some things):






Alienware Aurora R12, Win 10, i9-119000KF, 3.5GHz CPU, 128GB RAM, RTX 3090 (24GB), Samsung 960 Pro 4TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
charly Rama
charly Rama
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)

Group: Forum Members
Last Active: 54 minutes ago
Posts: 1.9K, Visits: 16.8K
waouh, all this is great, python seems bring many possibilities. bravo Mike


     


Warped Reality VFX
Warped Reality VFX
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 376, Visits: 8.1K
Hello, Mike, this is a great example of what I would usually make a library of subroutines for thank you for showing some python.
I am currently using IC 7.2 but this makes me want to update to 7.4.
Just waiting a bit to see how stable it is.
Thank you again.


Warped Reality VFX.



Reading This Topic