[X3D-Public] Tabletop / Achsen nur drehen

Bederov, Sergey bederov at cortona3d.com
Mon May 13 02:10:00 PDT 2013


Martin,

Speaking about “rotation modes”, do you mean the SFRotation data format describing how an object’s orientation differs from its original orientation, or do you mean a user interface allowing the user to rotate objects in 3D using the mouse?

                                                      Sergey Bederov


From: X3D-Public [mailto:x3d-public-bounces at web3d.org] On Behalf Of Martin Huwa
Sent: Friday, May 10, 2013 2:38 PM
To: x3d-public; x3dom-users at lists.sourceforge.net; x3dom-developers at lists.sourceforge.net
Subject: Re: [X3D-Public] Tabletop / Achsen nur drehen

but there are some specific rotation modes in x3dom.js but not axis locking?

still got no respone? =(
Gesendet: Samstag, 04. Mai 2013 um 21:52 Uhr
Von: "Michalis Kamburelis" <michalis.kambi at gmail.com>
An: "Martin Huwa" <martin.huwa at gmx.de>
Cc: x3d-public <x3d-public at web3d.org>
Betreff: Re: Aw: Re: [X3D-Public] Tabletop / Achsen nur drehen
Martin Huwa wrote:
> but there are some specific rotation modes in x3dom.js but not axis locking?
>

(Remember to do "reply all" to reply also to the x3d-public mailing list. :)

X3DOM is something more specific than just X3D. It seems (reading
http://x3dom.org/docs/dev/nodes/index.html ) that indeed X3DOM doesn't
support CylinderSensor. Anyway, you can use Transform node to do
rotations, and I guess it's up to your scripts to keep the particular
rotation axis locked. "Transform.rotation" field is just 4 floating
point values: axis + angle, so just keep the axis constant and you're
good :)

If this doesn't help, I think we may need more information about what
you're trying to do.

I'm also not an expert on X3DOM, so I'll leave others to eventually
clarify CylinderSensor support X3DDOM.

Regards,
Michalis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20130513/340c1e48/attachment.html>


More information about the X3D-Public mailing list