[x3d-public] Playback controller

Mike McCann mccann at mbari.org
Thu Mar 19 16:54:11 PDT 2015


Thanks everyone for your suggestions. 

Leonard's advice on having a custom Script node generate the fraction_changed events for the interpolators was the key for getting it to work. A bit of clever programming was needed to merge input from a TimeSensor. 

Max's suggestion will come in handy when I need to do this in x3dom.

I could not get the DVDControllerPrototype from the SAVAGE X3D Examples Archives to work in InstantReality player.

I feel that making a playback controller would be a lot easier if TimeSensor had a set_fraction Input field.

-Mike

--
Mike McCann
Software Engineer
Monterey Bay Aquarium Research Institute
7700 Sandholdt Road
Moss Landing, CA 95039-9644
Voice: 831.775.1769  Fax: 831.775.1736 http://www.mbari.org

On Mar 18, 2015, at 4:42 PM, Mike McCann <mccann at mbari.org> wrote:

> Hello,
> 
> I have an hour's worth of platform orientation data that I can play back with a TimeSensor. I'd like to give the viewer a slider to be able to "scrub" through the data.
> 
> I can route in a PlaneSensor to control the OrientationInterpolators, but when the PlaneSensor is not active the TimeSensor resumes with its value not being changed.
> 
> What I'd like to do is to route a value into a 'set_fraction' field of TimeSensor, but that is not in the X3D specification.
> 
> Are there any other ideas on how to accomplish this? (I'd think that this would be a common use case: basically a video playback controller for any sort of time dependent data.)
> 
> -Mike
> 
> --
> Mike McCann
> Software Engineer
> Monterey Bay Aquarium Research Institute
> 7700 Sandholdt Road
> Moss Landing, CA 95039-9644
> Voice: 831.775.1769  Fax: 831.775.1736 http://www.mbari.org
> 
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20150319/0bb3708c/attachment.html>


More information about the x3d-public mailing list