Off Topic > Games

Dwarf Fortress Megathread! - Necro'd enough to count as a vampire

Pages: << < (164/403) > >>

Doomonkey:


--- Quote from: Jacob/Lee on August 21, 2011, 06:54:51 PM ---Just make sure she isn't a dabbling/novice swimmer, for the love of god. Make sure she has good endurance.

--- End quote ---
Lol, I died, but I made sure to end the process.

Jacob/Lee:

Ambushing is great, if you're good enough you can seriously sit 3 tiles away from someone filling their back with arrows.

Doomonkey:


--- Quote from: Jacob/Lee on August 21, 2011, 07:02:09 PM ---Ambushing is great, if you're good enough you can seriously sit 3 tiles away from someone filling their back with arrows.

--- End quote ---
Yeah, the wiki tells me to train swimming and ambushing at the same time. I am swimming very sneakily.

Spiderobot:


--- Quote from: blaman on August 21, 2011, 05:56:43 PM ---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.

--- End quote ---

Sorry to rain on your parade, but I honestly don't think that a GPU is faster than a CPU. A fast GPU renders data around 700mhz, where a cpu can go up too and can easily succeed 3000mhz. Although, GPU's do have their own RAM built into the chip which increase the speed and aren't affected by interruptions. Although turning a GPU into a mathematical processing system and having it run faster than a CPU which's sole purpose is to process that sort of stuff seems incredibly unlikely. Also, coding that into dwarf fortress is incredibly time consuming, buggy and hard. It would be far better if multi threading was introduced.

blaman:


--- Quote from: Spiderobot on August 21, 2011, 07:42:33 PM ---Sorry to rain on your parade, but I honestly don't think that a GPU is faster than a CPU. A fast GPU renders data around 700mhz, where a cpu can go up too and can easily succeed 3000mhz. Although, GPU's do have their own RAM built into the chip which increase the speed and aren't affected by interruptions. Although turning a GPU into a mathematical processing system and having it run faster than a CPU which's sole purpose is to process that sort of stuff seems incredibly unlikely. Also, coding that into dwarf fortress is incredibly time consuming, buggy and hard. It would be far better if multi threading was introduced.

--- End quote ---
A GPU is a massively parallel processing unit. It crunches a lot of numbers, very fast.
The speed difference is brought about because a GPU has an enormously large number of transistors, many many more then a CPU. This introduces the large clock speed difference, but again the GPU can still process numbers faster then the CPU.
A CPU is built for general purpose operations. It can do a lot more things then a GPU instruction wise, but the fewer things a GPU can do it does them a hell of a lot faster.

I would also like to say that this probably wouldn't be much more difficult to do then multithreading. If a game isn't designed with multithreading in mind from the ground up, it's a rather large undertaking to make it multithreaded.


Pages: << < (164/403) > >>

Go to full version