This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Heightmap compatability  (Read 1985 times)

aaglo

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Heightmap compatability
« on: March 05, 2014, 01:54:41 am »
So I remember reading a thread somewhere about development of heightmap importation, did this ever happen?  Was it not implemented due to lack of demand?

I have a bunch of heightmaps I was planning on using for another game, but would love to try rendering them in WoW.


Thanks,

Aaglo
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: Heightmap compatability
« Reply #1 on: March 05, 2014, 08:06:05 am »
I guess there is no tools for doing it. However, Taliis has something similar to this but it won't work properly with wotlk adts.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Heightmap compatability
« Reply #2 on: March 05, 2014, 01:58:13 pm »
There is no grayscale heighmap importer. You can import and export height data with futa to copy height from one adt to another. Usefull to repaire adts as you can also copy texture and models with futa and loadinfo/fileinfo.

The problem with heightmaps are the smal resolution of such images. even if you use 16bit you only have 65535 height value steps and wows z distance is much bigger.

So a simple importer will not help. You need a 3d application where you can load the grayscale image, rotate it and set different parameters. Like the projection height of the image. The start position of the darkest colore and perhaps also an nonlinear value for lower and heigher color range to create very deep sea or heigher mountains without changing the med surface.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

aaglo

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: Heightmap compatability
« Reply #3 on: March 05, 2014, 04:10:48 pm »
I believe your looking for the .xyz filetype.
It uses a grey scale image in combination with, well x,y, and z, coords to allow importation/exportation of more precise terrain data.   Also, its plenty possible to allow importation of 16 or even 8bit raw data as a template, and then edit that in game. I would think its impossible to get the wow terrain 'feel' through heightmap manipulation alone.  There are plenty of terrain generation kits out there some of which I use for other games which would let you pre-gen the overall structure of the terrain, then import into noggit, edit to taste.  Depending on how well the implantation of importation is you could also remove the issue with the lack of depth by forming a gradiant between each pixel of the imported image so as to connect the 'steps' that you get when importing low quality heightmap data. Its also fairly easy to rip real-world heightmap data, edit it, and come out with decent 8bit results at massive scale (400kx400k).

Bundysoft makes a 3d heightmap editor called L3DT, which you may be familiar with, it also can export to a few other formats which might make it a perfect candidate for heightmap>wow conversions.  Could also use its 'attribute map' function to allow pre-texturing of surfaces done with the l3dt texture calculator tool, thus saving time.

There something to be said for the random quality of wow maps, but I want to try and test out the possibilities of  having more realistic terrain, especially for pvp areas.  You could theoretically import an entire european nation or a hawaiin island and create a tribal hawaiian style pvp server based on the real world data, tribes, village location etc.  Dunno, just a cool feature.

Only issue I could see is would you import a fairly large heightmap as the basis for the 'project', and chose to divide from there, or import the heightmap for each separate map you build. Each has various pros and cons.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Heightmap compatability
« Reply #4 on: March 05, 2014, 11:50:05 pm »
The problem is not to create heighmaps.  It is the import.  There is no tool.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

aaglo

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: Heightmap compatability
« Reply #5 on: March 06, 2014, 11:08:55 am »
Quote from: "Steff"
The problem is not to create heighmaps.  It is the import.  There is no tool.
It looks like in this thread from last year you did attempt to add a importer, did it never work, or was it abandoned?
viewtopic.php?f=3&t=531&start=10

I agree there is no tool right now, but why wouldn't it eventually be added as a feature to noggit directly?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Heightmap compatability
« Reply #6 on: March 06, 2014, 05:02:05 pm »
I think not in sdl.  If,  then in new core.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954