Heightmap

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Heightmap

Post by farlowj »

Does anyone know of one that can make heightmaps for ZDoom? If not, can someone make one perhaps? Or is it too complicated? I would help me to make some terrain, you know, so I don't waste my time doing something and realize it looks like crap.
User avatar
Nmn
Posts: 4629
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

Heightmaps? Are they supported in Zdoom? That would be awesome for terrains and whatnot, but my doubts are higher than my hopes :|
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Post by farlowj »

I don't know if they are possible, just curious. I mean, with the slope things, couldn't you do something of the sort?
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

anyone mind telling me what a heightmap is?
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Post by farlowj »

Sure. As far as I know, a heightmap takes a grayscale bitmap and makes a 3d like model of it. White is higher areas, black is lower. So you don't have true 3d (which is why I'm asking if it can be done in ZDoom) but you have the map split into triangles to make hills and stuff. If you have played any new games, they have heightmaps. FarCry, probably Doom3 in the outdoor parts, UT2004, and others. It makes it easier to make realistic outdoor environements without drawing every triangle by hand. Does that help?
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

I think I understand, and no it isn't compatable with zdoom :P
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

oh god i wish ZDoom could do that...

i had thought of this before but i thought it would be too hard to code so i never mentioned it
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

Think somebody could make a script that takes a heightmap and converts it into sloped sectors for pasting into a new WAD?
User avatar
Phoenix
Posts: 344
Joined: Tue Sep 28, 2004 4:49 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Location: Canada

Post by Phoenix »

could, but at least in my experience slopes become messy and difficult when used for 'natural' things. it's possible i just don't know how to use them right though :P
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

Wouldn't heightmaps add tremendous overhead to WAD size?? You'd have to store a large graphic (larger than 512x 512 I imagine, and I have never successfully imported one larger than that) as the heightmap, depending on the area you want to recreate...

It looks like you'll be making the slopes by hand for a while at least! :D
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

Maybe as an alternative, instead of using slopes to "smooth" the terrain, one could use the heightmap and write a program that interprets these and adds several sub-sectors with differing heights based on the intensity of the gray color. It could be easy to do - but then again, I don't know how Doom's map format works.
User avatar
CodeImp
Posts: 456
Joined: Sun Dec 28, 2003 7:40 pm
Location: Netherlands
Contact:

Post by CodeImp »

I have done a little bit like this, look at my unfinished map and walk over the flesh path in the lave into the dark cave. In there you will see how the floor "curves" downwards. This is done with triangulated terrain (and so are the edges of the flesh path in the lava). However, I did not use a heightmap, just did it by hand (time consuming precision work, yes).
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Seems like a better feature for a map editor than for ZDoom.
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Well it's nice to see that code imp actually uses doombuilder instead of making it for others too
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Post by Macil »

?
Locked

Return to “Editing (Archive)”