Collision Constraint custom operator

Plugins linking to this thread: (hide)

Collision Constraint OpAuthor: Michor Lu
Updated/ported to C++/win64. Just a very basic collision detection custom operator for Softimage written in Python. I've heard animators (or other departments after them ) complain so much about feet not making contact with the ground because they don't have time to check due to super tight deadlines. Anyway, it was a great exercise in trying to learn how custom operators work and in the process I got a better understanding on Quaternion rotations. Just copy to your workgroup or user »ApplicationPlugins« folder and restart Softimage.

Introduction video. Visit Michor's blog displaying his traditionally inspired 3D character art.

local backup: CppCollisionConstrainOp.zip

Post Reply
mic
Posts: 7
Joined: 16 Aug 2012, 20:36
Location: South Africa
Contact:

Collision Constraint custom operator

Post by mic » 17 Aug 2012, 00:07

Hi

This is my first post :) I've been a long time lurker of this forum. I thought I would share with you guys a little script I wrote in my free time.

It is just a very basic collision detection custom operator for Softimage written in Python. I've heard animators ( or other departments after them ) complain so much about feet not making contact with the ground because they don't have time to check due to super tight deadlines. Anyway, it was a great exercise in trying to learn how custom operators work and in the process I got a better understanding on Quaternion rotations. Just copy to your workgroup or user "\Application\Plugins" folder and restart Softimage.

Anyway here is a video on how to use it:



Thanks for looking :)
CollisionConstrainOp.zip
CollisionConstraintOp
(5.09 KiB) Downloaded 399 times
CppCollisionConstranOp.zip
C++ version of the same Op
(11.17 KiB) Downloaded 320 times
Last edited by mic on 26 Aug 2012, 18:00, edited 1 time in total.
---------------------------
Blog
Portfolio - CGHub
Portfolio - CGTalk

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 18:23
Location: Canada

Re: Collision Constraint custom operator

Post by ActionArt » 17 Aug 2012, 16:06

That looks very handy! I'm not an animator but if I was I'd be trying that.

Welcome to the forum!

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 18:23
Location: Canada

Re: Collision Constraint custom operator

Post by ActionArt » 17 Aug 2012, 16:28

One question. Would it be possible to do this with individual points in and object (like footprints in snow for example)?

There could be a lot of uses like deforming a foot to the ground or just deforming an object to another for modeling purposes.

mic
Posts: 7
Joined: 16 Aug 2012, 20:36
Location: South Africa
Contact:

Re: Collision Constraint custom operator

Post by mic » 17 Aug 2012, 19:28

Hey ActionArt! Thanks for the welcome. :) What you've mentioned is a really great idea. Only thing is that it's not really the intention of this plugin to provide deformations ( as it's really a constraining plugin). And because it's in the form of a script, there's always speed concerns so something like that would probably be faster done in ICE.

Anyway thanks again for the warm welcome and stopping by. :)
---------------------------
Blog
Portfolio - CGHub
Portfolio - CGTalk

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: Collision Constraint custom operator

Post by Ahmidou » 18 Aug 2012, 01:10

Hi, FYI, there is already a footprint compound included in softimage

Cheers

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 18:23
Location: Canada

Re: Collision Constraint custom operator

Post by ActionArt » 18 Aug 2012, 17:06

As you can see, I'm really not an animator :)

Will have to take a look at that, thanks for reminding me it's already there.

mic
Posts: 7
Joined: 16 Aug 2012, 20:36
Location: South Africa
Contact:

Re: Collision Constraint custom operator

Post by mic » 26 Aug 2012, 18:07

Ported the same Op to a C++ plugin ( sorry 64bit only - If there's enough requests, I can compile a 32 bit version). I've been told that python ops are pretty slow in comparison to JScript or C++. Was great trying to learn the C++ way. :)

Download at the top of the page. Copy both files to "Plugins" directory.
---------------------------
Blog
Portfolio - CGHub
Portfolio - CGTalk

danyargici
Posts: 56
Joined: 09 Nov 2009, 10:58

Re: Collision Constraint custom operator

Post by danyargici » 27 Aug 2012, 16:12

This looks really nicely implemented - very useful but very simple at the same time. Thanks! :-bd

mic
Posts: 7
Joined: 16 Aug 2012, 20:36
Location: South Africa
Contact:

Re: Collision Constraint custom operator

Post by mic » 27 Aug 2012, 20:02

danyargici wrote:This looks really nicely implemented - very useful but very simple at the same time. Thanks! :-bd
Np :)

Thanks for stopping by :D
---------------------------
Blog
Portfolio - CGHub
Portfolio - CGTalk

User avatar
Zybrand
Posts: 42
Joined: 19 Jul 2010, 09:04
Skype: Zybrand

Re: Collision Constraint custom operator

Post by Zybrand » 28 Aug 2012, 07:09

Cool, thanks Michor! :D

User avatar
gaboraa
Posts: 314
Joined: 16 Apr 2010, 23:14

Re: Collision Constraint custom operator

Post by gaboraa » 28 Aug 2012, 11:10

Ahmidou wrote:Hi, FYI, there is already a footprint compound included in softimage

Cheers
not the same thing AFAIK

Looks great, thanks!

User avatar
gaboraa
Posts: 314
Joined: 16 Apr 2010, 23:14

Re: Collision Constraint custom operator

Post by gaboraa » 28 Aug 2012, 11:47

BTW I am asking gurus here, is it possible to reproduce this kind of compound with ICE? Plug-ins could be incompatible with the newer versions of SI but Compounds work. Don't bombard me with answers like "go and try for yourself" I don't know ICE and I don't have time to learn it in the future also because I am focusing on Modeling and rendering instead of FX and kinda stuff. BTW more constrains would always be welcome on my part, I love constraints:)

mic
Posts: 7
Joined: 16 Aug 2012, 20:36
Location: South Africa
Contact:

Re: Collision Constraint custom operator

Post by mic » 28 Aug 2012, 22:33

gaboraa wrote:
Ahmidou wrote:Hi, FYI, there is already a footprint compound included in softimage

Cheers
not the same thing AFAIK

Looks great, thanks!
I think he was responding to the post about adding deformations to the plugin. Anyway, I' pretty sure it is doable in ICE. I could give it a go just learn a bit more about ICE. :)
---------------------------
Blog
Portfolio - CGHub
Portfolio - CGTalk

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests