3d model to greyscale heightmap
Moderator: Moderators
3d model to greyscale heightmap
Anyone ever tried that?
My idea was to model the terrain in wings3D and then create the heightmap from that.
There is a "depth" shader in wings3d, so that faces further away from the camera are black and near faces are white. But there is no way to controll the "range" of that so it is very hard to get a real greyscale heightmap with it, either everything is all white or all black. Tried playing with height differences, camera distance and all that but did not manage a good result.
Is there a way to it with free software only?
Only find some forum posts about doing it in 3d max and they are mostly fail ie
http://forums.cgsociety.org/showthread.php?t=901756
My idea was to model the terrain in wings3D and then create the heightmap from that.
There is a "depth" shader in wings3d, so that faces further away from the camera are black and near faces are white. But there is no way to controll the "range" of that so it is very hard to get a real greyscale heightmap with it, either everything is all white or all black. Tried playing with height differences, camera distance and all that but did not manage a good result.
Is there a way to it with free software only?
Only find some forum posts about doing it in 3d max and they are mostly fail ie
http://forums.cgsociety.org/showthread.php?t=901756
Re: 3d model to greyscale heightmap
I thought I remember Picasso doing a few maps like that, maybe he can help out.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: 3d model to greyscale heightmap
I have in the past. I find that for the work a painter is much easier than setting up the 3d and rendering and re rendering. Also the rendering sometimes has issues if you don't remove all the shadows and other default 3d rendering settings.
Re: 3d model to greyscale heightmap
Xnormal, render heightmap, make the output 16 bits.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: 3d model to greyscale heightmap
xnormal? this: http://www.xnormal.net/Tutorials.aspx ??
wow what an awesome tool.
great find behe
behe: do you use this for map shadows too? if so how do you do it?
wow what an awesome tool.
great find behe
behe: do you use this for map shadows too? if so how do you do it?
Re: 3d model to greyscale heightmap
Xnormal rocks, its originally designed to bake very high poly models onto low poly ones, but does a wonderful ao bake as well.
To use xnormal to render a 16bit, 100% true heightmap, do the following:
Export your full rez mesh as obj, and make a flat plane object that is the same size as your map. Make sure this model is the same dimensions and is placed at the lowest point of your heightmap mesh.
Then you can easily 'bake' your high poly map mesh onto the texture of the plane you just made, at any precision you desire (make sure to use 16bit png output, 8 bits just wont cut it at this scale).
Bob: I dont use it for map shadows, I use world machine for all my map lighting needs, though a few of my more recent maps have featured map-wide ambient occlusion faked through the use of Xnormal.
To use xnormal to render a 16bit, 100% true heightmap, do the following:
Export your full rez mesh as obj, and make a flat plane object that is the same size as your map. Make sure this model is the same dimensions and is placed at the lowest point of your heightmap mesh.
Then you can easily 'bake' your high poly map mesh onto the texture of the plane you just made, at any precision you desire (make sure to use 16bit png output, 8 bits just wont cut it at this scale).
Bob: I dont use it for map shadows, I use world machine for all my map lighting needs, though a few of my more recent maps have featured map-wide ambient occlusion faked through the use of Xnormal.
Re: 3d model to greyscale heightmap
MeshMapper can bake displacement maps too


Re: 3d model to greyscale heightmap
sorry for the resurrection of an old thread, but... blender can render to 16bpp per channel tiff images at 2048x2048 easily..(for the height map) although sculpting a mesh thats 2048x2048 verts does take a chunk of ram(more than i have) and worked a lot better if you use the multirez modifyer, or even make it in parts.knorke wrote:Anyone ever tried that?
My idea was to model the terrain in wings3D and then create the heightmap from that.
There is a "depth" shader in wings3d, so that faces further away from the camera are black and near faces are white. But there is no way to controll the "range" of that so it is very hard to get a real greyscale heightmap with it, either everything is all white or all black. Tried playing with height differences, camera distance and all that but did not manage a good result.
Is there a way to it with free software only?
Only find some forum posts about doing it in 3d max and they are mostly fail ie
http://forums.cgsociety.org/showthread.php?t=901756
for textures it can also render in segments so I tried the other day and successfully rendered a 32768x32768 dimensioned image in 1024x1024 segments and stitched it together with imagemagick on a core i5 with 4 gig of ram.

Re: 3d model to greyscale heightmap
I prefer mudbox for very fast making of grayscale hightmap, it is also nice option to use worldmachine for some predefined surface efects like erosion and more...
Got no problem with 10k*10k map... but this is my question...
I know that I can use only 32 and its <do not know the english word> 128/256/512/1024 etc. but what is the higer resolution that I can use with spring??
Got no problem with 10k*10k map... but this is my question...
I know that I can use only 32 and its <do not know the english word> 128/256/512/1024 etc. but what is the higer resolution that I can use with spring??
Re: 3d model to greyscale heightmap
Maps that are 32*32 are the practical limit (which means a heightmap of 2049*2049 and textures of 16ki*16Ki), anything larger will probably not play too well. The engine limit is higher than that, but you will start running into issues.
Enetheru: World machine does tiled renders too :D
Enetheru: World machine does tiled renders too :D
Re: 3d model to greyscale heightmap
thx for reply, that means that the max resolution is 2k? I don't get a point... is the 3d heightmap res and from it i can generate 16k grayscal hightmap to cover all noise and efect(cover as mutch poly as possible)?
At world machine it's render take a lot more time then do it in mudbox... but it can make an "mozaic" (cut to quaters) texture (I think that only pro version can handle it)
Sorry 4 my english...
At world machine it's render take a lot more time then do it in mudbox... but it can make an "mozaic" (cut to quaters) texture (I think that only pro version can handle it)
Sorry 4 my english...
Re: 3d model to greyscale heightmap
Haha yeah I stick to floss exclusively. I bet there are tons of proprietary specialist solutions that make incredible tools for the job, I just won't pirate them and I prefer to spend my money on booze yeah!Beherith wrote:Enetheru: World machine does tiled renders too :D