Jump to content


Returning the frame for a value in a channel


  • Please log in to reply
2 replies to this topic

#1 Symbolic

Symbolic

    Illusionist

  • Members
  • PipPipPip
  • 486 posts
  • Joined: 20-October 06
  • Location:London
  • Name:Orm Embar

Posted 07 August 2011 - 04:45 AM

Hi,
I have one single channel in CHOPs that goes between 270 and 362. There is a moment that I get the max value. I would like to be able to return the FRAME number at that particular moment as my value goes to its maximum level. Any ideas? Thanks.

(In the attached image we can clearly see the moment the "value" (orange line) "hits" the max value (green line). I would like to be able to return the $FF at that moment.)

Attached Thumbnails

  • screen002.png

Live life in chunks!

#2 anim

anim

    Houdini Master

  • Members
  • PipPipPipPip
  • 910 posts
  • Joined: 23-August 07
  • Location:Slovakia, Bratislava
  • Name:Tomas Slancik

Posted 07 August 2011 - 05:17 AM

this will do that easily, but remember, you can have more frames with the maximum value, this will detect all of them but return frame for the last one

Attached Files


Tomas Slancik
Generalist
Slovakia

#3 Symbolic

Symbolic

    Illusionist

  • Members
  • PipPipPip
  • 486 posts
  • Joined: 20-October 06
  • Location:London
  • Name:Orm Embar

Posted 07 August 2011 - 05:34 AM

Hi anim!
Thanks for the help! Works perfectly. I was just starting to think that I will waste my entire Sunday trying to figure this out and there is no one around to help me. This was a real life saver.

Thanks.
Live life in chunks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users