From: Mike M. <mc...@mb...> - 2016-02-01 23:18:05
|
Hi Leonard, You are correct, the answers are both yes. It's okay to take the discussion to x3d-public. -Mike > On Feb 1, 2016, at 12:21 PM, Leonard Daly <Leo...@re...> wrote: > > Mike, > > I am trying to clarify (for me) what exactly you mean. I think this is a potentially very interesting question. > > Is this a slider that indicates the fractional position of the animation loop? If not, please explain further. > > If so, is the intent to be able to control where in the loop the is the fractional counter -- much like a audio or video marker in YouTube or NetFlix? > > > So assuming both are yes... > Warning 1: I've done some X3D -> HTML -> X3D connections, but it hasn't been for a little bit. I may not have all of the details correct. > Warning 2: For these new nodes (Animate & Interpolate), I have not tried to get all of the desired fields (including output ones) correct. It may not work as fully intended. > > X3D -> HTML > ROUTES do not work this direction. It would necessary to generated an DOM event to capture the current fractional time. I believe that attribute to use is 'oneventoutput' or 'oneventchange' (don't quite remember, and it's not documented, Yvonne told me about it). This would work for moving a pointer on the scale. > > The control from HTML -> X3DOM to change the time is not implemented. The mechanism would be to use the setAttribute X3D node method; however, TimeSensor is a generator of events (except for a few control events) and has no input event like that. I could see several ways that this could work and the idea is worthy of much further discussion. If it's OK with you, I would like to have this discussion on x3d-public as this seems to me to be a V4 topic. It looks like it requires an input event something akin to 'set_fractionalTime' to reset the internals. There are a few issues that would need to be resolved and I think that list would be good for it. > > > Leonard Daly > > > > > >> Hi Leonard, >> >> Thanks for putting this out for discussion! >> >> Suppose I wanted to link up an HTML slider to indicate and control the animation. How would that be done? >> >> -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 Feb 1, 2016, at 9:24 AM, Leonard Daly <Leo...@re...> wrote: >>> >>>> On 2/1/2016 2:04 AM, Max Limper wrote: >>>> Hey, cool - congratulations Leonard! >>>> >>>> The example code looks very clean and interesting. >>>> I guess having such an example will greatly facilitate discussion about this topic, regarding X3D V4. >>> >>> Thanks, Max. I was inspired by the code that already was there. >>> >>> >>>> >>>> Regarding your contribution: Is there anything in particular that you would like to see documented for future X3DOM contributors (since it was hard to understand)? >>> >>> I'll write up what I learned with some documentation. It will be more of a tutorial and internals documentation. The part that took me the longest to figure out and comprehend is how to access a node from the one currently being processed -- 'this' in the node routines. I'm sure there will be more in the future. >>> >>> My biggest change from V3 content is to replace the ROUTE statements with parent/child Animate and Interpolate (eliminates 1 ROUTE), and Interpolate identifying the destination (eliminates 2nd ROUTE). This was done because prior work had indicated that the creation of an event (which ROUTE does), consumes a lot of resources. I'm not against ROUTEs, but I felt they were heavy for something that needs to happen frequently on short time intervals (e.g., Animation). >>> >>> This idea separates into using ROUTEs as triggers, and direct updates for animation. >>> >>> What do people think? >>> >>> >>> Leonard Daly >>> >>> >>>> >>>> Best, >>>> Max >>>> >>>> >>>>> On 01.02.2016 05:03, Leonard Daly wrote: >>>>> Mission Accomplished! Thanks to everyone who offered suggestions, including Andreas Plesch, Max Limper, and others. >>>>> >>>>> I have written a new node for X3DOM. The node is a functional replacement for TimeSensor, interpolators, and ROUTE. The example is at http://tools.realism.com/Basx3D/x3dom/x3dom/test/V4/Animate.html >>>>> >>>>> The preliminary documentation is for Animate and Interpolate at http://tools.realism.com/specification/x3d-v40/changes-additions-x3d-v33. These nodes are for X3D V4 to test various ideas for workflow compatibility and performance in a DOM environment. >>>>> >>>>> Comments and suggestions for improving the design (or implementation are welcome. The source for these nodes is at >>>>> Animate: http://tools.realism.com/Basx3D/x3dom/x3dom/src/nodes/Time/Animate.js >>>>> Interpolate: http://tools.realism.com/Basx3D/x3dom/x3dom/src/nodes/Interpolation/Interpolate.js >>>>> >>>>> I will also start to document various structures of X3DOM. >>>>> >>>>> -- >>>>> Leonard Daly >>>>> X3D Co-Chair >>>>> Cloud Consultant >>>>> President, Daly Realism - Creating the Future >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>>>> Monitor end-to-end web transactions and take corrective actions now >>>>> Troubleshoot faster and improve end-user experience. Signup Now! >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >>>>> >>>>> >>>>> _______________________________________________ >>>>> x3dom-developers mailing list >>>>> x3d...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/x3dom-developers >>>> >>>> -- >>>> Dipl.-Inform. Max Limper >>>> >>>> Visual Computing System Technologies >>>> Fraunhofer-Institut für Graphische Datenverarbeitung IGD >>>> Fraunhoferstraße 5 | 64283 Darmstadt >>>> Phone: +49 6151 155-554 | Fax: -196 >>>> max...@ig... >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>>> Monitor end-to-end web transactions and take corrective actions now >>>> Troubleshoot faster and improve end-user experience. Signup Now! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >>>> >>>> >>>> _______________________________________________ >>>> x3dom-developers mailing list >>>> x3d...@li... >>>> https://lists.sourceforge.net/lists/listinfo/x3dom-developers >>> >>> >>> -- >>> Leonard Daly >>> 3D Systems & Cloud Consultant >>> X3D Co-Chair on Sabbatical >>> LA ACM SIGGRAPH Chair >>> President, Daly Realism - Creating the Future >>> ------------------------------------------------------------------------------ >>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>> Monitor end-to-end web transactions and take corrective actions now >>> Troubleshoot faster and improve end-user experience. Signup Now! >>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________ >>> x3dom-developers mailing list >>> x3d...@li... >>> https://lists.sourceforge.net/lists/listinfo/x3dom-developers >> >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> >> >> _______________________________________________ >> x3dom-developers mailing list >> x3d...@li... >> https://lists.sourceforge.net/lists/listinfo/x3dom-developers > > > -- > Leonard Daly > 3D Systems & Cloud Consultant > X3D Co-Chair on Sabbatical > LA ACM SIGGRAPH Chair > President, Daly Realism - Creating the Future > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > x3dom-developers mailing list > x3d...@li... > https://lists.sourceforge.net/lists/listinfo/x3dom-developers |