Python Effector looping trouble

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  03 March 2013
Python Effector looping trouble

Edit: Removed post as I went about asking for help the wrong way...

My apologies.

Last edited by hypoly : 03 March 2013 at 08:43 AM.
  03 March 2013
A little more explanation would be good. And probably asking nice for someone to
check wouldn't harm either.

With that few information, few people are willing to even look at your code, please
keep that in mind for the next time.
Cinema 4D Plugin Developer | Freebies | Plugins

Last edited by NiklasR : 03 March 2013 at 08:02 AM.
  03 March 2013

Last edited by hypoly : 03 March 2013 at 08:06 PM.
  03 March 2013
hey, what nikklas said and took i a quick look at code. the inverted ranngemapping looks
a bit unusal, it is hard to tell what is intentional and what is not, but the common approach
would be to invert the output range and not the input range (works too, but looks funny

define more precisley what you want to invert_min and inverat_max are meant to,
becasue currently they are actually not inverting the ouput.

edit : hadn't we had the same problem some weeks ago at plugin cafe ?
  03 March 2013
hi littledevil

Yea I am still having the same problem (Determined to crack this) Thank you for pointing out the inverting isn't actually inverting. I'll have another look at that. I've decided to take it all down as I've obviously gone about asking for help the wrong way. So for that I'm sorry.

  03 March 2013
Hi hypoly,

to invert the effect you can just make something like this:
    if invert:
        x = 1 - x
    return x

x being the value you wanted to return.

Cinema 4D Plugin Developer | Freebies | Plugins
  03 March 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:11 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.