转:Delta3D Editor编译成功

下载:
     官网 www.delta3d.org 有些地方访问不了(试试这个代理:133.1.74.163 3128),我在公司就访问不了,但是住的地方就可以。但是sourceforge是可以访问的。

     http://sourceforge.net/projects/delta3d/
       
     源码: dt_win32_2.0.0.zip 
     依赖: dt_dep_vs8.0_xp_2.0.0.zip  (xp上有编译好的第三方库,vista上就惨了,我的本本就装了个安装版的,只用来学习用法,没法调试)

设置:
     1.把依赖文件解压到delta3d对应的文件夹里
     2.设置环境变量:

DELTA_ROOT = "C:\Program Files\delta3d"  (or wherever Delta3D is installed)
DELTA_INC = %DELTA_ROOT%\inc;%DELTA_ROOT%\ext\inc;%DELTA_ROOT%\ext\inc\CEGUI
DELTA_LIB = %DELTA_ROOT%\lib;%DELTA_ROOT%\ext\lib
DELTA_DATA = %DELTA_ROOT%\data

And, of course, add %DELTA_ROOT%\bin;%DELTA_ROOT%\ext\bin to your PATH. 

    3.Qt的编译我就不说了。我机子上装的是4.3.0 commercial version.
编译:

    打开delta3d\VisualStudio\utilities\STAGE\dtEditQt_2005.sln开始build吧!那个dtChar的error行注释掉好了。

    注意:不要把代码放在移动硬盘上,否则可能会出问题,我遇到了,编译出来的exe一运行就报错。
截图:
    

File->Change Project 设定路径







########################################
# Delta3D: The Open-Source Game Engine #
########################################

Welcome to Delta3D ! We hope to get you up and running with Delta3D as
quickly as possible. If you only wish run pre-built applications and have
already used the Windows installer, you are ready to rock. 

Go ahead and try out the examples by running the executables found in
the bin folder.

There are also several useful utitilies also found in the delta3d/bin folder.
See the readme.txt in delta3d/utilities for more details.

If you are a developer you'll want to build from the source
which we provide with all our distributions. Please follow instructions
in the below instructions to build the source.

Thanks for using Delta3D! Please visit our webpage at http://www.delta3d.org
and don't hesistate to use the forums for any problems you may have. We'll do
our best to respond as quick as possible.

Sincerely,
The Delta3D Team

########################
# Building From Source #
########################

Here's what we know does work:

Microsoft Windows XP w/ Microsoft Visual Studio .NET 2003 (7.1)
Microsoft Windows XP w/ Microsoft Visual Studio .NET 2005 (8.0)
Microsoft Windows XP w/ Microsoft Visual C++ Toolkit 2003, .NET Framework SDK 1.1, & SCons
Linux w/ gcc3.3.x
Linux w/ gcc3.4.x
Linux w/ gcc4.0.x
Linux w/ gcc4.1.x
Apple MacOS X 10.4 w/ the latest XCode tools

Note about Linux distrubutions: We test on Fedora Core 4 but have reports of 
Delta3D running on Ubuntu, SuSE, Mandriva, & Gentoo. Please contact us if you
are able to setup repositories for any Linux distribution to ease installation
for other users.

################
# Dependencies #
################

See the Depedencies page on http://www.delta3d.org for more info on version compatibility.

If you are on Windows and are using VS2003 or VS2005, we have prepared dependency
pacakges for you. These will live as a folder called 'ext' that should live inside
your Delta3D directory. Check if you have the ext/ directory already in delta3d/. 
If you do not  have it, please download the latest version of delta3d-dependencies from 
our SourceForge download site:
http://sourceforge.net/project/showfiles.php?group_id=113203&package_id=125151
and extract it into the Delta3D folder.

【重剑注:去上面的网址下载依赖文件解压到Delta3D对应的文件夹里】

If you are not using VS2003 or VS2005, you will need to either build the depedencies
yourself or track them down via your favorite package manager. So here's a handy list.

Required Libraries 
------------------
CAL3D
CppUnit
Crazy Eddie's GUI System
FLTK
Game Networking Engine
GDAL
InterSense Interface Libraries SDK
HawkNL
OpenAL
FreeALUT
Open Dynamics Engine
OpenThreads
OpenSceneGraph
Producer
PLIB
ReplicantBody
Xerces-C

Linux only: Xxf88vm, uuid, ncurses.

Optional Libraries
------------------
Qt 4.x - Needed for STAGE.
Boost - Needed for Python bindings only.
Python - Needed for Python script support.
RTI 1.3 - Needed for HLA libraries, utilities, & examples.


