• 大小: 55KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-22
  • 语言: 其他
  • 标签: Real-Time  Fluid  

资源简介

jos stam 半拉格朗日法绘制二维烟雾

资源截图

代码片段和文件信息

/*
  ======================================================================
   demo.c --- protoype to show off the simple solver
  ----------------------------------------------------------------------
   Author : Jos Stam (jstam@aw.sgi.com)
   Creation Date : Jan 9 2003

   Description:

This code is a simple prototype that demonstrates how to use the
code provided in my GDC2003 paper entitles “Real-Time Fluid Dynamics
for Games“. This code uses OpenGL and GLUT for graphics and interface

  =======================================================================
*/

#include 
#include 
#include 

/* macros */

#define IX(ij) ((i)+(N+2)*(j))

/* external definitions (from solver.c) */

extern void dens_step ( int N float * x floa

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

     文件       8507  2003-01-09 16:45  code\demo.c

     文件       2960  2003-03-18 13:10  code\solver.c

     文件       6729  2002-09-07 13:52  Palm\fluids.prc

     文件      31744  2002-01-11 18:21  PocketPC2002\PocketDensity.exe

     文件      25088  2002-08-06 18:36  PocketPC2002\PocketFluids.exe

     文件      32256  2001-08-21 20:06  PocketPC2002\PocketPaint.exe

     文件      30208  2002-01-07 19:27  PocketPC2002\WindTunnel.exe

     文件        761  2003-01-15 11:52  README.txt

     目录          0  2003-01-09 13:42  code

     目录          0  2003-01-09 13:42  Palm

     目录          0  2003-01-09 13:42  PocketPC2002

----------- ---------  ---------- -----  ----

               138253                    11


评论

共有 条评论