[Mp4-tech] dragsensors in xmt-o

Patrick Schuchardt PatrickSchuchardt gmx.de
Sun Jul 18 17:43:21 EDT 2004


Hello,
I am working on a XMT-O Project(first in 2d, then I will convert to 3D). I
need for interaction some drag sensors.
In xmta i know the syntax , but in xmto...?
I want to activate an object by click, it should follow the mouse and on
mouseup the object have to be deactivated in the new position.
translation by mouse.
very simple example of my program:
<body>
		<par>
	<rectangle id="plane" size="300 300" dur="indefinite">
				<transformation translation="0 0">
				</transformation >
                             //INSERT DRAG PLANE HERE?
				<material color="blue" filled="true">
				</material>
			</rectangle>
			<rectangle id="F" size="40 40" dur="indefinite">
				<transformation translation="0 0">
				<set attributeName="translation" begin="?" to="?" 
                          end="?"
				</transformation >
				<material color="red" filled="true">
				</material>
			</rectangle>
		</par>
	</body> 
If its not possible to do this,I will insert a xmta part in this xmto file.
Are there any other docs/tuts about xmt-o (I ve got mpeg-4 jumpstart, the
IBM examples and the xmt appendix of the mp4 ISO) 
Thanks


More information about the Mp4-tech mailing list