#########################
# Environment Variables #
#########################

Delta3D requires environment variables at runtime (but not at compile-time).
The Windows installer will set these up for you, but if you use the zip
package or are on Linux you need to set them youself.

Microsoft Windows XP
--------------------
Make sure the Delta3D environment variables are set:

DELTA_ROOT = "C:\Program Files\delta3d"  (or wherever Delta3D is installed)
DELTA_INC = %DELTA_ROOT%\inc;%DELTA_ROOT%\ext\inc;%DELTA_ROOT%\ext\inc\CEGUI
DELTA_LIB = %DELTA_ROOT%\lib;%DELTA_ROOT%\ext\lib
DELTA_DATA = %DELTA_ROOT%\data

And, of course, add %DELTA_ROOT%\bin;%DELTA_ROOT%\ext\bin to your PATH.

Once set, these variables can be used in Visual Studio in the project properties
or in the global VC++ directories (Tools->Options->Projects) as shown below:

Include files: $(DELTA_INC)
Library files: $(DELTA_LIB)

Linux
-----
DELTA_ROOT: path to your Delta3D installation
DELTA_DATA: $DELTA_ROOT/data
DELTA_INC: $DELTA_ROOT/inc:$DELTA_ROOT/ext/inc:$DELTA_ROOT/ext/inc:$DELTA_ROOT/ext/inc/CEGUI
DELTA_LIB: $DELTA_ROOT/lib:$DELTA_ROOT/ext/lib:$DELTA_ROOT/ext/lib/osgPlugins

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DELTA_LIB

########################################
# Platform-specific build instructions #
########################################

Windows with Visual Studio 2005
-------------------------------

1. Make sure you have your depedencies setup (see above).

2. Open VisualStudio/delta_2005.sln, build! This will generate the essential Delta3D
   libraries that can be built with our distributed dependencies.

