Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 18

Author Topic: DFize - opensource 3D visualizer - 0.1.5 (updated 2010-08-09)  (Read 34496 times)

turboferret

  • Bay Watcher
    • View Profile

DFize, current version - 0.1.5 (updated 2010-08-09)

DFize is now open source! Located at http://code.google.com/p/dfize/.
Those interested in contributing is welcome to contact me by PM on this forum, or by email to erik@ferretize.net.
The source is messy and undocumented at the moment, but that'll hopefully change soon ;)

Download
Current version: 0.1.5
The latest build can be found here.


Shaders and a proper material system have been implemented.
Added meshes for levers and statues.

Spoiler (click to show/hide)
Spoiler (click to show/hide)

If it fails to launch with "This application has failed to start because msvcp100.dll was not found" or similar you might not have the latest 32-bit C++ redistributable. You can get it from Microsoft here http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en.

Changelog
Spoiler: Version 0.1.5 (click to show/hide)

Spoiler: Version 0.1.4 (click to show/hide)

Spoiler: Version 0.1.3 (click to show/hide)

Spoiler: Version 0.1.2 (click to show/hide)

Spoiler: Version 0.1.1 (click to show/hide)

Spoiler: Version 0.1.0 (click to show/hide)

[/spoiler]

Description
In DFize I aim to create a realtime, 3d visualizer for DF. Currently the terrain and creatures are imported and represented by cubes. Creature positions are updated in realtime.

DFize uses a modified version of DFHack for reading from DF and Irrlicht3d (irrlicht.sourceforge.net) for graphics. Currently there's only a Windows version but a Linux version is in the works.

Features
Walk around your fortress in a first-person view.
Stick the camera to one of your dwarves and follow them around doing their jobs.
Climbable stairs.
Skydome. (Thanks to http://irrlicht.sourceforge.net)

Screenshots
Common sight when sticking camera to the back of a dwarf
Spoiler (click to show/hide)

Some creatures of the underworld. We can call them cubes for now.
Spoiler (click to show/hide)

The Dwarf Fortress Galaxy. Best seen in realtime really. Looks kinda like shooting stars when dwarves dart around.
Spoiler (click to show/hide)

An updown stair.
Spoiler (click to show/hide)

The bottom of a staircase.
Spoiler (click to show/hide)

A first glance of ramps.
Spoiler (click to show/hide)

The inside of my fort's walls.
Spoiler (click to show/hide)

The collision data rendered. A pretty neat effect if you ask me :)
Spoiler (click to show/hide)

A maze of (invisible?) doom.
Spoiler (click to show/hide)

A bedroom.
Spoiler (click to show/hide)

The main hall.
Spoiler (click to show/hide)

Issues
Meshes are still rugged.
Needs better textures.
Some combinations of ramps might not be represented correctly.

Supported DF versions
Now works on 31.10. I have setup a project on Linux and the project compiles and runs. Seems to be some issues with running dfhack though. Linux version will come soon. Linux version on hold for now. Hopefully not for long though. Need to sit down with dfhack in Linux.

Controls
Move around fps-style with WASD and mouse. Press F to jump. Press space to toggle mouse-look. Hold left shift to sprint.
There's a checkbox to toggle terrain if you just want to see your dwarves in action.
There's also a listbox with all dwarves in your fortress. Left-click a name in the list to zoom to that dwarf and stick the camera to him/her.
Press F2 to take a screenshot.

I have only tried this on my Intel i7 on Windows 7 so I haven't tested compatibility or performance, but if you get low framerates try disabling terrain.



/ Erik
« Last Edit: August 09, 2010, 01:22:36 pm by turboferret »
Logged

spooq

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #1 on: July 16, 2010, 11:15:17 am »

OP needs moar screenshots :)
Logged

turboferret

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #2 on: July 16, 2010, 11:26:23 am »

OP needs moar screenshots :)

Right you are!

Common sight when sticking camera to the back of a dwarf
Spoiler (click to show/hide)

