It happens on those blocks close to camera. (higher detial LODs). It seems like the Some vertice with same height (y). But the correct display would be different heights.
Thank you for help.
steve
------------------------------------------
The following is the config file setting.
DetailTile=3
PageSource=Heightmap
Heightmap.image=course1.raw
Heightmap.raw.size=1025
Heightmap.raw.bpp=2
Heightmap.flip=true
PageSize=1025
TileSize=65
MaxPixelError=10
PageWorldX=1025
PageWorldZ=1025
MaxHeight=500
MaxMipMapLevel=5
VertexNormals=yes
"Stair" artifact error while using Terrain Scene M
-
y721
- Gremlin
- Posts: 153
- Joined: Mon Nov 08, 2004 3:15 am
- Location: Taiwan
-
DWORD
- OGRE Retired Moderator

- Posts: 1365
- Joined: Tue Sep 07, 2004 12:43 pm
- Location: Aalborg, Denmark
Is it the same problem discussed in this thread? If so, you can find the solution here.
-
y721
- Gremlin
- Posts: 153
- Joined: Mon Nov 08, 2004 3:15 am
- Location: Taiwan
-
sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
Chances are your data doesn't have enough precision in it. I see you're using RAW, which is correct, but maybe you converted it from an 8-bit source? 8-bit values can't handle large height ranges without significant aliasing. This will also make the LOD really crap because everything is far too jagged.
I've personally used 16-bit heightmaps with large ranges without any problems, but you _must_ make sure that your original data uses that range appropriately, and the transitions are gradual enough. 'Stairs' are caused by graduations in colour that are not smooth enough, exaggerated by scaling them because you're using too large a height. Your height is 50% of your height / width, which is excessive.
I've personally used 16-bit heightmaps with large ranges without any problems, but you _must_ make sure that your original data uses that range appropriately, and the transitions are gradual enough. 'Stairs' are caused by graduations in colour that are not smooth enough, exaggerated by scaling them because you're using too large a height. Your height is 50% of your height / width, which is excessive.
-
y721
- Gremlin
- Posts: 153
- Joined: Mon Nov 08, 2004 3:15 am
- Location: Taiwan
I believe that my test raw file is 16 bits. I use photoshop with 16 bits. It displays correctly.
It might be the graduation is not enough. I will check the 'Leveller' setting to get better detail. Does any one recommend Terrain generation tool besides Leveller?
I believe that the max height setting is not related to width, right? As long as I provide enough graduations.
thank you, sinbad, I will try some more raw files.
It might be the graduation is not enough. I will check the 'Leveller' setting to get better detail. Does any one recommend Terrain generation tool besides Leveller?
I believe that the max height setting is not related to width, right? As long as I provide enough graduations.
thank you, sinbad, I will try some more raw files.
-
sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67