FluidPlugin Alpha out(CHECK OTHER THREAD)

New releases and general discussions.

Post » Sat Aug 14, 2010 5:34 pm

im pretty sure ya, so that would be possible using events? sounds good.

getting the fluid speed at an arbitrary point though, would it automatically interpolate, or only give the velocity at the nearest square
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat Aug 14, 2010 5:42 pm

Well, as of reading your first question it'll interpolate
That makes more sense, though I may put both options, since if it was in the center od 4 squares
That would be a lot of interpolation if you wanted to have a lot of it going on

On a side note, I was having a look at how the wall reflections are done. I will probably be able to allow you to add obstacles, but only aligned to grid cell sizes, probably no diagonals either

Ill look into getting past both those limitations, but it seems doubtful
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat Aug 14, 2010 6:47 pm

diagonals could possibly "work" if you allowed the fluid to "interesect" (pass onto the the cell with a diagnol in it), you could only allow for full cell or 45deg cell, but that would allow you to approximate a shape acceptably, if the fluid passes onto a 45 deg cell it would be treated as a normal cell, not a solid cell, but still would deflect the velocity vector in that cell based on the 45deg angle and previous velocity(?) (dont know if youre implementation stores that) however you would do that or something similar.

i dunno just putting ideas out there, again im not sure of your implementation so i dont know if my ideas are possible/would work

i wouldnt mind if fluid could pass into 45 deg angled solids like that, seeing as solids would probably be infront of fluid gfx anyways.

sounds good about the particle advection.

oh yea, was wondering if implementing gravity onto the fluid is also a possibility, i would imagine its a simple case of adding/doing gravitational acceleration to the y velocity vector? you know to add a kinda heavy smokey-ness like when dry ice releases gas.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat Aug 14, 2010 6:50 pm

oh and btw, found this online

http://www.dgp.toronto.edu/people/stam/ ... /jgt01.pdf

seems like another rather fast implementation of fluid, and it wraps around screen edges
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat Aug 14, 2010 6:53 pm

yeah
I can probably add wraparound if you'd like
but that was the one I used before with the unwritten license from the land of mystery
this one has more options though, and takes advantage of multicore cpu's
and has a license that clearly allow commercial use

but thanks
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Aug 16, 2010 1:05 pm

fps:198
threads:4
cores:4
Intel Corporation
2526mhz
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Mon Aug 16, 2010 1:44 pm

Thx cow_trix, but the alpha is done, and in the other thread:
viewtopic.php?f=2&t=7027
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Aug 16, 2010 7:31 pm

fps:193
threads:2
cores:2
Intel Corporation
3199mhz
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest