Friday Facts #324 - Sound design, Animated trees, Optimizations
- BlueTemplar
- Smart Inserter
- Posts: 2831
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Watch out, getting RAM that is too fast for your motherboard might be a waste of money...
BobDiggity (mod-scenario-pack)
- BattleFluffy
- Fast Inserter
- Posts: 199
- Joined: Sun Mar 31, 2019 4:58 pm
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
omg this is an amazing FFF :D
Ian - the footsteps are creepy and awesome! Please keep going ! :D
Allaizn - the method you've used to obtain tree movement is technically totally amazing :> Thanks for the indepth explanation, it is fascinating.
The overall result is really convincing as tree movements in the wind. I think it looks a little bit speckly and pixellated though... like its in need of some antialiasing or something.
Rseding - this is really awesome. Are targeters a new idea? This sort of optimizations is really amazing for ultra late game stuff.. I wonder how big I can build now? :>
Ian - the footsteps are creepy and awesome! Please keep going ! :D
Allaizn - the method you've used to obtain tree movement is technically totally amazing :> Thanks for the indepth explanation, it is fascinating.
The overall result is really convincing as tree movements in the wind. I think it looks a little bit speckly and pixellated though... like its in need of some antialiasing or something.
Rseding - this is really awesome. Are targeters a new idea? This sort of optimizations is really amazing for ultra late game stuff.. I wonder how big I can build now? :>
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
As a comparison you might think of a family on a road trip. Formerly the child asked every second "Are we there yet?" and got a negative answer. Now the child sleeps until the parents inform it that they have arrived.
Or in a more ingame example: Train is getting unloaded and the inserter every tick goes "Is the train still here?" (destination), versus now it just continues until at some point the train tells it "I'm off" resulting in the inserter going into idle.
At least that's how I think that goes, although expressed kind of weirdly.
-
- Inserter
- Posts: 31
- Joined: Thu Aug 31, 2017 2:53 am
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
So... now that we've had these optimizations, what is now the slowest part of the Factorio tick?
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Holy crap, what a FFF! It's like you guys read my mind and got to all of the things I could have hoped for all in one week!
If I could just ask one more tiny thing. With the sound redesign, could the "listener" be changed to the engineer instead of the camera? I spend so much of my time fully zoomed out, and I fear I'll miss out on all of this great sound work. It feels very odd while playing that sounds don't play in relation to my avatar.
Thank you!
If I could just ask one more tiny thing. With the sound redesign, could the "listener" be changed to the engineer instead of the camera? I spend so much of my time fully zoomed out, and I fear I'll miss out on all of this great sound work. It feels very odd while playing that sounds don't play in relation to my avatar.
Thank you!
-
- Filter Inserter
- Posts: 463
- Joined: Tue Jun 28, 2016 2:07 pm
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
The things that you build, meaning what a given save/map is doing, will determine this at any given time.wpirobotbuilder wrote: ↑Fri Dec 06, 2019 2:39 pmSo... now that we've had these optimizations, what is now the slowest part of the Factorio tick?
The scaling factor for each entity and network of interactions would probably be non-trivial to represent for communication and understanding.
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
How about add a tree movement when the biters pass through a forest? That will be awesome to watch!
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Soooo, when do we get that update
I mean, 2.3 time faster (even if only part of the whole update) is not small !
On a side Note, there is one thing that I cannot fathom when factorio staff talk about multithreading: factorio already cut the whole map in chunks, why not making each chunk it’s own thread with its own data ? Even if that mean starting 40k+ threads, it’s not like there is a lot of interaction between chunks. And if a chunk is too small, make it a super 2x2 group of chunk : reduce border interactions.
I’m not saying put the “whatever module” into a thread, but make many mini but fully functional factorio blocks that interact one with another.
Just my external view on the thing, but i’d be interested to know if this has been ever considered by the guys doing the stuff (and what would be the reason why it’s not good).
And like always, keep on doing such a great job
I mean, 2.3 time faster (even if only part of the whole update) is not small !
On a side Note, there is one thing that I cannot fathom when factorio staff talk about multithreading: factorio already cut the whole map in chunks, why not making each chunk it’s own thread with its own data ? Even if that mean starting 40k+ threads, it’s not like there is a lot of interaction between chunks. And if a chunk is too small, make it a super 2x2 group of chunk : reduce border interactions.
I’m not saying put the “whatever module” into a thread, but make many mini but fully functional factorio blocks that interact one with another.
Just my external view on the thing, but i’d be interested to know if this has been ever considered by the guys doing the stuff (and what would be the reason why it’s not good).
And like always, keep on doing such a great job
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
I like the animated trees thing, goes nice with animated water. Though I have to wonder how long it'll be before I get sick of both of them, it's likely to give me motion sickness.
Also good news on the heat pipe optimisations, one of the largest things I see people asking with my nuclear power overhaul in my mod is "Can you do fake heat with fluid to make it less UPS hungry?".
Since fluids (in my mod) and electric are likely to far exceed heat usage in my mod, it's nice to see that in future, it'll effectively be free processing once you push the multi-threading update on this.
The only real bad thing I have to say is... Why does the main Factorio website force dark mode? that thing is pretty painful to read, Dark mode gives me optical distress.
so I posted a suggestion on the issue. viewtopic.php?f=6&t=78720
Also good news on the heat pipe optimisations, one of the largest things I see people asking with my nuclear power overhaul in my mod is "Can you do fake heat with fluid to make it less UPS hungry?".
Since fluids (in my mod) and electric are likely to far exceed heat usage in my mod, it's nice to see that in future, it'll effectively be free processing once you push the multi-threading update on this.
The only real bad thing I have to say is... Why does the main Factorio website force dark mode? that thing is pretty painful to read, Dark mode gives me optical distress.
so I posted a suggestion on the issue. viewtopic.php?f=6&t=78720
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
yay patch get!
next up is a big sticker to put on my automobile so people will be understand when I steer wildly into trees and rocks.
next up is a big sticker to put on my automobile so people will be understand when I steer wildly into trees and rocks.
-
- Fast Inserter
- Posts: 192
- Joined: Sun Oct 05, 2014 6:12 am
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
I quite want it on, but perhaps instead of a toggle you could add a slider for 'intensity' of the effect (a simple 0-N bias scale, where 0 is off (can just not run that shader then, fallback to the normal texture shader) and non-0 is a scale, can even turn it above 1.0 for a 'larger' effect (likely just adding a uniform to the shader depending on how it's all written)?
So... they are Handle's? With based on later reading appears to also have a callback mapping somehow? ^.^Targeters are a thing we created and have refined over the years for 2 main reasons:
1. They're disappear-aware pointers; when the thing you "target" is deleted, your pointer is cleared (set to nullptr).
2. They're saveable/loadable pointers; you can persist a pointer through save -> quit -> load.
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Since you're working on the sound, I always found it annoying that the car gets quieter when you zoom out. Zooming out is pretty essential to not crashing when driving, Also the engine sound is quite nice. As is I either have to crash a lot and hear the engine or not crash but don't hear anything.
Maybe make things quieter the farther away from the character they are as opposed to the farther away from the camera they are? That way distance to the car would always be 0 since you're in it.
Maybe make things quieter the farther away from the character they are as opposed to the farther away from the camera they are? That way distance to the car would always be 0 since you're in it.
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Large numbers of threads never work well; they have penalty for trying to avoid interfering with each other.MrBuisson wrote: ↑Fri Dec 06, 2019 3:09 pmOn a side Note, there is one thing that I cannot fathom when factorio staff talk about multithreading: factorio already cut the whole map in chunks, why not making each chunk it’s own thread with its own data ? Even if that mean starting 40k+ threads, it’s not like there is a lot of interaction between chunks. And if a chunk is too small, make it a super 2x2 group of chunk : reduce border interactions.
There's a new roguelike called Noita that does multithreading by splitting the world into chunks, but unfortunately I can't find the blog post on it anymore. It was something about treating the world as a checkerboard with 4 colors, and making sure chunks can only touch things half a chunk away from themselves at most. Chunks never interfere with each other in an update then. But that doesn't mean it would work well in Factorio, especially since the main limit seems to be memory not CPU.
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Awesome job again GFX guys
Now I'm excited to see what the sound guys come up with. I really would love to have some shore sounds on approach.
Now I'm excited to see what the sound guys come up with. I really would love to have some shore sounds on approach.
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
The values are not hardcoded, but instead defined by utility-constants.lua. I guess this means that an adjustment mod could be made (or you can just change them yourself in that file). The effect as it is right now is quite subtle - I'd be surprised if people end up having problems with it during normal gameplay.OvermindDL1 wrote: ↑Fri Dec 06, 2019 4:11 pmI quite want it on, but perhaps instead of a toggle you could add a slider for 'intensity' of the effect (a simple 0-N bias scale, where 0 is off (can just not run that shader then, fallback to the normal texture shader) and non-0 is a scale, can even turn it above 1.0 for a 'larger' effect (likely just adding a uniform to the shader depending on how it's all written)?
-
- Fast Inserter
- Posts: 192
- Joined: Sun Oct 05, 2014 6:12 am
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Honestly I'd imagine some people wanting to turn it up a bit. However, an adjustment mod that could dynamically change the value based on some weather conditions (for mods that have those) I've no doubt would be very welcome. ^.^Allaizn wrote: ↑Fri Dec 06, 2019 4:53 pmThe values are not hardcoded, but instead defined by utility-constants.lua. I guess this means that an adjustment mod could be made (or you can just change them yourself in that file). The effect as it is right now is quite subtle - I'd be surprised if people end up having problems with it during normal gameplay.OvermindDL1 wrote: ↑Fri Dec 06, 2019 4:11 pmI quite want it on, but perhaps instead of a toggle you could add a slider for 'intensity' of the effect (a simple 0-N bias scale, where 0 is off (can just not run that shader then, fallback to the normal texture shader) and non-0 is a scale, can even turn it above 1.0 for a 'larger' effect (likely just adding a uniform to the shader depending on how it's all written)?
-
- Inserter
- Posts: 45
- Joined: Sat Jan 21, 2017 8:19 pm
- Contact:
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Thank you Rseding for the optimizations! I can't wait to play with them!
The moving trees/water look amazing too guys
Biter footsteps were something I never really thought about but I like what you have right now!
The moving trees/water look amazing too guys
Biter footsteps were something I never really thought about but I like what you have right now!
Re: Friday Facts #324 - Sound design, Animated trees, Optimizations
Now I can't wait to see what 1.0 will look and sound like.
Just a kind reminder: animating water and trees means you have to make sound effect for them too.
Just a kind reminder: animating water and trees means you have to make sound effect for them too.