[x3d-public] PlaneSensor x_changed output event
doug sanden
highaspirations at hotmail.com
Wed Sep 7 15:35:10 PDT 2016
Somewhat related: proposed PointSensor node
I found LineSensor (not in specs, did as experiment) would do some of the work of PlaneSensor > trackpoint_changed for dragging axis handles. And extrapolating from that when playing with a X3DConnector prototype, I thought there should be a PointSensor node. Then you don't need trackpoint changed because the main output from PointSensor would be doing that job, except more explicitly and reliably.
http://dug9.users.sourceforge.net/web3d/tests/JohnCarlson/x3dconnector.x3d
- problem with planesensor: for general 3D sensing, as you move around the object to drag from an orthogonal axis, you could be looking edge-on at the planesensor. Similar to problem dragging axes handles with planesensor, solved with LineSensor.
________________________________________
From: x3d-public <x3d-public-bounces at web3d.org> on behalf of Yves Piguet <yves.piguet at gmail.com>
Sent: September 7, 2016 4:05 PM
To: X3D Graphics public mailing list
Subject: [x3d-public] PlaneSensor x_changed output event
Hi,
I'm investigating ways to simplify scenes. To avoid some scripts, I propose to add scalar output events to PlaneSensor: in addition to its existing trackPoint_changed and translation_changed output events, it would also have x_changed and y_changed, of type SFFloat. Likewise an SFFloat angle_changed could be added to CylinderSensor.
What do you think?
Yves
_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org
More information about the x3d-public
mailing list