3. The rest of the components can be build with project files of
   the individual componets.
   (dependencies that we do not distribute are listed in parentheses):
   
   VisualStudio/src/dtHLAGM/dthlagm.sln      : HLA library (RTI)
   VisualStudio/src/dtScript/dtscript.sln    : library to run python scripts (Python)
   VisualStudio/src/python/dtpython.sln      : python bindings (Python, Boost.Python)
 
   Or just build EVERYTHING (make sure you have Python, BoostPython, RTI):
   VisualStudio/delta_all_2005.sln  

   dtHLAGM
   -----
   Requries RTI package to be installed! We cannot distribute RTI with
   Delta3D, so you are on your own. The dtHLAGM module is compiled and tested
   against RTI-S 1.3_D18 although any RTI supporting spec 1.3 should work.

   To build the module dtHLAGM, 
   you must add your RTI include and lib paths to the project settings or to
   your global search directories using :

   Tools->Options->Projects->VC++ Directories
   
   Also, in order to run the unit tests, you must add the directory containing
   your RTI DLLs to the VC++ directory for executable files.

   VS solutions are provided for these apps in the delta_all_2005.sln.

   The Python Bindings
   -------------------
   Building the Delta3D Python bindings requires the following additional 
   packages: Python and Boost.Python. 

   1. First let's install Python from: http://www.python.org/
   
   2. Next, check if the following environement variables are set:
      PYTHON_ROOT     : directory of Python installation
      PYTHON_LIB_PATH : %PYTHON_ROOT%/libs
      PYTHON_VERSION  : version of your Python installation

   2. Ok, that was easy :) Now the hard part: installing Boost. Feel
      free to cross-reference with their "Getting Started" guide:
      http://www.boost.org/more/getting_started.html   
      
      Obtain the Boost library from SourceForge (package 'boost'):
      http://sourceforge.net/projects/boost/
      
   3. Unzip Boost. The directory will look something like "boost_1_34_1"
   
   4. Obtain the Boost-Jam executable from SourceForge (package 'boost-jam')
   
   5. Unzip Boost-Jam ('bjam.exe') and place it somewhere in your PATH or
      into your Boost directory
  
   6. Open a cmd shell and navigate to your Boost directory.
   
   7. Run 'bjam stage --with-python'. This will build the Boost.Python set of 
      Boost libraries to a directory something like "boost*/stage/lib". Make sure to add this directory 
      to your PATH environment variable so Windows can find the Boost.Python DLLs 
      at runtime.
         
   8. If you are using the Windows installer or have the dependency package unzipped
      make sure to remove the Boost.Python DLLs contained in delta3d\ext\bin before
      going any further. Otherwise, they will conflict with the DLL you just built.
   
   9. Open a solution contain the project files for the Delta3D Python bindings:
      -delta3d\VisualStudio\src\python\dtpython.sln or
      -delta3d\VisualStudio\delta_all.sln.
      
   10. Before building...
   
      -Select Tools->Options
      -Select the Projects folder
      -Select VC++ Directories
      -Change 'Show directories for:' to Include files
      -Add your Boost directory to the list
      -Change 'Show directories for:' to Library files
      -Add 'boost_*\stage\lib' (or whatever your proper path is)to the list
   
   11. Build!
   
   12. Make sure the .pyd libraries were built into delta3d\bin. If not, rinse and repeat.
   
   13. Set your PYTHONPATH environement variable contains the directory with the resulting 
       .pyd libraries (most likely delta3d\bin).

   STAGE
   -----
   You'll need:
   -Visual Studio .NET 2005
   -Qt 4.x, the windows open-source release (http://www.trolltech.com)
   
   
   Building Qt 4.x Open Source Version with MSVC
   -----------------------------------------------
    1. To configure Qt, just use the Visual Studio Command prompt, change
        directory to where Qt is, and type "configure -platform win32-msvc2005".  To see
        the list of supported compilers, see the folder "mkspecs" in the Qt installation.
        
     2. Once that is finished type "nmake" to start the compiling.  If you just want
          to build the libraries (much faster), type "nmake sub-src".
   
   
   Building the Delta3D Editor with MSVC
   -------------------------------------
   
   1. IMPORTANT: If you have installed the Windows dependency package or
      used the full-on installer, you must remove the Qt DLLs that are 
      shipped inside ext\bin. These were placed there so users could
      use the STAGE binary without rebuilding Qt. However, if you are 
      reading this section it means you _are_ rebuilding Qt in order
      to rebuild STAGE, so the old DLLs will conflict.
   
   2. Ok, onto building the editor. Open:
      delta3d\VisualStudio\utilities\STAGE\dtEditQt_2005.sln
   
   3. Build the entire solution.

   4. The STAGE.exe file should now reside in delta3d/bin.  Double-click to run!

Windows w/ SCons & Linux
-----------------------

1. Download SCons from http://www.scons.org .

2. You will notice files called SConstruct and SConscript in the delta3d 
   subdirectories. These files are high-level scripts that tell SCons how 
   to build Delta3D.

   To build the Delta3D libraries from the root delta3d directory type:
    scons

   By default, this will build everything possible, including all
   Delta3D libraries, examples, utilities, and Python bindings. If SCons
   cannot find Boost.Python (or buildPythonBindings=0 is passed to scons)
   the bindings will be skipped. Likewise, if RTI cannot be found, the dtHLAGM
   library will be skipped.
    
   To install the shared libraries in the lib folder under the prefix
   you specified:
    scons install

   Use options include:
    -Q     - Quiet output.
    -j N   - Number of jobs to use, help for multiple processors.
    -c     - Clean out the previous build.
    --help - Display all options

    prefix=path - Path to in which to install Delta3D (e.g. /usr/local)
    libdir=path - Path to install libraries to (overrides prefix) (e.g. /usr/loca/lib64)
    includedir=path - Path to install headers to (overrides prefix)
    bindir=path - Path to install executables to (overrides prefix)
    mode=debug|release - 'debug' builds with debugging symbols.
                         'release' builds with optimizations enabled.
    boost=path to your boost installation
    rti=path ro your RTI installation
    cpppath=additional include directories (comma delimited)
    libpath=additional library directories (comma delimited)
    buildPythonBindings=0|1 - Set this to 0 if you want to skip the bindings

3. To build your own Delta3D apps in SCons, feel free to hack on scons_template
   as a template for how to use SCons outside our source tree.   

   dtPython
   --------
   The Delta3D Python bindings requires the following additional 
   packages: Python and Boost.Python. 

   Install Boost Python (Linux w/ bjam, see above for MSVC):
   - Obtain the Boost library from SourceForge (package 'boost'):
     http://sourceforge.net/projects/boost/
   - Obtain Boost Jam (package 'boost-jam').
   - Decompress the BoostJam archive and place the file 'bjam' in your PATH.
   - Set env. var PYTHON_ROOT to your your python installation (usually /usr or /usr/local)
   - Set env. var PYTHON_VERSION to the 2-part major python version (e.g. 2.3 or 2.4)
   - Go to boost/libs/python/build.
   - Run 'bjam -sTOOLS=gcc'.
   - Root up and 'bjam install'

   Build the Python bindings for Delta3D engine:
   - Go to the delta3d root directory.
   - If your installation of Boost is in a non-standard location,
     run scons with the 'boost=/path/to/boost' option, otherwise just build
     as normal.
    
   Set the PYTHONPATH environement variable to contain the var DELTA_LIB.

   dtHLAGM
   -----
   Requries RTI package to be installed! We cannot distribute RTI with
   Delta3D, so you are on your own. The dtHLAGM module is compiled and tested
   against RTI-S although any RTI should work.

   Once your have an RTI installed, run:

   'scons rti=/path/to/rti'
    

转载于:https://www.cnblogs.com/skyofbitbit/p/4103534.html

Unity与Unreal Engine双引擎30天入门:零基础实现首个3D游戏项目 游戏开发的核心在于理解场景构建、对象交互与逻辑实现等通用概念。其原理基于组件化架构与事件驱动编程,通过物理引擎、碰撞检测和渲染管线等技术模块协同工作,实现虚拟世界的模拟与交互。掌握这些基础技术,不仅能快速构建可玩原型,更是进入AAA级游戏开发或独立游戏创作的基石。无论是Unity的C#组件化脚本,还是Unreal Engine的蓝图可视化系统,都服务于同一目标:将创意转化为可交互的体验。本文聚焦【3D游戏开发入门】与【双引擎对比】,通过30天实战路线图,手把手带你完成从环境搭建、核心机制实现到打包发布的全流 阅读详情

相关推荐

Java游戏开发入门:使用libGDX引擎从零构建跨平台游戏

游戏开发的核心在于理解其底层架构与渲染原理。游戏引擎作为游戏开发的框架,通过封装图形渲染、物理模拟、输入处理等模块,大幅提升了开发效率。libGDX作为一款基于Java的开源游戏开发框架,其技术价值在于提供了高性能的跨平台支持,开发者可以使用一套核心代码将游戏发布到桌面、安卓、iOS及Web等多个平台。在应用场景上,它尤其适合希望深入理解游戏开发核心机制、追求代码控制力与性能优化的开发者。本文将以libGDX为例,详细解析其核心架构,包括Application、Screen与Game类的协作,并深入探讨Sp

weixin_33913332的博客 333

Delta3d 2.8 版本终于发版

这两天关注了一下Delta3d的官网 http://delta3d.org/,好像正在升级网站。前两天Delta3d 2.8 版本也终于已经发版....................,看官网论坛,据说Delta3d  在以后会有较大的变动,会修改仿真引擎核心部分,现在的渲染只支持osg , 修改后可以支持包括orge3d 在内的其他渲染引擎,期待中........................

UnrealEngine4 、Delta3D、OSG 2350

CARLA中文实践指南:Windows/Mac免编译启动与YOLOv8数据采集

CARLA作为主流自动驾驶仿真平台,本质是融合Unreal Engine、ROS/Python生态与交通流建模的多层技术栈。其核心原理在于Client-Server架构下的同步仿真机制、TrafficManager内嵌调度逻辑,以及传感器数据通过Protocol Buffer实时传输的设计。技术价值体现在低成本构建高置信度虚拟测试场景,支撑感知算法(如YOLOv8)训练与闭环验证。典型应用场景包括高校课程设计、车企智驾模块开发、中国城市场景(如北京五环、深圳湾口岸)的密集车流与复杂交通参与者模拟。本文聚焦真

dianlu5775的博客 456

Delta3D Editor编译成功

下载:      官网 www.delta3d.org 有些地方访问不了(试试这个代理:133.1.74.163 3128),我在公司就访问不了,但是住的地方就可以。但是sourceforge是可以访问的。      http://sourceforge.net/projects/delta3d/             源码: dt_win32_2.0.0.zip

痞子龙3D编程 2025

Godot引擎集成Live2D:从原理到实战,打造动态2D角色

2D游戏角色动画技术经历了从传统帧动画到骨骼动画的演进,其核心原理在于通过参数化驱动图像变形,在保持2D美术风格的同时实现流畅、生动的动态效果。这项技术的核心价值在于显著提升了角色表现力与资源制作效率,使其在视觉小说、RPG和二次元风格手游等应用场景中成为行业标准。Live2D Cubism正是这一领域的代表性解决方案,它通过将原画拆分为图层并进行网格变形来模拟立体感。在开源引擎Godot中集成Live2D,开发者能够利用其强大的2D渲染管线与灵活的脚本系统,结合GDExtension插件机制,构建一套高效

weixin_34220179的博客 448

Delta3D官网教程pdf格式

由于现在delta3d的官网国内很多地方上不去地挂代理比较麻烦,所以我将其Tutorial原文的PDF格式奉送大家,请在阅读同时参考DELTA3D在Sourceforge上的wiki

你不知道的前端框架和UI组件库 - 大合集【收藏必备】

Vue.js 是一套构建用户界面的渐进式框架。与其他重量级框架不同的是,Vue 采用自底向上增量开发的设计。 不兼容IE8,最低只能支持到 IE9 官网:https://cn.vuejs.org/ ReactJS 的确是一个伟大的东西,就其核心而言,就是一个可以和 html 混合编写的 jsx 格式,以及一个良好有序(加载时和更新时)、并和 html 渲染实时捆绑的状态机制。学习和使用 ReactJS,你并不需要对你现有的代码架构做太大的调整,只要引入 react.js 和 react-dom.js 两个文

Qianmoer的博客 1万+

Delta3D_stage

Delta3D_stage介绍 初学只用 帮大家快速学习 顺便挣点积分

Godot游戏逆向工程实战:使用GDRE Tools解包与反编译全流程解析

在游戏开发与安全研究领域,逆向工程是一项关键技术,它通过分析已编译的程序来理解其内部结构与逻辑实现。其核心原理涉及二进制文件解析、资源提取和代码还原等技术,能够帮助开发者学习优秀架构、复用资源或进行安全评估。在游戏开发中,这项技术对于理解引擎工作机制、优化项目结构具有重要价值。Godot引擎作为流行的开源游戏开发工具,其项目通常打包为.pck或可执行文件,形成了逆向分析的对象。GDRE Tools作为专门针对Godot的逆向工程套件,能够处理资源解包和GDScript反编译等任务,有效应对Godot 3.x

weixin_34377919的博客 403

delta3d中文指南

一个关于delta3d游戏的使用指南,国内十分缺少的资源

Delta3D编辑器说明

Delta3D编辑器说明

Unity.Mathematics性能优化实战:从向量化思维到Burst编译深度指南

在游戏开发和高性能计算领域,数学运算的性能优化是提升应用效率的核心环节。其原理在于利用现代CPU的SIMD(单指令多数据)指令集,通过单条指令并行处理多个数据,从而大幅提升计算吞吐量。这项技术的核心价值在于能够显著降低大规模数据模拟(如开放世界、万单位同屏)的计算开销,直接提升帧率与用户体验。典型的应用场景包括游戏中的实体位置更新、物理模拟、粒子系统以及图形渲染中的矩阵变换。本文聚焦于Unity引擎中的高性能数学库Unity.Mathematics,深入探讨如何结合Burst编译器,通过向量化编程、内存布局

weixin_30847939的博客 314

【NAS系统】DSM7.2部署SVN服务

早期的群晖版本可以在套件中心找到SVN Server直接安装,然后配置仓库和用户。但‌2提到DSM7.0之后套件中心没有SVN了,得用Docker。

qq_38350004的博客 4859

Godot Engine 入门:3 条命令搭好游戏引擎,跑起第一个场景

Godot Engine 是一款免费、开源的跨平台 2D/3D 游戏引擎(MIT 协议、无分成)。本文以"编译 → 看懂结构 → 写第一行脚本 → 验证"为主线展开,你按步骤操作,今晚就能在机器上跑起编辑器,想定制引擎时也能直接下探源码。 [![Godot Engine 启动画面](https://raw.gitcode.com/GitHub_Trending/go/godot/raw/eda2

gitblog_00493的博客 428

避坑指南:解决‘Logical volume contains a filesystem in use’错误,顺利完成LVM根目录扩容

本文详细解析了Linux系统中LVM根目录扩容时遇到的‘Logical volume contains a filesystem in use’错误,提供了从错误诊断到实战解决方案的完整指南。通过动态扩容技术、单用户模式操作和LVM快照等方案,帮助管理员顺利完成根目录扩容,避免数据丢失和系统崩溃。

weixin_28702105的博客 231

CCSv3.3安装避坑全记录:从补丁失败到XDS510驱动,手把手搞定DSP开发环境

本文详细记录了CCSv3.3安装过程中的常见问题及解决方案,包括补丁安装失败、XDS510驱动识别异常等。通过系统环境准备、安装路径优化、补丁顺序调整等步骤,手把手帮助开发者搭建稳定的DSP开发环境,特别适合高校DSP实验课使用。

weixin_33494995的博客 327

Ubuntu 20.04部署CARLA 0.9.14:从打包版快速体验到编译版深度定制

自动驾驶仿真技术是验证感知、决策与控制算法的关键环节,其核心原理在于通过高保真的虚拟环境模拟真实世界的物理与传感器特性。CARLA作为领先的开源仿真平台,其技术价值在于提供了模块化的传感器模型、可编程交通流以及逼真的渲染引擎,极大地加速了自动驾驶系统的研发与测试周期。在工程实践中,部署方式的选择直接影响开发效率与研究深度:打包版(预编译版)适合快速验证算法原型与进行初步的传感器数据采集,而编译版(源码版)则支持对仿真引擎底层、自定义传感器集成以及地图资产的深度修改,是实现特定研究场景(如长尾场景构建)和自动

350

IPSec案例部署

步骤二:按照规划划分vlan并开启vlanif接口,配置链路类型实现vlan之间的互通。步骤2 :配置OSPF实现公司内部通信,配置静态路由实现AR1和AR3路由可达。3. 配置IPSec的安全联盟(协商业务数据加密时使用的参数)下发缺省路由,使网关设备有去往对端的路由‘配置对等体IP地址,即分公司的出口IP。步骤1:设备重命名以及IP地址的配置。步骤4:配置NAT,实现内网访问外网。步骤3:配置IPSec VPN。5.调用IPSec的安全策略。发了5个包 加密5个包。

2301_76769137的博客 1696

Godot 4集成FMOD音频引擎:GDExtension插件开发全流程详解

音频中间件是现代游戏开发中实现高质量动态音频系统的核心技术,它通过将复杂的音频逻辑(如混音、空间化、参数控制)从游戏主逻辑中解耦,交由专业音频引擎处理,从而提升开发效率和最终音效品质。其核心原理在于提供一套统一的API,让游戏引擎能够驱动外部音频引擎,实现实时音频渲染与交互。在技术实现上,这通常涉及跨语言绑定、对象生命周期管理和编辑器工具链集成。对于使用Godot 4引擎的开发者而言,通过其全新的GDExtension扩展系统,可以深度集成如FMOD这样的行业标准音频中间件。GDExtension允许开发者

weixin_30791095的博客 319

字符串相似度比较算法:Jaro–Winkler similarity的原理及实现

前言 在前面的文章中,笔者有对编辑距离以及Levenshtein距离进行详细的说明,其实levenshtein距离是编辑距离的其中一种定义,本文所说的Jaro距离是编辑距离的另外一种定义,它也是对两个字符串的相似度进行衡量,以得出两字符串的相似程度。下面我们一起来学习这个算法的原理以及实现吧。 标题算法定义 下面先说说Jaro distance(又称Jaro similarity),这是由Matt...

蓝天白云梦的csdn博客 1万+

C-Lodop打印服务系统存在任意文件读取

C-Lodop打印服务系统存在任意文件读取

weixin_43567873的博客 2882

PyDolphinScheduler 依赖任务 Dependent 全面指南:跨工作流条件编排与 And/Or 逻辑实现

本指南围绕 Apache DolphinScheduler 官方 Python 客户端 PyDolphinScheduler 的 Dependent(依赖)任务类型展开,讲解如何让一个任务等待其他工作流中的某个或多个任务执行成功后再运行,是构建跨流程数据管道的关键手段。读完本文,你将掌握 `DependentItem`、`DependentDate`、`And`/`Or` 操作符的完整用法,理解其

gitblog_01097的博客 447

Swin Transformer注意力计算复杂度为何比全局注意力少那么多?

本文对比分析了Vision Transformer(ViT)和Swin Transformer的计算复杂度。ViT采用全局注意力机制,计算复杂度为4[hwc^2]+2[(hw)^2C],当图像尺寸较大时计算量显著增加。而Swin Transformer采用窗口注意力机制,将图像划分为M×M的窗口(如7×7),计算复杂度降为4[hwc^2]+2[(hw)(M*M)*C]。以224×224图像为例,Swin Transformer的计算量比ViT减少约900倍,大幅节省了计算资源。文章通过矩阵乘法运算详细推导了

人工智能研究所的博客 67
上一篇: Delta3D Open Source Engine
下一篇: 转:关于 OGRE 与 OSG 的简单比较
aolan7349
博客等级 码龄11年 12粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址