Some creatures of the underworld. We can call them cubes for now.
Spoiler (click to show/hide)

The Dwarf Fortress Galaxy. Best seen in realtime really. Looks kinda like shooting stars when dwarves dart around.
Spoiler (click to show/hide)
Logged

Shrugging Khan

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #3 on: July 16, 2010, 11:57:44 am »

My petrified brain can't quite grasp the visualisation yet, but the idea certainly pleases me greatly. I'm looking forward to it!  :D
Logged
Not a troll, not some basement-dwelling neckbeard, but indeed a hateful, rude little person. On the internet.
I'm actually quite nice IRL, but you people have to pay the price for that.

Now stop being distracted by the rudeness, quit your accusations of trollery, and start arguing like real men!

Helmaroc

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #4 on: July 16, 2010, 12:15:31 pm »

Looks pretty cool!
Logged

Oglokoog

  • Bay Watcher
  • [INTERNET_DEPENDENT]
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #5 on: July 16, 2010, 01:48:27 pm »

Cool stuff. Posting to follow.
Logged
So we got monsters above, monsters below, dwarves in the middle and a party in the dining hall. Sounds good to me.
If all else fails, remember one thing:  kittens are delicious, nutritious little goblin-baiters, cavern explorers, and ambush-finders.

turboferret

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #6 on: July 17, 2010, 05:00:54 pm »

New version out. See OP.
Logged

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #7 on: July 17, 2010, 05:06:01 pm »

would you mind explaining the concept?

turboferret

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #8 on: July 17, 2010, 05:49:14 pm »

would you mind explaining the concept?

It's a bit messy and maybe hard to see what I want to do in the long run.
The idea is that you will be able to stroll around your fortress in 3D, basicly. Maybe designate/architect in 3D mode.
Logged

Master

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #9 on: July 17, 2010, 09:04:25 pm »

Quote
This application has failed to start because msvcp100d.dll was not found.

Hmmm.
Logged

turboferret

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #10 on: July 18, 2010, 03:45:47 am »

Quote
This application has failed to start because msvcp100d.dll was not found.

Hmmm.

I haven't excluded some of MSVS default dependencies. I'll sort it out.
Logged

Agamemnon

  • Bay Watcher
  • Function - unknown
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #11 on: July 18, 2010, 04:01:03 am »

I don't get it... All I see is pixels.
Logged
Glossary #52
Execution shaft aka. dwarven wormhole

Works as follows: Things enter one end, emerge at the other and then get eaten by worms.

shibdib

  • Bay Watcher
  • How much for Goat?
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #12 on: July 18, 2010, 04:02:39 am »

i will use this.. once it makes more sense then trying to play without a tilseset
Logged

Oglokoog

  • Bay Watcher
  • [INTERNET_DEPENDENT]
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #13 on: July 18, 2010, 05:58:07 am »

i will use this.. once it makes more sense then trying to play without a tilseset
Playing without a graphics set is perfectly possible and is, in fact, far easier than attempting to make out what the hell you are looking at from a tiny, low-quality picture.

Also, OP, I wouldn't suggest making it possible to control the game from within the program. That would eventually lead to making a full UI and Toady doesn't like that.
Logged
So we got monsters above, monsters below, dwarves in the middle and a party in the dining hall. Sounds good to me.
If all else fails, remember one thing:  kittens are delicious, nutritious little goblin-baiters, cavern explorers, and ambush-finders.

turboferret

  • Bay Watcher
    • View Profile
Re: DFize - Realtime visualizer (Dwarven spacesim?)
« Reply #14 on: July 18, 2010, 06:03:11 am »

Also, OP, I wouldn't suggest making it possible to control the game from within the program. That would eventually lead to making a full UI and Toady doesn't like that.
You're right. That's not something I would want to do either. The perfect scenario would be if this could just run alongside DF, requiring no input, showing a cinematic view of fights/parties or whatever else is happening in the fortress.
Logged
Pages: [1] 2 3 ... 18