|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
| Detect when play button is engaged?
|
|
|
Hello,
Does anyone know of a way to check when the play button is engaged? I know using the Play Control we can get info about the frame rate, current frame etc.
I need to access this information inside a custom ICE node, i.e. when the play button is hit function A fires, when playback stops function B fires.
Any help appreciated :)
|
|
|
|
AFAIK, it’s not possible, and it looks dangerous… for what would you need a such thing?
|
|
|
|
I need to stop playing an audio file in my custom ICE node.
I’ve got the audio file to start playing at the correct offset using Play Control’s ‘current frame’ and the ICE nodes beginEvaluate callback. But I can’t figure out a good way to stop the audio playback.
I wish ICE nodes had a Notify callback just like the Custom Display Host. That would make life simpler.
I’m open to all ideas :)
|
|
|
|
Do you really need to play your audio file within an ICE tree?
I mean, there is a built-in method for playing sounds while playing the animation.
Go to the Animation Mixer, create a new audio track, import a sound file, and here you are.
You can even show the curves of you audio file within the timeline to help you syncing some actions with the audio. Right click on the timeline, and choose your audio clip from the menu.
Cheers.
|
|
|
|
I am infact using an audio track in the Animation Mixer for aural feedback, but I’m driving point clouds based on the audio file loaded in a custom ICE node.
Using the animation mixer adds another step from the user point of view. However, I will probably continue to use the Animation mixer as it saves me coding hassle :)
|
|
|
|
|
|