Author Topic: Dwarf Fortress Megathread! - Necro'd enough to count as a vampire  (Read 135082 times)

OH HAHAHAHAHAHA

Try making 2x2 rooms next time!
OH HAHAHAHAHAHA

Try not be an obnoxious ass next time! I want my rooms to be really nice and don't give a stuff what you say!

OH HAHAHAHAHAHA

Try not be an obnoxious ass next time! I want my rooms to be really nice and don't give a stuff what you say!
I thought it was cool, and you can always subdivide.

I dislike that design, that's something I would use as my stockpile design :p

OH HAHAHAHAHAHA

Try not be an obnoxious ass next time! I want my rooms to be really nice and don't give a stuff what you say!

It's cool and all, but I hope you're going to have a bunch of dwarves living in one room at a time. Dwarves only like small, cozy areas that they're packed into, or else they're going to eventually riddle their room with stuff and go crazy due to depression.

I think the devs should have a go at offloading some of the simulation workload onto the graphics card. I mean, a graphics card is basically a massively parallel processor, it does absolutely huge amounts of number crunching extremely quickly. And the graphics card is hardly being used in the game, but as it is there's a hugeeeeee amount of load dumped on the CPU.

For the sake of being correct, there is a single dev.

For the sake of being correct, there is a single dev.
Well, a single dev and an idea guy, but yeah.

I think the devs should have a go at offloading some of the simulation workload onto the graphics card. I mean, a graphics card is basically a massively parallel processor, it does absolutely huge amounts of number crunching extremely quickly. And the graphics card is hardly being used in the game, but as it is there's a hugeeeeee amount of load dumped on the CPU.

So you want the game to take as much graphic memory as it does CPU?

So you want the game to take as much graphic memory as it does CPU?
It would use the GPU as a second CPU.

So you want the game to take as much graphic memory as it does CPU?
The GPU is much much faster at doing thousands of calculations extremely quickly compared to the the CPU, even when it's not for rendering things.
Dwarf Fortress does a huge amount of small calculations for everything from path finding to water flow simulation to dwarven psychology etc etc, if all that load was shifted from the CPU to the GPU, because the GPU is effectively totally free in the game, then I would expect the game would get a huge boost in fps.

As an example for clarification, take something like a graphics shader, which is a simple program that does a bit of math to modulate colours for every pixel on the screen, every frame. It can run on a graphics card thousands upon thousands of times per second, achieving hundreds of frames per second on the screen. If you write a similar shader to run on the CPU, you would be lucky to get maybe 0.5 frames per second.
Take the same idea and apply it to the simulation in the game. On newer graphics cards this is totally possible, and not exceedingly difficult to do.


The GPU is much much faster at doing thousands of calculations extremely quickly compared to the the CPU, even when it's not for rendering things.
Dwarf Fortress does a huge amount of small calculations for everything from path finding to water flow simulation to dwarven psychology etc etc, if all that load was shifted from the CPU to the GPU, because the GPU is effectively totally free in the game, then I would expect the game would get a huge boost in fps.

As an example for clarification, take something like a graphics shader, which is a simple program that does a bit of math to modulate colours for every pixel on the screen, every frame. It can run on a graphics card thousands upon thousands of times per second, achieving hundreds of frames per second on the screen. If you write a similar shader to run on the CPU, you would be lucky to get maybe 0.5 frames per second.
Take the same idea and apply it to the simulation in the game. On newer graphics cards this is totally possible, and not exceedingly difficult to do.
You should drag this over to the suggestions section of Bay 12.

I know for a fact Toady has either pushed away multi-core completely or until a much later date, however.


He has a point, are you going to fill up a whole z level with rooms for 20 dwarfs, or fill up one for 200?

It's cool and all, but I hope you're going to have a bunch of dwarves living in one room at a time. Dwarves only like small, cozy areas that they're packed into, or else they're going to eventually riddle their room with stuff and go crazy due to depression.
He has a point, are you going to fill up a whole z level with rooms for 20 dwarfs, or fill up one for 200?
Well, it started with the standard design I've been using for each floor based on this guy's videos http://www.youtube.com/user/4Deman


Then I decided to make it beautifully large. I could always break up some of the rooms into smaller rooms, if I feel the need. Maybe I'll do that and leave the end caps for nobles.


I think I will do that.
make a 2x hallway down each room and divide the sides in half.
I'd end up with two 4x4 and two 4x5 rooms in each bigger room.

Which means I should be set on rooms for a while.