Heilan X3D Browser

Ashitaka2

Type

ChildNode.

Description

The second (and current) attempt at my Ashitaka audiovisual instrument, which I'm currently developing for my PhD. I don't know how easy it is to play it without the custom interface I've built for it...

Attributes

length SFFloat (input) The lengthwise potentiometer on the interface.

twist SFFloat (input) The rotational potentiometer on the interface.

force1 SFFloat (input) The 1st force sensor on the interface.

force2 SFFloat (input) The 2nd force sensor on the interface.

force3 SFFloat (input) The 3th force sensor on the interface.

force4 SFFloat (input) The 4th force sensor on the interface.

accelX SFFloat (input) The x-axis accelerometer on the interface.

accelY SFFloat (input) The y-axis accelerometer on the interface.

accelZ SFFloat (input) The z-axis accelerometer on the interface.

split1 SFBool (input) Splits a PulsatingGO off the main PlanetGO when a TRUE value is received.

Example Use

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE X3D>
<X3D profile='Full'>
	<Scene>
		<NavigationInfo type='ANY' headlight='FALSE'/>

		<Ashitaka2 DEF='bob'/>

		<!--This stuff lets you split off new GOs using the number keys.-->
		<KeySensor DEF='keyS'/>
		<KeyTrigger DEF='keyT'/>
		<ROUTE fromNode='keyS' fromField='isActive' toNode='keyT' toField='set_activeVal'/>
		<ROUTE fromNode='keyS' fromField='keyPress' toNode='keyT' toField='set_key'/>
		<ROUTE fromNode='keyS' fromField='keyRelease' toNode='keyT' toField='set_key'/>
		<ROUTE fromNode='keyT' fromField='1_changed' toNode='bob' toField='split1'/>
	</Scene>
</X3D>