addTerrainSceneNode output bug

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
idrose1025
Posts: 17
Joined: Mon May 08, 2006 8:58 am

addTerrainSceneNode output bug

Post by idrose1025 »

Hello

I do not well English.

So, I am sorry.

However, have many interests.

I found problem while I use addTerrainSceneNode.

Click
http://cafefiles.naver.net/data24/2006/ ... result.jpg

Left of original image >>> 15 pixels disappear

Under original image >>> 15 pixels disappear

Do you realize this bug?

Do you understand method to solve this problem and join?

I want to understand method to solve this problem.

Need your wisdom.

Thank you for reading.[/url]
Nalin
Posts: 194
Joined: Thu Mar 30, 2006 12:34 am
Location: Lacey, WA, USA
Contact:

Post by Nalin »

Your image does not exist anymore. I can not view it.
I can make a guess about your problem, though.

Make sure your heightmap image size is n^2+1 by n^2+1.
IE, 33x33, 65x65, 129x129, and so on.
idrose1025
Posts: 17
Joined: Mon May 08, 2006 8:58 am

Post by idrose1025 »

I used this size. 256 x 256

What is normal size of height map?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The sizes have to be (2^n)+1, so in your case 257x257 pixels. This would also require the 32bit patch since such heigtmaps create too many vertices. So better use 257x129 or similar sizes.
Post Reply