[x3d-public] [x3d] GeoPositionInterpolator with GeoViewpoint, type conversionin X3DJSAIL????

yottzumm at gmail.com yottzumm at gmail.com
Wed May 10 06:29:22 PDT 2017

Oh really?  How many viewers implement geovalue_changed, or how do I access it?

See attached code which passes X3D-Edit validation, and X3DJSAIL validation, but animation of viewpoint only happens when I convert to value_changed!

geobubbles execution self-validation test results: success

The only clue I have is an Unexpected Exception in X3d-Edit:

Unknown field name: centerOfRotation for node: GeoViewpoint Line: 13 Column: 175.  Will look at more logs as well.

And I still get it when I remove it from the file.  Netbeans is stuck.  I will reboot.

Report back later


Sent from Mail for Windows 10

From: Don Brutzman
Sent: Monday, May 8, 2017 3:10 AM
To: yottzumm at gmail.com; X3D Graphics public mailing list; x3d at web3d.org
Subject: Re: [x3d] GeoPositionInterpolator with GeoViewpoint, type conversionin X3DJSAIL????

GeoPositionInterpolator has two output fields:  SFVec3f value_changed and SFVec3d geovalue_changed

Thus no conversion needed.



On 5/7/2017 6:55 AM, yottzumm at gmail.com wrote:
> What do I do if I want to use GeoPositionInterpolator with GeoViewpoint?
> The GeoPosititionInterpolator.value_changed is of type SFVec3f and
> The GeoViewpoint.set_position is of type SFVec3d.
> Are the types convertible (in X3DJSAIL)?  Would I write a Script to convert?
> Thanks!
> John

all the best, Don
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170510/62a987cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geobubbles.x3d
Type: application/octet-stream
Size: 4136 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170510/62a987cc/attachment.obj>

More information about the x3d-public mailing list