You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

206 lines
8.2 KiB

<HTML>
<HEAD>
<TITLE>DirectX Media Shell Page</TITLE>
<META NAME="MS-HKWD" CONTENT="Microsoft(r) DirectX(r) media is a set of multimedia tools for the personal computer. Its four components, DirectShow(tm), DirectAnimation(tm), DirectPlay(c), and Direct3D(c) Retained Mode, build on the DirectX family of APIs, and together provide multimedia solutions for almost any application or Web design. DirectShow enables capture and playback of multimedia streams. DirectAnimation provides unified, comprehensive support for animation, streaming, and integration of diverse media types, such as two-dimensional vector graphics, three-dimensional (3-D) graphics, sprites, audio, and video. DirectPlay provides communication services for network applications and makes it easy to connect games over the Internet, a modem link, or a network. Direct3D Retained Mode is a high-level 3-D scene graph manager that gives developers a set of refined resources to manipulate objects and orchestrate entire scenes in 3-D on a personal computer.">
<META NAME="KEYWORDS" CONTENT="ActiveMovie player; filter graphs; cutlists; closed-caption; Line 21; video capture; audio capture; device control; VCR control; multimedia streaming; playback; AVI files, playing; WAV files, playing; MPEG files, playing; DVD support; DirectDrawEx; renderers, video and audio; transform filters, video and audio; codecs; MUX filters; splitters; parsers, video and audio; multimedia; samples, audio and video playback; samples, audio and video capture; animation; Dynamic HTML; multimedia controls; animation controls; windowless controls; JScript, animation; VBScript, animation; Java, animation; C++, animation; Visual Basic, animation; animation samples; samples, animation; behaviors, animation; Sequencer control, animation; Path control, animation; Sprite control, animation; Structured Graphics control, animation; communication services; networking; network applications, writing; client/server sessions; peer-to-peer sessions; Internet security; security; Internet applications; service providers, DirectPlay; lobby providers; system messages, managing; messages, managing; players, managing; games, launching; games, managing; synchronized launching, games; DirectPlay addresses; connection shortcuts, Internet; authentication of Internet users; encryption, messages in DirectPlay; secure sessions; games; 3-D graphics; real-time graphics; 3-D coordinate systems; animation sets; key values; 3-D devices; face, 3-D; vertex, 3-D; frames, 3-D; interpolation; light; materials; textures; meshes; mesh builders; shadows; fog; wraps, texture; viewports, 3-D rendering; z-buffers, Direct3D Retained Mode; DirectX file format; .x file format">
<META NAME="PRODUCT" CONTENT="DirectShow; ActiveMovie; DirectAnimation; Dynamic HTML Multimedia; DirectPlay; Direct3D Retained Mode; Direct3D; DirectX; DirectX media">
<META NAME="CATEGORY" CONTENT="Technical documentation; download; samples">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso8859-1">
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="ROBOTS" CONTENT="all">
<!--@ SNIFF_START -->
<SCRIPT LANGUAGE="JAVASCRIPT">
//<!--
var g_isIE = false, g_isNav = false, g_iMaj = 0, g_sPlat = "";
// common sniffing code
g_sUA = window.navigator.appVersion;
if (parseInt(g_sUA.indexOf("MSIE ")) >= 0) // Check if IE
{
g_isIE = true;
g_iMaj = parseInt(g_sUA.substring(g_sUA.indexOf("MSIE ")+5,g_sUA.indexOf (".",g_sUA.indexOf("MSIE "))));
if (g_sUA.lastIndexOf("Win") >= 0)
g_sPlat = "Win";
}
else if ((parseInt(g_sUA.lastIndexOf("Nav")) >= 0) || (parseInt(g_sUA.lastIndexOf("I)")) >= 0))
{
window.location.href = "shelldx.htm"
g_isNav = true;
g_iMaj = parseInt(g_sUA.substring(0, g_sUA.indexOf('.')));
}
// -->
</SCRIPT>
<!--
<SCRIPT SRC="ver.js"></SCRIPT>
-->
<!--@ SNIFF_END -->
<SCRIPT DEFER SRC="common.js"></SCRIPT>
<SCRIPT>
if (g_isNav == true) {window.location.href = "shelldx.htm"}
if (g_isIE && g_iMaj < 4 ) {window.location.href ="help/shelldx.htm"}
</SCRIPT>
<script language="JavaScript">
var timer, timer2, element, _element;
function setElement(id)
{
_element = element;
element = "slider" + id;
onSlide();
}
function onSlide()
{
window.clearTimeout(timer2);
if (_element && _element != element) {
_onSlideOut();
}
if (!cnt) {
var cnt = window[element].style.posTop;
}
if (cnt > 45) {
window[element].style.zIndex = 1;
window[element].style.posTop = 45;
timer = setTimeout("onSlide()", 1)
}
}
function onSlideOut()
{
window.clearTimeout(timer);
window[element].style.zIndex = -2;
if (!cnt) {
var cnt = window[element].style.posTop;
}
if (cnt < 167) {
window[element].style.posTop = 167;
timer2 = setTimeout("onSlideOut()", 1)
}
}
function _onSlideOut()
{
window[_element].style.zIndex = -2;
if (!cnt) {
var cnt = window[_element].style.posTop;
}
if (cnt < 167) {
window[_element].style.posTop = 167;
timer2 = setTimeout("_onSlideOut()", 1)
}
}
</SCRIPT>
<!--STRIP_END-->
</HEAD>
<BODY BACKGROUND="help/art/bg2.gif" text="#000000">
<DIV align="left" valign="middle">
<TABLE cellpadding=0 cellspacing=0 border=0 height="399">
<TR>
<TD ROWSPAN="5"><IMG SRC="help/art/main2.gif" width="411" height="399" ALT="DirectX Media SDK"></TD>
<TD height="86"><a href="help/da/c-frame.htm#default.htm" TARGET="_top">
<IMG SRC="help/art/s_danrm.gif" width="198" height="86" border="0" ALT="DirectAnimation SDK" onmouseover="this.src='help/art/s_dalt.gif';setElement(1)" onmouseout="this.src='help/art/s_danrm.gif';onSlideOut()"></A></TD>
<TD ROWSPAN="5" valign="bottom">
<DIV ID=slider1 STYLE="position:absolute; z-index:-5; top:167;">
<IMG SRC="help/art/da_sld.gif" width="141" height="147" ALT="DirectAnimation Information">
</DIV>
<DIV STYLE="position:relative; top:0; z-index:10">
<IMG SRC="help/art/plate.gif" width="143" height="240" ALT="Information Plate Cover">
</DIV>
</TD>
</TR>
</TABLE>
<OBJECT ID="DAControl"
STYLE=" position:relative; top:-365; left:-27; width:446; height:374 "
CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">
</OBJECT>
<SCRIPT LANGUAGE="JScript">
<!--
// The DirectAnimation library
m = DAControl.PixelLibrary;
/* -- Insert your code here --*/
mediaBase = "help/art/";
glowBase = m.importImage(mediaBase + "glow.gif");
xImage = m.importImage(mediaBase + "lgtransx.gif");
xImage = xImage.Transform(m.Translate2(-30,24));
glowPath1 = m.Polyline( new Array( 315,90, 189,90, 155,126, 155,234, 515,235, 515,174, 528,174, 553,203, 576,203 ) );
glowPath2 = m.PolyLine( new Array( 318,95, 318,166, 352,203, 510,203, 510,166, 533,166, 557,195, 565,195, 565,122, 579,122 ) );
glowPath3 = m.PolyLine( new Array( 318,89, 437,89, 505,159, 553,159, 553,41, 580,41 ) );
glowPath4 = m.PolyLine( new Array( 318,89, 318,12, 341,12, 406,77, 470,77, 518,125, 518,150, 540,150, 540,-36, 577,-36 ) );
glowPath5 = m.PolyLine( new Array( 318,81, 157,81, 157,-6, 348,-6, 410,58, 530,58, 530,-114, 579,-114 ) );
glow1 = glowBase.Transform( moveGlow( glowPath1, 7 ) );
glow2 = glowBase.Transform( moveGlow( glowPath2, 8 ) );
glow3 = glowBase.Transform( moveGlow( glowPath3, 6 ) );
glow4 = glowBase.Transform( moveGlow( glowPath4, 8 ) );
glow5 = glowBase.Transform( moveGlow( glowPath5, 6 ) );
finalImg = m.Overlay(xImage, m.Overlay( glow5, m.Overlay( glow4,
m.Overlay( glow3, m.Overlay( glow2, glow1)))));
// set the model, an image, as the model to be displayed
DAControl.Image = finalImg
// set the background in case of a non-windowless browser (like IE3)
DAControl.BackgroundImage = m.SolidColorImage(m.Blue);
// start the animation
DAControl.Start()
function moveGlow(path, speed) {
imDimX = 702;
imDimY = 120;
coordsXf = m.Translate2(-imDimX/2, -imDimY/2);
path = path.Transform(coordsXf);
return xf = m.FollowPath(path, speed).RepeatForever();
}
//-->
</SCRIPT>
</DIV>
<DIV STYLE="position:absolute; z-index:-5; top:500;">
<CENTER>
<p><a href="http://www.microsoft.com/misc/cpyright.htm" target="_top" class="cpslug"><font
color="#006600" size="1" face="MS SANS SERIF">&copy; 1998 Microsoft
Corporation. All rights reserved. Terms of use.</font></a><font
color="#006600" size="1" face="MS SANS SERIF"> </font><br
clear="all">
</CENTER>
</DIV>
</BODY>
</HTML>