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 CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2013   #1
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.
 
Old 03 March 2013   #2
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
niklasrosenstein.com/ | Freebies | Plugins

Last edited by NiklasR : 03 March 2013 at 08:02 AM.
 
Old 03 March 2013   #3
appologies

Last edited by hypoly : 03 March 2013 at 08:06 PM.
 
Old 03 March 2013   #4
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
imho).

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 ?
 
Old 03 March 2013   #5
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.

Cheers.
 
Old 03 March 2013   #6
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.

Best,
-Niklas
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
Old 03 March 2013   #7
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 12:26 AM.


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