Search found 35 matches

by TheYeast
Thu Dec 27, 2018 10:18 am
Forum: News
Topic: Friday Facts #274 - New fluid system 2
Replies: 157
Views: 9520

Re: Friday Facts #274 - New fluid system 2

Oh yes it will, at least to me. I almost always play with alt view (advanced info, press the Alt key), and when those icons disappear, I notice. I stand corrected. Still, it only helps when a source was attached earlier (for there to be any fluid to be destroyed) and the build became broken after t...
by TheYeast
Thu Dec 27, 2018 12:14 am
Forum: News
Topic: Friday Facts #274 - New fluid system 2
Replies: 157
Views: 9520

Re: Friday Facts #274 - New fluid system 2

I agree with Zavian: sources, but not consumers. [...] Destroying the residuals in such a net would send a clear signal to the player that his build is screwed up [...] Perhaps, but I do not think the destruction of residuals is going to be visible to the player. A residue of 0.05 is probably alrea...
by TheYeast
Wed Dec 26, 2018 5:42 pm
Forum: News
Topic: Friday Facts #274 - New fluid system 2
Replies: 157
Views: 9520

Re: Friday Facts #274 - New fluid system 2

Then only activate the clearing mechanism if there are no fluid sources connected to the pipe. (That is potentially more performant as well, since instead of checking the fluid in multiple pipes per tick, you can simply maintain a list of pipe networks that don't have a connected fluid source, and ...
by TheYeast
Wed Dec 26, 2018 5:15 pm
Forum: News
Topic: Friday Facts #274 - New fluid system 2
Replies: 157
Views: 9520

Re: Friday Facts #274 - New fluid system 2

I really like this. Would be weird if I didn't considering I also suggested this very exact thing [...] Maybe if the thread had gone for longer. Great minds think alike I suppose ;) - I guess it was just a matter of timing. I tried to bring it up in vain a year earlier as well, but this time Domini...
by TheYeast
Fri Oct 19, 2018 6:21 pm
Forum: News
Topic: Friday Facts #264 - Texture streaming
Replies: 108
Views: 8911

Re: Friday Facts #264 - Texture streaming

How much RAM do you have? According to Steam survey, over 90% of our players has 8GB+ I have 16 GB RAM, 1 GB VRAM. Tinkering with graphics settings does not seem to matter much, except that setting VRAM usage to 'all' seems to be a little better than the lower options. When zoomed out on a complex ...
by TheYeast
Tue Oct 16, 2018 4:27 pm
Forum: News
Topic: Friday Facts #264 - Texture streaming
Replies: 108
Views: 8911

Re: Friday Facts #264 - Texture streaming

The bitmap cache is replaced by virtual texture mapping with the texture data being kept in RAM, next big challenge is to load them from disk on demand, but different streaming technique would not make that easier. The big question is - who does it help? How much is it needed? How much time is wort...
by TheYeast
Sun Oct 14, 2018 10:47 am
Forum: News
Topic: Friday Facts #264 - Texture streaming
Replies: 108
Views: 8911

Re: Friday Facts #264 - Texture streaming

Very interesting read. The Virtual Texture approach may be a bit of overkill for Factorio though, since it optimises for the general case were only a subset of the sprites is used, and for these sprites only small sections of the actual pixels are used besides. I don't understand what you mean by "...
by TheYeast
Sat Oct 13, 2018 2:24 pm
Forum: News
Topic: Friday Facts #264 - Texture streaming
Replies: 108
Views: 8911

Re: Friday Facts #264 - Texture streaming

Very interesting read. The Virtual Texture approach may be a bit of overkill for Factorio though, since it optimises for the general case were only a subset of the sprites is used, and for these sprites only small sections of the actual pixels are used besides. That may be common for 3D games, but i...
by TheYeast
Mon Oct 08, 2018 4:09 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

It is actually quite neat, well done! 8-) Thanks! In other news: because some concern was raised about the impact of the clamp method on the realism of the simulation, I decided that it would be useful to measure how much of the flow is actually being clamped, so I added a counter for that. It only...
by TheYeast
Sun Oct 07, 2018 12:20 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

