守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 1030|回复: 1

FluidSolver 流体模拟类库

[复制链接]
  • TA的每日心情
    擦汗
    2017-11-3 12:47
  • 签到天数: 441 天

    [LV.9]以坛为家II

    1741

    主题

    2093

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    517
    贡献
    24
    金币
    51073
    钢镚
    1421

    开源英雄守望者

    发表于 2015-4-10 14:32:51 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: FluidSolver
    支持64位:
    当前版本: 未知
    运行平台: Windows 
    开发语言: C++ ActionScript 3 
    应用类别: ANE-C/C++
    应用简介: An update of Eugene Zatepyakin's fluid solver which uses Crossbridge, Workers and AGAL to get better performance.
    Building the Demos

    Building the project has several steps, most of which can be streamlined if you're using FlashDevelop.

    These are the fundamental steps to build the demos:

    • Use Crossbridge to build the C into a SWC
    • Build Worker SWC which wraps C code into a flash 'thread' (see bat/BuildWorker.bat)
    • Build/Run the Demos
    • Optionally, build the final SWC, which wraps the worker thread in a nice AS API (see bat/BuildSWC.bat)
    Crossbridge build

    If you don't modify the C code you won't need to do this step, as the SWC is included in the repo (clib/FluidSolverCrossbridge.swc).

    Compiling the Crossbridge SWC involves the following steps:

    • Install Crossbridge SDK (tested on version 1.0.1)
    • Run Crossbridge using run.bat in SDK
    • Navigate to FluidSolver/clib directory
    • Run Crossbridge (the command should be printed in the comments at the top of the Crossbridge prompt), something like this:
      • make FLASCC="/cygdrive/c/SDKs/Crossbridge_1.0.1/sdk" FLEX="/path/to/flexsdk"

    Using FlashDevelop

    When building the demos from FlashDevelop, everything except the Crossbridge compile is built into the project, it will automatically compile the worker SWC before compiling and the final SWC after compiling the demos.







    相关链接:


    https://github.com/TomByrne/FluidSolver

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

    该用户从未签到

    0

    主题

    5

    帖子

    78

    积分

    列兵

    Rank: 2

    威望
    0
    贡献
    0
    金币
    51
    钢镚
    0
    发表于 2015-6-22 07:44:51 来自手机 | 显示全部楼层
    不错啊,不错的东西,不错的东西了

    评分

    参与人数 1金币 +20 收起 理由
    破晓 + 20

    查看全部评分

    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2017-12-14 04:36 , Processed in 1.328125 second(s), 37 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表