Welcome to the Beta 1 SDK of DirectX Media for Animation!
Requirements, Dependencies and Installation
DirectX Media for Animation is an API that enables different types of multimedia content to be tightly integrated and deployed, associating the media pieces with a timeline and user events. This technology allows developers to concentrate on putting together content, without having to worry about the underlying techonologies or APIs. The technology provides a content centric view of the development process, where the emphasis is on how the different media behave and interact with each other, and the end user. DirectX Media for Animation is based on COM and is accessible through Java classes. The supported media types are as follows:
2D images (bmp, GIF, and JPEG files)
3D models (.X and VRML files)
Sounds (wave and MIDI files)
Movies (avi, MPEG, mov files)
Text (serif, sans serif, and monospaced)
One of the key DirectX Media for Animation classes is the Behavior Class. Different types of media are incorporated into the animation by encapsulating them as DirectX Media for Animation Behavior objects. In turn, Behavior objects can be used interchageably, and have a number of methods applied to them, independent of the media type that they are encapsulating. Of course, one can still access methods that are specific to the different types of Behaviors, based on the type of media.
For the Beta 1 release, we are concentrating on Java developers. Future releases will provide VisualBasic and Visual C++ support. However, if you are familiar with COM, you don't have to wait for us to release wrappers or convenience functions for the other languages. You can access DirectX Media for Animation from any language directly through COM, once you become familiar with how our API works.
The minimum requirements in order to run DirectX Media for Animation applications and content are as follows:
DirectX Media for Animation relies on certain technologies for basic functionality. We have enclosed the technologies for which we need specific release versions in the Extras folder. These technologies are listed below:
If you did not receive this package as part of the Java SDK 2.0, then you also need to install a version of the Java VM that is newer than build 1515. Note that if you install Internet Explorer 4.0 Beta 1 at a later time, you will need to re-install the Java VM. Please note that the components in the Extras folder are intended for your development usage and not for re-distribution.
If you get a java.lang.SecurityException message when trying to run our demos, you need to re-run just the DirectX Media for Animation installation. There is a known bug whereby if you install a Java VM after installing DirectX Media for Animation, the path to the DirectX Media for Animation classes is removed from the registry (this would happen also if you install any other package that installs a Java VM, IE 4.0 Beta 1 for example).
The Direct X Media for Animation Java classes are dependent on version of the Java VM newer than build 1515, such as the one enclosed with the Java SDK 2.0.
The Beta 1 release has not been tunned for performance.
The API is close to its final form. A few classes may have changes to their methods in upcoming releases.
We used Microsoft Visual J++ 1.0 to author the samples.
There is an error throughout the documentation where DirectX Media for Animation is referred to only as DirectX media.
In order to use DirectX Media for Animation content within Netscape's Navigator, follow these instructions:
Microsoft has made a plug-in available to users of Netscape Navigator 2.02 and 3.0 which allows them to make use of the Microsoft Java VM. Netscape Communicator is not yet supported because of changes made to the plug-in interface. It is important to note that this plug-in does not replace the Netscape java VM, but it does provide access to the MS VM through the use of the <embed> tag. To get an applet up and running under Netscape follow, these simple steps:
1) Get the plug-in from the 1.5 Java SDKand place it in your Navigator\Program\Plugins directory.
2) Install the required MS Java virtual machine, if you haven’t already.
3) Change the applet tag in your source html from this:
<applet code="foo.class" width=100 height=100></applet>
To this: <embed src="foo.class" width=100 height=100>
Note - when using IE 4.0 Beta 1, you may experience problems loading the Flying Cubes and Encarta demos/samples, in relation to loading MIDI files.
This is a list of current problems. Some of them have already been fixed and those fixes will appear in upcoming releases.
General
Graphics
Audio
3D
Development questions, and feature requests- dxmabeta@microsoft.com.
Bugs should be reported to dxmabug@microsoft.com.
Business opportunities, for those developing tools or content based on DirectX Media for Animation - dxmabus@microsoft.com.
A newsgroup has been setup to discuss DirectX Media for Animation issues. The NNTP server is msnews.microsoft.com and the newsgroup is microsoft.public.dxmanimation.