- As expected, tanks need pumps. They seem to sometimes act way too greedy - blocking any fluid from reaching the consumers. I reverted the behaviour of storage tanks to what Factorio does currently: storage tanks will become filled to the same percentage as the pipes they are connected to. The bui...
by TheYeast
Sat Oct 06, 2018 3:34 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

[...] hammer effect when connecting/disconnecting stuff, wich might get relevant in huge circuit-controlled refinery setups (they look fine in the simulation), but can easily be countered by the common pump-tank-pump (or a shock arrester, if someone mods one in). I can't really imagine a circuit-co...
by TheYeast
Sat Oct 06, 2018 2:43 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

Is the idea of a pipe containing more than it can contain, or less than zero, even for a tick, acceptable? Sure. Overfilling can be seen as increasing the pressure. Negative content could be seen as underpressure. You could have both for as long as the causing conditions last. Exactly. Overflow is ...
by TheYeast
Wed Oct 03, 2018 8:06 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

I still need to disable max content enforcement (not a bad thing - i see extra content as increased pressure and would see negative content as vacuum) and the lovely hammer waves get indeed dampened too much with default settings. I changed the defaults to a bit more conservative settings, so the h...
by TheYeast
Tue Oct 02, 2018 6:45 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

- As expected, tanks need pumps. They seem to sometimes act way too greedy - blocking any fluid from reaching the consumers. Yes, I didn't think the storage tanks through ;) A tank can only 'decide' whether to take in fluid or not based on the level in the adjacent pipe, and that is not a really go...
by TheYeast
Sun Sep 30, 2018 1:19 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

That's it for me, as I'm on vacation the coming week. I will check the thread when I return. I improved my previous simulation to support junctions and multiple physics models. https://jsfiddle.net/TheYeast/c9d2azjo/show/ Feel free to fiddle the source at https://jsfiddle.net/TheYeast/c9d2azjo The ...
by TheYeast
Mon Sep 17, 2018 8:57 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

Only one more post coming up! We can now calculate flow rate, but the concern raised by Dominik was the slow response to changes in supply and demand. The main issue I see is a very low reaction speed. For example - have a straight pipe from source to drain, source is pumping, drain is closed, pipe...
by TheYeast
Mon Sep 17, 2018 8:06 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

Because throughput seems to be a concern, I will do a separate post about flow rate. And here it is :) Using once again: connection.flow += (connection.pipe0.level - connection.pipe1.level) * c^2; or for notatinal convenience: f += (p0-p1) * c^2; (I'll keep the c^2 form, where c is the speed of wav...
by TheYeast
Mon Sep 17, 2018 12:21 pm
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

The theory is nice, but the theory is not what your algorithm in fact does. Big C^2 does not fix it if you limit the flow by 0.25. What I see is that your flow updates incrementally by volume difference -> 1st iter. last segment moves 1/4 to the drain; 2nd iter last segment moves some more and seco...
by TheYeast
Mon Sep 17, 2018 11:22 am
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

If there only is flow between pressure differences and pressure = c*fluid_level. Could it then be flow between full pipes? No, the pressure difference increases or decreases the flow. In a full pipe all the fluid could be stationary, or move really fast, or anything in between. And wouldn't pressur...
by TheYeast
Mon Sep 17, 2018 12:53 am
Forum: News
Topic: Friday Facts #260 - New fluid system
Replies: 292
Views: 23205

Re: Friday Facts #260 - New fluid system

Hi Yeast, thanks you for your proposal, so far it seems to be the most reasonable, although I am still unsure about the electricity model which also is interesting. I admit that my knowledge of physics is rather limited, I had to rely on my common sense. About the “speed kinda models the pressure”,...

Go to advanced search