Jump to content

error on importing heightmap


subabrain

Recommended Posts

Hello Friends,


i have a question again :roll:


i create a heightmap with l3dt pro and want to import it to torque via "Import Terrain Heightmap".

And then i get the following error in console:


"Height map must be square and power of two in size!"


Could you help me?


Would be very nice :)


Greetz

Robert

Link to comment
Share on other sites

You know what power of two means?

Like 1024x1024 is power of two and square, so you have to chose one of the following formats:

256x256, 512x512, 1024x1024x 2048x2048 or 4096x4096 I think those are all the formats that work.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,


before this post is old - i just want to say, how i do the perfect terrain...


1: generate terrain with l3dt with 1024 x 1024 pixels

2: export the texture map, the heightmap and the normal map from l3dt (with export -> map ...)

3: import the heightfield in torque 3d with the "import terrain height map" option in the world editor.

4: add the heightmap you made with l3dt and in texture map just add the exported texturemap

5: in the import editor just add the whole texturemap and the normal map from l3dt

6: now just play arround a bit - and there it is ;)


8-)


Greetz

Robert

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...