<div>Hey Don:</div>
<div> </div>
<div>I think it might look like this:</div>
<div> </div>
<div>SFBool   InputOutput   enabled    // typical Sensor Node field</div>
<div>SFVec3f    outputOnly    acceleration_changed    // the acceleration vector, in Gs.</div>
<div> </div>
<div>Simple enough?</div>
<div> </div>
<div>One simple example usage:</div>
<div>Then just Route that into a Script, do an atan2( accel.y, accel.x ) to get an angle.</div>
<div>SetOrientation(  0,0,1, atan2( ... ) )</div>
<div> </div>
<div>Set the orientation of a Transform that is inside a Billboard, and the content will remain plum as you rotate the device around.</div>
<div> </div>
<div>Keith Victor</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Nov 18, 2009 at 6:36 AM, Don Brutzman <span dir="ltr">&lt;<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dave wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Be careful about culling the spec to fit the hardware. By the time<br>you&#39;re done, the hardware will be<br>
at least twice as good as it currently is.<br></blockquote><br>yup.   i think we&#39;ve done OK on that score.  i haven&#39;t seen any proposed<br>spec changes that were motivated by hardware improvements (or anachronisms).<br>
<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Please add Accelerometer environment sensor, if such sensor make the cut.<br></blockquote><br>interesting, great idea Dave!  got proposal?  for starters we just need<br>
a node signature to define fields and some simple explanatory prose on<br>how it works.  an little chunk of example scene would also be helpful.<br><br>FYI there was a way cool demo at the W3C Tech Plenary TPAC meeting<br>
by the head of the Cascading Style Sheets (CSS) group + &quot;CSS Strike Force.&quot;<br>He moved his laptop around to drive a car game as a web application.<br>Apparently they were able to reach all the way down from the web browser<br>
to the hardware, where there was no special configuration but rather<br>simply reading an accelerometer that already comes with the hard disk<br>(to prevent crashes when moving around).  so we should expect that the<br>accelerometer information will be widely available on almost every<br>
platform, not just mobile devices.<br><br><a href="http://ajaxian.com/archives/firefox-trunk-accelerometers-webgl-and-css-transitions" target="_blank">http://ajaxian.com/archives/firefox-trunk-accelerometers-webgl-and-css-transitions</a><br>
<a href="http://people.mozilla.com/~prouget/demos/resources/videos/mozOrientation.ogv" target="_blank">http://people.mozilla.com/~prouget/demos/resources/videos/mozOrientation.ogv</a><br><br><a href="http://www.w3.org/2009/11/04-tpac-minutes.html#glazou" target="_blank">http://www.w3.org/2009/11/04-tpac-minutes.html#glazou</a><br>
<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Daniel Glazman (Disruptive Innovations): The End of the Beginning<br><br>&lt;arun&gt; Note that glazou is tilting his screen<br>
<br>Daniel Glazman: demos of rotating cube, tilt detector [&quot;level&quot;] application (in 15 lines of code) and a game done is SVG that is in Canvas. Very simple<br>... &quot;font dragr&quot; to test new fonts<br><br>
Henry Thompson: The box you were holding has an accelerometer, right?<br><br>Daniel Glazman:Yes. All laptops have accelerometers in their hard disk drives to handle shocks.<br><br>Judy Brewer: How was the accessibility?<br>
<br>Daniel Glazman: I don&#39;t know.<br><br>&lt;IanJ&gt; [Reminder: feedback form, thanks!: <a href="http://www.w3.org/2002/09/wbs/35125/tpac2009-feedback/" target="_blank">http://www.w3.org/2002/09/wbs/35125/tpac2009-feedback/</a>]<br>
<br>Judy Brewer: It looks neat. It would be great if the accessibility support right from the beginning. Can we be sure we can get you hooked up with the right people to help with that.<br><br>Chaals: the accessibility are in the hardware APIs, the hardware knows when it is working. We have to work on how we make that an acessible application (by making things like canvas accessible)<br>
<br>&lt;IanJ&gt; [Applause]<br></blockquote><br>all the best, Don<br>-- <br>Don Brutzman  Naval Postgraduate School, Code USW/Br           <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>Watkins 270   MOVES Institute, Monterey CA 93943-5000 USA  work +1.831.656.2149<br>
X3D, virtual worlds, underwater robots, XMSF  <a href="http://web.nps.navy.mil/~brutzman" target="_blank">http://web.nps.navy.mil/~brutzman</a><br><br><br>_______________________________________________<br>X3D-Public mailing list<br>
<a href="mailto:X3D-Public@web3d.org" target="_blank">X3D-Public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div><br>