Bay 12 Games Forum

Please login or register.

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

Author Topic: Obsidian: A new DF 3D visualizer toolset  (Read 65821 times)

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #30 on: May 24, 2010, 02:59:09 pm »

Simple solution - ensure the intermediate format allows you to save an opaque data block and dump the source memory in there :)

On other news, I stand victorious over the beaten form of OSG. Behold!

V0.03
Spoiler (click to show/hide)

That shows Obsidian rendering the example glider from OSG.

I also hooked up the mouse and keyboard handlers, so as long as the rendering window has focus you can use all of the default OSG controls to manipulate the model, change rendering options (shadows etc).

Next up is getting a basic version of DFHack running, so that we can start bringing in the awesome from DF
« Last Edit: May 24, 2010, 03:49:05 pm by Skeggox »
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

Locriani

  • Bay Watcher
  • Locriani == Briess
    • View Profile
    • dwarf fortress wiki
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #31 on: May 24, 2010, 03:13:46 pm »

Host your images on the wiki.
Logged
I am one of many administrators of the wiki.  Please use my user page (http://dwarffortresswiki.org/index.php/User_talk:Briess) on the wiki to contact me, as I check that more often than these forums.

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #32 on: May 24, 2010, 03:20:46 pm »

That's acceptable usage? Nice :)
Lemme go set that up.
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

smjjames

  • Bay Watcher
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #33 on: May 24, 2010, 03:23:06 pm »

You can also use tinypic.

Give photobucket a try, they're pretty good.
Logged

Locriani

  • Bay Watcher
  • Locriani == Briess
    • View Profile
    • dwarf fortress wiki
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #34 on: May 24, 2010, 03:33:44 pm »

That's acceptable usage? Nice :)
Lemme go set that up.

As long as it's related to dwarf fortress, it can fly.  I also don't limit bandwidth usage.
Logged
I am one of many administrators of the wiki.  Please use my user page (http://dwarffortresswiki.org/index.php/User_talk:Briess) on the wiki to contact me, as I check that more often than these forums.

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #35 on: May 24, 2010, 03:52:12 pm »

I've created a wiki page for Obsidian - http://df.magmawiki.com/index.php/Utility:Obsidian
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #36 on: May 24, 2010, 07:37:00 pm »

V0.04
Spoiler (click to show/hide)

Obsidian now has a DFHack module and can successfully attach to Dwarf Fortress!
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

Djohaal

  • Bay Watcher
  • [PREFSTRING:Utter Insanitiy]
    • View Profile
    • My deviantart
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #37 on: May 24, 2010, 07:55:42 pm »

Great!  :D

How do you plan to genarate the geometry? a new approach from zero or recycle the stuff that visual fortress used? I found VF's approach with that random noise map and stuff genius work to give the terrains a more natural feel.
Logged
I really want that one as a "when". I want "grubs", and "virgin woman" to turn into a dragon. and monkey children to suddenly sprout wings. And I want the Dwarven Mutant Academy to only gain their powers upon reaching puberty. I also have a whole host of odd creatures that only make sense if I divide them into children and adults.

Also, tadpoles.

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #38 on: May 24, 2010, 08:47:45 pm »

At this point I plan to recycle VF's approach, with Perlin noise and everything. Although, I don't know how the difference between his custom renderer and OSG will affect the implementation. I'm pretty sure OSG has their own noise generators, etc.

Just finishing up the DFHack bindings, so that I have something to test the geometry generator on.

I had a nice super long weekend, but work starts again tomorrow, so expect the progress to slow down a wee bit :(
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

Duuvian

  • Bay Watcher
  • Internet ≠ Real Life
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #39 on: May 25, 2010, 05:50:22 am »

This sounds cool. What kind of kitten do you want?
Logged
FINISHED original composition:
https://app.box.com/s/jq526ppvri67astrc23bwvgrkxaicedj

Sort of finished and awaiting remix due to loss of most recent song file before addition of drums:
https://www.box.com/s/s3oba05kh8mfi3sorjm0 <-zguit

DKS

  • Bay Watcher
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #40 on: May 28, 2010, 07:18:05 am »

I don't have any skills to actually help, but I'd like to say this project looks awesome.
Logged

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #41 on: May 28, 2010, 02:40:38 pm »

Mosey on over to this thread http://www.bay12forums.com/smf/index.php?topic=57923.0 and vote for the Obsidian logo.
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.

Chronas

  • Bay Watcher
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #42 on: May 29, 2010, 01:48:17 am »

This seems incredibly ambitious but i love the idea of a modular visualisation tool for DF
Logged
He he he.  Yeah, it almost looks done...  alas...  those who are in your teens, hold on until your twenties...  those in your twenties, your thirties...  others, cling to life as you are able...
It should be pretty fun though.

soundandfury

  • Bay Watcher
  • Code monkey
    • View Profile
    • Just to the Left of Venus (aka dev-null)
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #43 on: May 29, 2010, 02:58:20 pm »

Any kind of a way I could get started on coding a module to export the terrain as a DF Designer map?
For instance, have you sorted out an interface yet for modules?  (Or better still, is the Obsidian source on a public repo?)

It's just that 'terrain import' is, like, my top requested feature.
Logged
It's maths, it must be true!
DF Designer

Skeggox

  • Bay Watcher
  • Likes obsidian for its shinyness
    • View Profile
Re: Obsidian: A new DF 3D visualizer toolset
« Reply #44 on: May 29, 2010, 10:25:46 pm »

Any kind of a way I could get started on coding a module to export the terrain as a DF Designer map?
For instance, have you sorted out an interface yet for modules?  (Or better still, is the Obsidian source on a public repo?)

It's just that 'terrain import' is, like, my top requested feature.

Alas, Obsidian source is not yet in a public repo. I have to sort out a few things before I can do that.

As to the module interfaces, there is no set interface. An Obsidian module is nothing more than a Lua module/package, either written in pure Lua, a Lua shared library or a mixture of the two.

The only real interfaces will be with the rendering engine (which I still need to design) and the internal Cell engine - which I'm working on right now. The Cell engine will represent a fortress as a collection of C++ objects, exposed through Lua. It will start with an xml and binary serializer, but you are more than welcome to write a Lua module that will export to a DF Designer map.

I still need to nail down the internal representation of a fortress - it will directly affect the interface and available operations. I'll create a wiki page with the latest version of the representation and where we can discuss what info needs to be in it.

I haven't yet looked into the internals of DF, i.e. how terrain is represented, etc., so any input from anyone who has done that before will be MUCH appreciated.
Logged
Dwarf Fortress - "It's like if Tolkien taught your Geology 101 class, but you were drunk and playing the Sims during the lecture. Then you had a dream that got them all confused."

Obsidian 3D Visualizer Toolset - http://df.magmawiki.com/index.php/Utility:Obsidian
A Lua-riffic collection of modules to render, manipulate, save and generally mess with your forts.
Pages: 1 2 [3] 4 5 ... 15