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.

Postby Tormentor667 » Sun Jan 02, 2005 2:50 pm

@giest - Thx, but how does this work in ZDoom?
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Postby Nmn » Sun Jan 02, 2005 3:01 pm

It doesn't, tough some wish it did.
User avatar
Nmn
Just lurking about...
 
Joined: 16 Apr 2004

Postby farlowj » Mon Jan 03, 2005 9:27 pm

Try the map, it somewhat works, if you set the thing heights. It won't be as good as Far Cry or newer games, but for Zdoom, it looks pretty awesome.
farlowj
If at first you don't succeed, skydiving is not for you.
 
Joined: 16 Feb 2004
Location: Michigan

Postby Lexus Alyus » Tue Jan 04, 2005 6:05 am

Holy crap, almost felt like I was playing Mechwarrior 2 or one of thosde older 3D games (That's a good thing BTW) :D. How would one get this to cover a far greater area? I can see good things coming if we canmake the area far bigger.

:twisted:
User avatar
Lexus Alyus
One day, I may actually release something...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

Postby Chilvence » Tue Jan 04, 2005 6:11 am

From what I understand, you'd need an extra byte in the linedefs structure to add much more, which isn't going to happen...

Unless someone can devise a way to use slope things without requiring a reference line. Maybe a hack to use the first line in the sector that isnt connected directly to the slope thing itself? That would work fine for triangular sectors.
User avatar
Chilvence
I had been waiting for Doomscript....
 
Joined: 11 Aug 2003

Postby Nmn » Tue Jan 04, 2005 11:34 am

It's bad You can't make slopes by raising vertices and sloping the plane from that. Then it would be very easy to just criss-cross a large area with an isometric grid-like sector arrangement (or traingular sectors) and just manipulate vertices to raise/lower hills.
User avatar
Nmn
Just lurking about...
 
Joined: 16 Apr 2004

Postby Lexus Alyus » Wed Jan 05, 2005 10:27 am

Yeah, that would be cool... kinda like a 2D 3D editor or something :D.

:twisted:
User avatar
Lexus Alyus
One day, I may actually release something...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

Postby BetaSword » Wed Jan 05, 2005 6:02 pm

I actually had that idea a while ago, and thought that it would be really cool to have something like that available in Doom Builder or something. Like, have the normal view for mapping, 3D view for texturing, and then an isometric view of the grid for adjusting heights of sectors and slopes and such. Of course, for this to work well in Zdoom, the slopes themselves would need to be reworked to allow for more control over them, as right now making complex sloped figures is a bit difficult.
User avatar
BetaSword
Riding my Colossus
 
Joined: 02 Jul 2004
Location: Doing some stuff.

Postby Risen » Wed Jan 05, 2005 6:58 pm

Hmm... what about an "elevate nearest vertex' thing?
User avatar
Risen
 
Joined: 08 Jan 2004
Location: N44°30' W073°05'

Postby Agent ME » Wed Jan 05, 2005 7:56 pm

Vertexes have no z-coordinate.
User avatar
Agent ME
Title Not Found
 
Joined: 22 Mar 2004
Location: California, USA
Discord: Macil#5633
Twitch ID: macil_tech
Github ID: Macil

Postby Risen » Wed Jan 05, 2005 8:09 pm

Obviously. If they did, this discussion would not be happening.
User avatar
Risen
 
Joined: 08 Jan 2004
Location: N44°30' W073°05'

Postby Chilvence » Wed Jan 05, 2005 8:46 pm

Good idea Risen, but I can see it becoming overly complicated when you are making a heightmap since you will need loads of height things around each vertex, and must make sure all of them match (if you want it to look right). Also, you still need at least one point of reference to slope from, so you would have to have a sister vertex height thing on the opposite end of the sector.

It would be much more convenient to have a vertex thing that you can place directly on top of a vertex, but there is a problem with this. The height of a thing is relative to the sector it is in, and vertexes arent really linked to any particular sector. That means sloping one sector up to meet with a flat, higher sector would be impossible, since the game would either slope all the sectors around the vertex or pick a random one...

However, if it was done so that the game only took into account triangular sectors that are all connected by vertexes that have slope things on them, I think it might be potentially possible to implement. It still sounds like it would be ridiculously difficult though, I'm having trouble just trying to work out the basic theory...

It would have to first check through every sector to find the ones with only three sidedefs. Then find the corresponding linedefs, then find all the vertexes connected to these linedefs and remember which sector they are connected to, then collect the location of all the slope things and work out which vertexes they are on top of, and only then would you have enough information to actually calculate the slopes....

Unless anyone knows a better way to find out which vertexes are in a given sector?
User avatar
Chilvence
I had been waiting for Doomscript....
 
Joined: 11 Aug 2003

Postby Lexus Alyus » Thu Jan 06, 2005 6:59 am

Maybe such a feature could be embedded into ZDoom itself, like the build engine... This would be cool if randy made zdoom not only the game, but the editor to. This would allow for far more complex things without relying on outside tools... of course, randies work load would increase at least 4 fold :D.

:twisted:
User avatar
Lexus Alyus
One day, I may actually release something...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

Postby ReX » Wed May 18, 2005 10:16 am

Just noticed this old topic about heightmaps, and I thought I'd bump it up the line, as it's now quite relevant to the discussion on the terrain generator for ZDooM.

I looked at farlowj's heightmap wad and it looks very cool. I'm off to try kappes buur's tutorial on creating heightmaps and see if I can give the terrain generator a whirl.
User avatar
ReX
Title? I don't need no steenkin' title!
 
Joined: 05 Aug 2003
Location: Quatto's Palace

Postby Lexus Alyus » Wed May 18, 2005 1:29 pm

From what i've seen, the terrain generator is very impressive.

:twisted:
User avatar
Lexus Alyus
One day, I may actually release something...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

PreviousNext

Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 0 guests