Aller au contenu

Photo

Heightmaps for terrain?


1 réponse à ce sujet

#1
El Codge

El Codge
  • Members
  • 153 messages
Hi,

Does anyone know if it's possible to use a greyscale heightmap to generate terrain (e.g. like from Terragen)?

I've a number of them created from a previous project that i'd like to reuse for a module i'm planning. Re-doing it all manually using the ingame displacement tools is pretty daunting at the moment, especially as i'm just learning to use the toolset.

Anyone heard or used anything like this successfully?

Modifié par El Codge, 03 décembre 2009 - 01:30 .


#2
BryanDerksen

BryanDerksen
  • BioWare Employees
  • 273 messages
We don't have any tools for the task ourselves. However, it may be a reasonable tool for a third party to put together. :)



An LVL file is an ERF with a different name. Rename it with the erf extension and you can open it up to see what's inside. I believe the terrain mesh is stored in the series of files with the .tmsh extension, with one file for each chunk of the terrain mesh. These files are GFFs, you can open them up in the GFF editor to see their structure. It looks complicated but I bet much of the complication in there comes from multiple tesselation levels and the painting of materials on the ground and such - stuff that you'd only want to do after you've already set the terrain to match your heightmap anyway.



Mind you, this isn't my field. It just looks reasonable to me that that's the way it works.