PhysX Fluid Simulation in Softimage ICE

Plugins linking to this thread: (hide)

PhysX Fluid SimulationAuthor: Oleg Bliznuk
This ICE compound wraps a CUDA implentation of the SPH fluid algorithm and allows a very fast particle simulation of fluids on NVidia GPUs. CPU mode is also available, also rather fast and not limited by the available GPU RAM. CPU mode can be used as the default mode or as a fallback mode.

See the si-community thread linked below for details and tips on using this compound. Here's a test video by Tekano with 2 million particles.

local backup: Waterfall_FX.rar

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: PhysX Fluid Simulation in Softimage ICE

Post by Mr.Core » 25 Jan 2012, 23:13

>>If you where able to write a ICE node that can talk to the GPU, then doesnt that mean that GPU accelerated ICE nodes are also possible?

It is possible to implement probably anything that you can do in stand-alone apps, include OpenCL and cuda support and as a result - accelerated nodes. From the ICE node you can just call some functions which are located outside simage

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: PhysX Fluid Simulation in Softimage ICE

Post by gustavoeb » 26 Jan 2012, 03:42

I wonder if guys at Autodesk can do something like that and pass some of the stuff in ICE to the GPU... Guys at Fabric-Engine claim to have done it (and inside a web browser!!!) and they are (for the most part) ex-SI guys with a lot of ICE experience...

Who knows
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

mamali132002
Posts: 9
Joined: 23 Jan 2012, 15:20

Re: PhysX Fluid Simulation in Softimage ICE

Post by mamali132002 » 26 Jan 2012, 16:36

hi mr.core
thanx a lot for ur great work
i have problem for install ur plugin. i have softimage xsi 2012 , i put the px_dlls in C:\Program Files\Autodesk\Softimage 2012\Application\bin and after that i run xsi and in pluginmanager / workgroups i connect application folder to xsi , when i want to open ur test scenes xsi show me an red error message the plugin is not installed .

can u help me please ?

thank u so much

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: PhysX Fluid Simulation in Softimage ICE

Post by origin » 27 Jan 2012, 19:36

You need to connect whole folder structure. That is, put everything that was in zip file in some folder, and connect this folder as workgroup.

mamali132002
Posts: 9
Joined: 23 Jan 2012, 15:20

Re: PhysX Fluid Simulation in Softimage ICE

Post by mamali132002 » 27 Jan 2012, 20:24

hi origin , thank u for reply , i do that but i got that error again , see this pic please "
Image

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: PhysX Fluid Simulation in Softimage ICE

Post by Hirazi Blue » 27 Jan 2012, 20:38

Just guessing, but could it be, you haven't got the Microsoft Visual C++ 2010 Redistributable Package (x64) installed?
Stay safe, sane & healthy!

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: PhysX Fluid Simulation in Softimage ICE

Post by xsisupport » 27 Jan 2012, 21:57

mamali132002 wrote:hi origin , thank u for reply , i do that but i got that error again , see this pic please "
Is there anyone who doesn't have Arnold?
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

mamali132002
Posts: 9
Joined: 23 Jan 2012, 15:20

Re: PhysX Fluid Simulation in Softimage ICE

Post by mamali132002 » 27 Jan 2012, 22:44

Just guessing, but could it be, you haven't got the Microsoft Visual C++ 2010 Redistributable Package (x64) installed?
no i got that and already installed in my pc .

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 14:49
Location: London, UK

Re: PhysX Fluid Simulation in Softimage ICE

Post by Tekano » 28 Jan 2012, 01:21

Mr.Core wrote:You must get this message in script editor after first frame:
// INFO : || CUDA Manager Is Obtained! Created PhysX World!
thanks, but I get this message:

' INFO : ICE PHYSX SPH: Succefully created PxWorld!

no mention of cuda , perhaps Ive managed to install the ICE compound but not the dll? I cant see the dll anywhere in the plugins

** EDIT *** UPDATE ***

ok I disabled the previous workgroup, downloaded again the archive, made a new waterfall FX workgroup and now I have 2 versions , one under Px2Si called PhysX simulate SPH and another under ICE PhysX - GigaCoreFX called PhysX simulate Fluid they are both the same compound although the Px2Si version has no execute node only outputs positions.

regardless of this , something seems to have worked - am now getting 60 fps with GPU enabled and reach only 20fps without and when enabled, have the message

' INFO : || CUDA Manager Is Obtained! Created PhysX World!

fantastic! :D
Last edited by Tekano on 28 Jan 2012, 01:59, edited 4 times in total.
Gossip is what no one claims to like, but everybody enjoys.

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: PhysX Fluid Simulation in Softimage ICE

Post by rray » 28 Jan 2012, 01:33

Thanks for making this available. Hope i get to try soon.
softimage resources section updated Jan 5th 2024

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: PhysX Fluid Simulation in Softimage ICE

Post by Mr.Core » 28 Jan 2012, 14:08

>>I have 2 versions
there are no 2 versions, just a custom node and main compound which contains custom node with some connection stuff

mamali132002
try to copy px dlls from px_dlls folder ( WITHOUT px_dlls folder, just clean dlls ) into the folder with main plugin dll ( ...\Waterfall_FX\Application\Plugins\bin\nt-x86-64 )

mamali132002
Posts: 9
Joined: 23 Jan 2012, 15:20

Re: PhysX Fluid Simulation in Softimage ICE

Post by mamali132002 » 28 Jan 2012, 15:56

hi mr.core , thanx for reply . but i got that error again . i dont know how can i fix that . i have physx sdk 2.8.4 maybe the problem is my physx sdk ?
thank u again

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: PhysX Fluid Simulation in Softimage ICE

Post by Mr.Core » 28 Jan 2012, 16:00

hm, could you try to uninstall 2.8 and try again ?
I really dont know why it doesnt work in such many people :(

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: PhysX Fluid Simulation in Softimage ICE

Post by iamVFX » 28 Jan 2012, 17:31

Mr.Core wrote:I really dont know why it doesnt work in such many people :(
I do :D But in this case it's not your fault [GTX 590 crash nvidia driver with this node also, just to let you know]

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: PhysX Fluid Simulation in Softimage ICE

Post by Mr.Core » 28 Jan 2012, 17:58

>>GTX 590 crash nvidia driver with this node also
decrease Max Particles Count, 590 is using only 1.5 gb videoram

iamVFX
Posts: 697
Joined: 24 Sep 2010, 18:28

Re: PhysX Fluid Simulation in Softimage ICE

Post by iamVFX » 28 Jan 2012, 18:05

Mr.Core wrote:>>GTX 590 crash nvidia driver with this node also
decrease Max Particles Count, 590 is using only 1.5 gb videoram
Ya, I know it. But we both know it's not your fault, heh? Can you help all those people with issues that they have?

Does anyone ever ask yourself if all that speed with PhysX and all GPU stuff works so great why it's not implemented in package already? Bad and lazy programmers at Autodesk? I don't think so

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests