• 大小: 5.32M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: winform  Directx  FORM  wpf  ORM  

资源简介

winform 图像较小时,比较流畅,较大时比较卡,可以采用gpu库(Cudafy、Hybridizer、Accelerating、Gpu.Net等等)修改代码。 测试6幅图像
Directx图像顺畅,使用directx9,如需移植,注意app.config文件内容。测试24幅图像

Wpf图像顺畅,各种样式,代码灵活方便。

不能调试运行,请点击exe运行,如有错误,自行修正


winform:6幅图像


Directx:24副图像



Wpf:




代码片段和文件信息

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX.DirectInput;
using System.Threading;

namespace DirectX_Tutorial
{
    public partial class Form1 : System.Windows.Forms.Form
    {
        private Microsoft.DirectX.Direct3D.Device device;

        float zoom = 20.0f;
        float x = 0;
        float y = 0;
        float z = 20;
        int degrees = 0;
        int degreesY = 30;
        int numberOfFaces = 6;

        private VertexBuffer vertexBuffer = null;
        private Texture[] texture = new Texture[46];

        private int currentTextureLoadingStatus = 0;

        enum textureGr

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

    ..A..H.     90624  2019-08-19 14:46  Wpf\sourceCode\Thriple\.vs\Thriple\v15\.suo

     文件          0  2019-08-19 07:51  Wpf\sourceCode\Thriple\.vs\Thriple\v15\Server\sqlite3\db.lock

     文件     815104  2019-08-19 14:45  Wpf\sourceCode\Thriple\.vs\Thriple\v15\Server\sqlite3\storage.ide

     文件      32768  2019-08-19 14:46  Wpf\sourceCode\Thriple\.vs\Thriple\v15\Server\sqlite3\storage.ide-shm

     文件       4152  2019-08-19 14:45  Wpf\sourceCode\Thriple\.vs\Thriple\v15\Server\sqlite3\storage.ide-wal

     文件        305  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\App.xaml

     文件        305  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\App.xaml.cs

     文件    1552896  2019-08-19 14:46  Wpf\sourceCode\Thriple\ContentControl3D_Demo\bin\Debug\ContentControl3D_Demo.exe

     文件      87552  2019-08-19 14:46  Wpf\sourceCode\Thriple\ContentControl3D_Demo\bin\Debug\ContentControl3D_Demo.pdb

     文件      50176  2019-08-19 14:46  Wpf\sourceCode\Thriple\ContentControl3D_Demo\bin\Debug\Thriple.dll

     文件      99840  2019-08-19 14:46  Wpf\sourceCode\Thriple\ContentControl3D_Demo\bin\Debug\Thriple.pdb

     文件       9009  2019-08-19 14:45  Wpf\sourceCode\Thriple\ContentControl3D_Demo\ContentControl3D_Demo.csproj

     文件        257  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\ContentControl3D_Demo.csproj.vspscc

     文件       2974  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\DemoWindow.xaml

     文件        176  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\DemoWindow.xaml.cs

     文件        106  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\ISample.cs

     文件       2314  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Properties\AssemblyInfo.cs

     文件       2239  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\AnimationLengthSample.xaml

     文件        486  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\AnimationLengthSample.xaml.cs

     文件       2088  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample.xaml

     文件       4283  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample.xaml.cs

     文件       2612  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample_BackView.xaml

     文件        679  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample_BackView.xaml.cs

     文件        635  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample_FrontView.xaml

     文件        682  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BindingToViewModelSample_FrontView.xaml.cs

     文件       1623  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BringIntoViewSample.xaml

     文件       1184  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\BringIntoViewSample.xaml.cs

     文件       4074  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\ContentTemplatesSample.xaml

     文件        564  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\ContentTemplatesSample.xaml.cs

     文件       2171  2017-12-19 12:59  Wpf\sourceCode\Thriple\ContentControl3D_Demo\Samples\DirectContentSample.xaml

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

评论

共有 条评论