Profile Picture

Wrestling with the Snake - My Experiments with Python

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

Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)

Group: Forum Members
Last Active: 15 minutes ago
Posts: 6.5K, Visits: 13.4K
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 R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
nlprod1
nlprod1
Posted 10 Months Ago
View Quick Profile
Veteran Member

Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)Veteran Member (860 reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 226, Visits: 4.4K
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 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)

Group: Forum Members
Last Active: 15 minutes ago
Posts: 6.5K, Visits: 13.4K
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 R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
sonic7
sonic7
Posted 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 1.4K, Visits: 15.5K

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 4-Core 3.8 GHz 16GB RAM, Nvidia 1070, 8GB Vram Kinect V2 iClone-7.41  3DXChange Pro  CC-3 CT-8 Brekel Pro-Body Mocap  Popcorn FX  PopVideo  iRAY  Vegas Pro 16  Mixcraft 8.1 Pro

sonic7
sonic7
Posted 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)Distinguished Member (7.2K reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 1.4K, Visits: 15.5K

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 4-Core 3.8 GHz 16GB RAM, Nvidia 1070, 8GB Vram Kinect V2 iClone-7.41  3DXChange Pro  CC-3 CT-8 Brekel Pro-Body Mocap  Popcorn FX  PopVideo  iRAY  Vegas Pro 16  Mixcraft 8.1 Pro

TopOneTone
TopOneTone
Posted 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)Distinguished Member (2.0K reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 254, Visits: 2.4K
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 10 Months Ago
View Quick Profile
Veteran Member

Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)Veteran Member (852 reputation)

Group: Forum Members
Last Active: 3 days ago
Posts: 174, Visits: 2.6K
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 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)Distinguished Member (20.8K reputation)

Group: Forum Members
Last Active: 15 minutes ago
Posts: 6.5K, Visits: 13.4K
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 R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
charly Rama
charly Rama
Posted 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)

Group: Forum Members
Last Active: 6 hours ago
Posts: 441, Visits: 4.1K
waouh, all this is great, python seems bring many possibilities. bravo Mike

My computer : I7 24Go RAM GTX 1070ti 8Go and GTX 1050Ti4Go
     


Kevin L
Kevin L
Posted 10 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)Distinguished Member (1.3K reputation)

Group: Forum Members
Last Active: 6 hours ago
Posts: 229, Visits: 3.4K
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