News for hackers. Stuff that matters.
Re:Show HN: 2D Isometric Editor by mcphage on Monday November 13, 2017 @11:42AM (#15687746)
That looks nice but without any instructions on how to install it or generate that sample—or even what format of data it wants for the elevation data—I'm not really sure what kind of useful comment I can make on the project itself.
Re:Show HN: 2D Isometric Editor by Grille on Monday November 13, 2017 @12:18PM (#15688040)
I have revised the readme, now everything important should be in it.
Re:Show HN: 2D Isometric Editor by revx on Monday November 13, 2017 @05:17PM (#15690795)
How did you do water in the demo gif? It's not listed as one of the available textures...
Re:Show HN: 2D Isometric Editor by eximius on Monday November 13, 2017 @06:32PM (#15691256)
Textures are the index of this array: https://github.com/Grille98/2D-isometricEditor/blob/f7fe5398...

[grass, dirt, sand, stone, dark grass, water, grass, wall 1, wall 2, wall 3, wall 4, window 1]

Re:Show HN: 2D Isometric Editor by abritinthebay on Monday November 13, 2017 @06:37PM (#15691281)
Looks like there are a bunch more possible:

https://github.com/Grille98/2D-isometricEditor/blob/f7fe5398...

Re:Show HN: 2D Isometric Editor by bencollier49 on Monday November 13, 2017 @11:53AM (#15687837)
I wonder whether the Dwarf Fortress user community would find that useful. Certainly the code could be repurposed..
Re:Show HN: 2D Isometric Editor by lytedev on Monday November 13, 2017 @12:49PM (#15688326)
At a first glance, it looks like it only handles heightmaps, while dwarf fortress is more voxel-esque. Interiors might not (currently) be handled by this program.
Re:Show HN: 2D Isometric Editor by danielvf on Monday November 13, 2017 @11:25PM (#15692651)
DFvakso has the outside world / big picture. A height map would handle this just fine.
Re:Show HN: 2D Isometric Editor by katastic on Monday November 13, 2017 @05:21PM (#15690839)
Well, there are already 3-D renderers for DF so I'm not sure what another one will add just by virtue of existing.

(Not trying to sound like a dick here, I mean this genuinely.)

Re:Show HN: 2D Isometric Editor by rlopezcc on Monday November 13, 2017 @01:09PM (#15688517)
That's really nice. And reminds me about this thing[0] I made when Firefox 3D view was available.

[0] https://github.com/rlopezcc/hexadom Edit: Formatting.

Re:Show HN: 2D Isometric Editor by mrguyorama on Monday November 13, 2017 @12:53PM (#15688357)
Wow, this is closely related to what I was thinking of doing.

Tracks in the racing simulator Assetto Corsa are simple 3D model files that have had a few hand modified additions using the editor distributed by the developers.

I wanted to take Elevation data and turn it into a big file of polygons, and then lay a road on top of that using freely available shapefiles that describe roadways, giving the user a smoother surface to drive on. I could either texture polygons using some land use data from the same shapefiles, or using satellite imagery.

Re:Show HN: 2D Isometric Editor by adyus on Monday November 13, 2017 @12:46PM (#15688301)
Nice! Here's an interesting idea:

You could use a grayscale height map and apply textures based on relative or absolute height. Tallest point on the map? Must be a mountain. Cluster of points lower than the mean or median? Could be a lake or river.

Essentially, it would emulate real world feature distributions.

Re:Show HN: 2D Isometric Editor by Grille on Monday November 13, 2017 @01:02PM (#15688443)
In a very early version even something like that was built in, I could actually bring in as an option again
Re:Show HN: 2D Isometric Editor by clebio on Monday November 13, 2017 @05:37PM (#15690944)
The foreshortening seems off. The taller mountain is much taller when at the back, but roughly the same height as the other when at the front.

Just a small concern; looks pretty cool!

Re:Show HN: 2D Isometric Editor by bluedino on Monday November 13, 2017 @08:15PM (#15691792)
It's an isometric projection, not perspective
Re:Show HN: 2D Isometric Editor by moron4hire on Monday November 13, 2017 @08:29PM (#15691849)
That is an optical illusion, if you are seeing that. Isometric view is a rectilinear, not perspective view. Apparent object size will not have any change in the z-axis, so there should not be any foreshortening.
Re:Show HN: 2D Isometric Editor by hbk1966 on Monday November 13, 2017 @07:22PM (#15691524)
I think you're right, it looks like it's growing as it rotates away.
Re:Show HN: 2D Isometric Editor by supernintendo on Monday November 13, 2017 @11:44PM (#15692737)
Neat. Would be useful as a Unity plugin which might not be to hard to achieve as it’s already written in C#.
Re:Show HN: 2D Isometric Editor by jason_slack on Tuesday November 14, 2017 @12:28AM (#15692898)
cocos2d-x mobile game engine (www.cocos2d-x.org) might benefit from developers being able to export to it.
Re:Show HN: 2D Isometric Editor by googletazer on Monday November 13, 2017 @11:53AM (#15687834)
Looks really cool, how can I run it?
Re:Show HN: 2D Isometric Editor by oceanghost on Monday November 13, 2017 @01:08PM (#15688508)
What frameworks are you using? Having some trouble fitting VueSJ and ThreeJS together. COuld be curious to know your approach
Re:Show HN: 2D Isometric Editor by Grille on Monday November 13, 2017 @01:12PM (#15688546)
this project is pure C# it only uses .net 4.0

or what do you mean? Vue JS and Three JS are javascript frameworks.

Re:Show HN: 2D Isometric Editor by onion2k on Monday November 13, 2017 @03:24PM (#15689876)
three.js is quite well suited to things like terrain generation. There's actually an example in the official docs - https://threejs.org/examples/webgl_terrain_dynamic.html - it wouldn't take much effort to swap out the noise generator for a heightmap.
Re:Show HN: 2D Isometric Editor by kroltan on Monday November 13, 2017 @01:58PM (#15689055)
Webdev kneejerk reaction I guess, haha.

Everything is web nowadays! Kudos for making a standalone application.

Re:Show HN: 2D Isometric Editor by oceanghost on Wednesday November 15, 2017 @10:18AM (#15704324)
Drunk Haskell guy actually. :)
Re:Show HN: 2D Isometric Editor by tomc1985 on Monday November 13, 2017 @01:54PM (#15688999)
C# and its world might as well be a foreign language to some here...
Re:Show HN: 2D Isometric Editor by oceanghost on Monday November 13, 2017 @04:32PM (#15690454)
Lol, my apologies I misunderstood the title :-D
Re:Show HN: 2D Isometric Editor by graphememes on Monday November 13, 2017 @02:22PM (#15689308)
sensible chuckle
Re:Show HN: 2D Isometric Editor by Itheyln on Monday November 13, 2017 @01:20PM (#15688623)
Any way to run on OSX?
Re:Show HN: 2D Isometric Editor by Grille on Monday November 13, 2017 @01:27PM (#15688700)
maybe with mono, I have not tried that yet.