# 3D visualizer

**URL:** <https://discourse.cataclysmdda.org/t/3d-visualizer/2215>\
**Category:** The Lab\
**Created:** [July 14, 2013, 11:34pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215 "2013-07-14T23:34:45Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [July 17, 2013, 1:16pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/21 "2013-07-17T13:16:33Z")

</div>

This looks cool!

---

<div class="post-metadata">

**Author:** ![stone94](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@stone94](https://discourse.cataclysmdda.org/u/stone94)\
**Post date:** [July 17, 2013, 3:06pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/22 "2013-07-17T15:06:05Z")

</div>

> [@CIB](#):
>
> [quote=“Otaku, post:16, topic:2215”]I mean, we dont want some game critic complaining that we are just a minecraft rip off.

You’d care about that? Because I wouldn’t. Visualizing a roguelike with z-levels will inevetible look like minecraft(well… MORE blocky, in fact), though it’d be arrogance to assume that minecraft has dibs on that visual style.

Anyway, a lot of people like ASCII, so that won’t go away anytime soon. And tiles will probably be the bigger contestor anyway.[/quote]  
add the 3d with tiles and it will be no contest GOTY

---

<div class="post-metadata">

**Author:** ![p0ss](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@p0ss](https://discourse.cataclysmdda.org/u/p0ss)\
**Post date:** [July 23, 2013, 11:00am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/23 "2013-07-23T11:00:41Z")

</div>

Hey CIB, great work!

May I ask, what kind of hardware are you running on? and is there much room for optimization within the code?

Maybe there is some code you could borrow from Noteye? (as suggested in the tilset thread) [http://www.roguetemple.com/z/noteye.php](http://www.roguetemple.com/z/noteye.php)

Finally, would having an artist help? I’m happy to help out with a custom tileset if you could use it.

---

<div class="post-metadata">

**Author:** ![AerialK7](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@AerialK7](https://discourse.cataclysmdda.org/u/AerialK7)\
**Post date:** [July 23, 2013, 11:33am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/24 "2013-07-23T11:33:34Z")

</div>

_dat accent, are you from Germany?_

But yeah xD It looks really cool, especially with driving, id love rolling in a deathmachine seeing zombies get crushed infront of me.

---

<div class="post-metadata">

**Author:** ![CIB](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cib/32/903_2.png) [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Post date:** [July 23, 2013, 1:55pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/25 "2013-07-23T13:55:15Z")

</div>

> [@p0ss](#):
>
> May I ask, what kind of hardware are you running on?

I’m running it on my laptop. 2ghz core i7 + Intel HD 4000. Also linux with really shoddy graphics drivers. =P

> and is there much room for optimization within the code?

Yes, probably. I’m not a very experienced graphics programmer. Currently the whole thing is just being rendered in direct mode, so no use of fancy stuff like VBOs or tesselation. I don’t think it’ll be needed though unless we extend the view range a fair bit.

> Maybe there is some code you could borrow from Noteye? (as suggested in the tilset thread) http://www.roguetemple.com/z/noteye.php

Maybe. Learning enough about a project’s source code to rip out the parts you’d like to have is usually more work than it’s worth though.

> Finally, would having an artist help? I'm happy to help out with a custom tileset if you could use it.

We will soon have tileset support, and I plan to integrate that into the visualizer once it’s done. 3d models might be awesome to have, but I think tilesets come first.

---

<div class="post-metadata">

**Author:** ![p0ss](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@p0ss](https://discourse.cataclysmdda.org/u/p0ss)\
**Post date:** [July 23, 2013, 10:12pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/26 "2013-07-23T22:12:07Z")

</div>

Ok, well I’ll stick to the tileset for the moment, but if you decide you need some 3D models, just let me know. I’d also suggest that [opengameart.org](http://opengameart.org) has a fair amount of 3D models which may be useful for placeholders and testing, and also has a requests section. In particular I’d direct you towards the 3D terrain tilesets for OpenDungeons and FLARE, and to the modern objects/vehicles from UFO:AI. The wonderful thing about having all these open source games is that they can all build off each other.

[http://opendungeons.sourceforge.net](http://opendungeons.sourceforge.net)  
[http://flarerpg.org](http://flarerpg.org)  
[http://ufoai.org](http://ufoai.org)

What sized textures do you think would best suit your blocks? I had been making 32x, since thats a decent work/reward size for tiles, and much bigger than the current ascii. Based on the screen real estate though, it looks like you’ll be wanting 64x, or maybe even 128x in the driving mode on a larger screen. Any indication of what kind of impact larger textures and/or 3d models might have on performance? I’ve released a bunch of open licensed 1024x tiling textures w/ normal maps, probably not suited to this game, but they’d be a good test of the performance impact.

> **[30 Grass Textures (Tilable)](https://opengameart.org/content/30-grass-textures-tilable)**
>
> This pack contains 5 different grass textures which were pictures originally taken by titus tscharntke, I found them on burning well under a creative commons licence. I reduced them to 1024x1024, made them seamlessly tilable, created a few variations...

---

<div class="post-metadata">

**Author:** ![Zenone](https://avatars.discourse-cdn.com/v4/letter/z/7bcc69/32.png) [@Zenone](https://discourse.cataclysmdda.org/u/Zenone)\
**Post date:** [December 5, 2013, 5:18pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/27 "2013-12-05T17:18:26Z")

</div>

omg, this 3d really need an UP  
or maybe this discussion is takin’ place in another thread that i miss?

---

<div class="post-metadata">

**Author:** ![infectedmochi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/infectedmochi/32/206_2.png) [@infectedmochi](https://discourse.cataclysmdda.org/u/infectedmochi)\
**Post date:** [December 6, 2013, 1:01am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/28 "2013-12-06T01:01:41Z")

</div>

Looks nice, with a suitable title this could be very nice indeed.

---

<div class="post-metadata">

**Author:** ![Binky](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Binky](https://discourse.cataclysmdda.org/u/Binky)\
**Post date:** [December 8, 2013, 9:57pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/29 "2013-12-08T21:57:14Z")

</div>

Fantastic work!!  
Also, I really think this could actually become the best/easiest way to play when Z-levels are in. I already get stuck knowing which parts of cars I can walk over, and having a 3d representation would make that much easier. Plus, it’d add to the tension if you couldn’t have the perfect awareness of a top down 2d view.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [December 8, 2013, 10:05pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/30 "2013-12-08T22:05:00Z")

</div>

I LIKE IT

---

<div class="post-metadata">

**Author:** ![Zenone](https://avatars.discourse-cdn.com/v4/letter/z/7bcc69/32.png) [@Zenone](https://discourse.cataclysmdda.org/u/Zenone)\
**Post date:** [December 11, 2013, 10:35am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/31 "2013-12-11T10:35:24Z")

</div>

is there a link to download the pre-compiled version?

---

<div class="post-metadata">

**Author:** ![Uneron](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/uneron/32/89_2.png) [@Uneron](https://discourse.cataclysmdda.org/u/Uneron)\
**Post date:** [December 12, 2013, 9:28pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/32 "2013-12-12T21:28:51Z")

</div>

Wow, very nice!

---

<div class="post-metadata">

**Author:** ![youtoo](https://avatars.discourse-cdn.com/v4/letter/y/779978/32.png) [@youtoo](https://discourse.cataclysmdda.org/u/youtoo)\
**Post date:** [December 13, 2013, 5:48pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/33 "2013-12-13T17:48:33Z")

</div>

they could be very useful with z levels.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [February 20, 2014, 8:31pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/34 "2014-02-20T20:31:34Z")

</div>

Bumping because reasons.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [February 21, 2014, 8:12am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/35 "2014-02-21T08:12:11Z")

</div>

I’d love to get my hands on a compiled version of this… or for this to make it into the master repo…

---

<div class="post-metadata">

**Author:** ![Iosyn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/iosyn/32/35_2.png) [@Iosyn](https://discourse.cataclysmdda.org/u/Iosyn)\
**Post date:** [February 21, 2014, 8:13am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/36 "2014-02-21T08:13:15Z")

</div>

Yeah… think we could get this thread stickied? I think more people need to know about this, we might get some extra help.

---

<div class="post-metadata">

**Author:** ![CIB](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cib/32/903_2.png) [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Post date:** [February 21, 2014, 2:57pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/37 "2014-02-21T14:57:28Z")

</div>

Once SDL2 goes in, this’ll be easier to merge into master. However, it would still require about 2 days or so of work to fix up, and for the next 5 weeks, I won’t have the time(maths exams).

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [February 21, 2014, 5:39pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/38 "2014-02-21T17:39:18Z")

</div>

> [@CIB](#):
>
> Once SDL2 goes in, this’ll be easier to merge into master. However, it would still require about 2 days or so of work to fix up, and for the next 5 weeks, I won’t have the time(maths exams).

Great to hear from you again!

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [February 21, 2014, 8:44pm UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/39 "2014-02-21T20:44:19Z")

</div>

Damn exams.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [March 28, 2014, 12:38am UTC](https://discourse.cataclysmdda.org/t/3d-visualizer/2215/40 "2014-03-28T00:38:30Z")

</div>

Necroing this because I really want to see how this turns out.

[Previous page](https://discourse.cataclysmdda.org/t/3d-visualizer/2215.md?page=1)

[Next page](https://discourse.cataclysmdda.org/t/3d-visualizer/2215.md?page=3)
