PhysX Fluid Simulation in Softimage ICE
Plugins linking to this thread: (hide)
PhysX Fluid Simulation
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
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
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: PhysX Fluid Simulation in Softimage ICE
And while you're at it, you might want to compare it to the old ICE-SPH addon Thiago Costa wrote (the one that involved its own closed testing Google group). Comparing this PhysX stuff to Lagoa almost seems unfair, as Lagoa tries very hard at being/doing too much IMHO. In that light the old ICE-SPH addon (still available @ rray.de) seems to be a fairer comparison...
;)
;)
Stay safe, sane & healthy!
Re: PhysX Fluid Simulation in Softimage ICE
>>Is that Nvidia's responsibility?
Not Nvidia, more like that it is simage fault, because physx can handle videomemory overflow and automatically switch to the CPU mode.
>> cannot seem to add or delete particles or use age etc without the solver failing.
It is my limitation, I will finish these features after implosia's release and it must be the same stable as built-in particle simulation node:)
Also I have notices that crash is happens in case when we add a huge number of particles at once, if we add the same number during some time - all work fine, seems like that crash is related to some kind of overlapping. In this way I was able to add about 2 millions on my gtx480 1.5gb.
Very nice test btw!
Not Nvidia, more like that it is simage fault, because physx can handle videomemory overflow and automatically switch to the CPU mode.
>> cannot seem to add or delete particles or use age etc without the solver failing.
It is my limitation, I will finish these features after implosia's release and it must be the same stable as built-in particle simulation node:)
Also I have notices that crash is happens in case when we add a huge number of particles at once, if we add the same number during some time - all work fine, seems like that crash is related to some kind of overlapping. In this way I was able to add about 2 millions on my gtx480 1.5gb.
Very nice test btw!
Re: PhysX Fluid Simulation in Softimage ICE
ok think I reached 2 million now by introducing slowly. . rendered with Fury2 so thats GPU rendering ontop of the GPU simulation. works out about 3 seconds per frame. 500 frames rendered in 10 minutes.
Interesting fact discovered to turn on CPU rendering mode is to set the max allowed particles to more than your card can cope, it then does give a n ice message to successfully kick in CPU mode for allowing more particles in the simulation.
Interesting fact discovered to turn on CPU rendering mode is to set the max allowed particles to more than your card can cope, it then does give a n ice message to successfully kick in CPU mode for allowing more particles in the simulation.
Gossip is what no one claims to like, but everybody enjoys.
Re: PhysX Fluid Simulation in Softimage ICE
Tekano,
In this last video the scale of the liquid tank seems to be several meters in length and the simulation looks believable. Can you please do a test at lower scales? Like a glass of water or a bucket. I'm curios how's holding up on this practical example.
In this last video the scale of the liquid tank seems to be several meters in length and the simulation looks believable. Can you please do a test at lower scales? Like a glass of water or a bucket. I'm curios how's holding up on this practical example.
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides
-Thucydides
Re: PhysX Fluid Simulation in Softimage ICE
here you go, its just a matter of setting the gravity x10 so instead of meters its cm and fiddling with the stiffness & viscosity until it moves ok.
Gossip is what no one claims to like, but everybody enjoys.
Re: PhysX Fluid Simulation in Softimage ICE
First of all thanks for the simulation!
Now are you sure that modifying the gravity is a good idea? I know that in 3d you tweak the values until it looks right even though the values are not by far the physical correct ones...
Anyway, it looks alright but not that good when compared to the larger one. The liquid pouring from the glass should go straight down IMO. Just an idea.
Too bad I can't play with this right now, but it's good to be on the forums most of the time. ;)
Now are you sure that modifying the gravity is a good idea? I know that in 3d you tweak the values until it looks right even though the values are not by far the physical correct ones...
Anyway, it looks alright but not that good when compared to the larger one. The liquid pouring from the glass should go straight down IMO. Just an idea.
Too bad I can't play with this right now, but it's good to be on the forums most of the time. ;)
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides
-Thucydides
Re: PhysX Fluid Simulation in Softimage ICE
Hi Mcnistor , am positive that changing the gravity in this instance is the best thing to do, the units in Softimage are arbitrary so 1 unit can equal 1 metre or 1 cm so this is all I am changing. the first splashy sim they were at 1 meter per unit the 2nd glass one is 1cm per unit. simples. Yes, in the last example they really should not come out so far as you say but then it was even more boring I think the viscosity or stiffness is too high so there is maybe some surface tension or other force making them push out that way. Often its easier to have a live action example to copy as pouring water can be fairly subjective after a few different sims
playing with this is much more fun than waiting up to 100 times longer for the lagoa or SPH on cpu simulation thats for sure
playing with this is much more fun than waiting up to 100 times longer for the lagoa or SPH on cpu simulation thats for sure
Gossip is what no one claims to like, but everybody enjoys.
Re: PhysX Fluid Simulation in Softimage ICE
hi, i got a bit of time to play with this today, but i'm getting this on the script editorMr.Core wrote:You must get this message in script editor after first frame:
// INFO : || CUDA Manager Is Obtained! Created PhysX World!
// INFO : Cleared PhysX World!
// INFO : Get CUDA support failed! Created PhysX World!
// INFO : Succefully setted Fluid Attributes
// INFO : ADD STATIC OBSTACLE: STAT OBS ADDED SUCEFULLY!
// INFO : ADD NEW PT: New Particles Added Succefully!
// INFO : Performing Step Success!
some ideas? Dont think its using the gpu! i got a 560 card
Any suggestion where i should look to fix it?
Thanks, Max
edit: fixed by copyin the dlls in main softimage root folder!
Re: PhysX Fluid Simulation in Softimage ICE
I'll post an update later (most likely after kepler releasing), I am currently sitting on the 7300GT so it's a quite difficult to debug physx on it
Re: PhysX Fluid Simulation in Softimage ICE
This really looks fantastic! Unfortunately I get the same issue as mamali132002 has. Scene loads, particles apear, but dont get any simulation going on. Under plugin manager, the .dll is marked as invalid as well :/
In any case though. Great work as it seems from above!
In any case though. Great work as it seems from above!
Portfolio / Blog
http://www.nuverian.net
http://www.nuverian.net
Re: PhysX Fluid Simulation in Softimage ICE
Has anyone got this working in Softimage 2012 SAP?
I have moved the dll into the correct folder as stated in the text document that comes with the download, also have the microsoft c++ installed although it's a newer version than the one that the download link points to.
I am also a little confused about where the workgroup is that I am meant to connect, can't find any workgroup folder within the download folder.
Any help would be super awesome, sorry if I am just been plain stupid here.
Thanks.
Alex.
I have moved the dll into the correct folder as stated in the text document that comes with the download, also have the microsoft c++ installed although it's a newer version than the one that the download link points to.
I am also a little confused about where the workgroup is that I am meant to connect, can't find any workgroup folder within the download folder.
Any help would be super awesome, sorry if I am just been plain stupid here.
Thanks.
Alex.
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: PhysX Fluid Simulation in Softimage ICE
If I recall correctly, you unRAR the archive, take the dll's out of there and use the folder you have just unRARred as the entry point of the workgroup...
Stay safe, sane & healthy!
Re: PhysX Fluid Simulation in Softimage ICE
Cool, thanks will try that tomorrow. Cheers for the help.
Re: PhysX Fluid Simulation in Softimage ICE
Gossip is what no one claims to like, but everybody enjoys.
Who is online
Users browsing this forum: No registered users and 57 guests