• 大小: 41.84M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: Directx  文字  实例  C#  c  

资源简介

最近对Directx有兴趣了,C#操作Diretcx资料太少了。这个例子显示3D动态文字的同时显示动态背景图同时一个3D动画同时播放视频。

更多资料关注我的博客:http://www.cnblogs.com/qiaoke/

资源截图

代码片段和文件信息

using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX.AudioVideoPlayback;
using Gosub;


namespace DxControl
{
public partial class SampleForm : Form
{

AutoMesh  mJeremyMesh;
Vector3  mJeremyMeshCenter;
float  mJeremyMeshRadius;
AutoMesh  mCubeMesh;
AutoTexture  mGosubTexture;
AutoVertexBuffer mSquareVB;
        Color32 mBackgroundColor = Color.SteelBlue; //背景色
        private Video ourVideo = null;

        public SampleForm()
{
InitializeComponent();
}

public void GenerateAlp

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     62976  2017-02-05 13:19  DxControlV11\.vs\DxControl\v14\.suo

     文件   38695244  2017-01-05 21:36  DxControlV11\DxControl\bin\Debug\1.avi

     文件     485208  2016-11-19 13:37  DxControlV11\DxControl\bin\Debug\1.png

     文件    3135256  2016-12-27 16:15  DxControlV11\DxControl\bin\Debug\abc.mp3

     文件    2388176  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\d3dx9_30.dll

     文件      69632  2017-02-05 13:20  DxControlV11\DxControl\bin\Debug\DxControl.exe

     文件     140800  2017-02-05 13:20  DxControlV11\DxControl\bin\Debug\DxControl.pdb

     文件      21688  2017-02-05 12:01  DxControlV11\DxControl\bin\Debug\DxControl.vshost.exe

     文件        490  2016-07-16 19:44  DxControlV11\DxControl\bin\Debug\DxControl.vshost.exe.manifest

     文件      68096  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.AudioVideoPlayback.DLL

     文件     577024  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.Direct3D.DLL

     文件     578560  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.Direct3DX.dll

     文件     179712  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.DirectInput.DLL

     文件     213504  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.DirectSound.DLL

     文件     244224  2015-01-26 14:06  DxControlV11\DxControl\bin\Debug\Microsoft.DirectX.DLL

     文件    2388176  2015-01-26 14:06  DxControlV11\DxControl\d3dx9_30.dll

     文件       2859  2017-02-05 12:31  DxControlV11\DxControl\DirectXControl\AutoIndexBuffer.cs

     文件       9338  2017-02-05 12:34  DxControlV11\DxControl\DirectXControl\AutoMesh.cs

     文件       8339  2017-02-05 12:36  DxControlV11\DxControl\DirectXControl\AutoTexture.cs

     文件       2172  2017-02-05 12:37  DxControlV11\DxControl\DirectXControl\AutoVertexBuffer.cs

     文件       4053  2017-02-05 12:38  DxControlV11\DxControl\DirectXControl\Color32.cs

     文件      13485  2017-02-05 12:41  DxControlV11\DxControl\DirectXControl\D3DEnumeration.cs

     文件      42484  2017-02-05 12:46  DxControlV11\DxControl\DirectXControl\D3DSettingsForm.cs

     文件      21257  2017-02-05 13:16  DxControlV11\DxControl\DirectXControl\Direct3d.cs

     文件       3317  2017-02-05 13:17  DxControlV11\DxControl\DirectXControl\Vertices.cs

     文件       8690  2017-02-05 12:01  DxControlV11\DxControl\DxControl.csproj

     文件       7821  2017-02-05 13:18  DxControlV11\DxControl\FormSample.cs

     文件       2912  2017-02-05 13:18  DxControlV11\DxControl\FormSample.Designer.cs

     文件       5814  2017-02-05 13:18  DxControlV11\DxControl\FormSample.resx

     文件      68096  2015-01-26 14:06  DxControlV11\DxControl\Microsoft.DirectX.AudioVideoPlayback.DLL

............此处省略36个文件信息

评论

共有 条评论