Loop Value with ADM

Become a member of the CGSociety

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

 
Thread Tools Display Modes
  11 November 2014
Loop Value with ADM

Hey guys,

I need to make a value scale up from 0 to 255 and back to 0 to 255 in a infinite loop.

The simpler idea would be an animated Scalar, from 0 to 255 with an Out of Range set to Cycle.
It would work just fine IF i wouldn't need something else.

I want it to be very flexible. I need to control how fast (or slow) it goes from 0 to 255 with an Exposed Parameter, like a multiplier. The problem is that I can't multiply this value since it can't go over 255.

As you might have noticed, i'm controlling colors. Here's the scene file:
https://www.dropbox.com/s/ozb5xhyq2...Colors.rar?dl=0

Thx
__________________
Alvaro Moreira

Particle-Skull.com
 
  11 November 2014
I could fake a 2nd cycle here but still have no idea on how to make goes forever.

https://www.dropbox.com/s/nsrgs9vxs...lors_B.rar?dl=0

in this case, when the values is >255 it switches to function that subrtracts 255 from the original value.

Still kinda useless, just want to keep it up to date so, maybe, someone can have an idea based on it.
__________________
Alvaro Moreira

Particle-Skull.com
 
  11 November 2014
Done! Just realised a much more elegant solution.

I'm using a Sin function to make values go from 0 to 255 and back to 0... Works just fine like this

Here's the file in case anyone gets interested.
http://goo.gl/0LUh3N
__________________
Alvaro Moreira

Particle-Skull.com
 
  11 November 2014
Dude that is awesome! nice work
__________________
poof ~>Vimeo<~
 
  11 November 2014
Thx John

I've learned what a Sin function does on a Houdini tutorial. Would love to understand what all of those other functions do!
__________________
Alvaro Moreira

Particle-Skull.com
 
reply 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 11:54 AM.


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