Search found 6 matches

by JDA
Wed Jun 17, 2009 7:22 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

Now this seems to work! The borders are still ugly, but the holes are filled. Thanks a lot, this could be a step forward :)
by JDA
Wed Jun 17, 2009 6:20 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

Tested the thing without smoothing, this is what i got:

http://tsu-nami.de/delete_MUELL/screen/no_smooth_01.jpg

http://tsu-nami.de/delete_MUELL/screen/no_smooth_02.jpg

As you can see, the holes still exist. The open seams by the way don't exist in the flat parts of the heightmap with no ...
by JDA
Wed Jun 17, 2009 12:12 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

Yes, i did example 12, which i based my stuff on. I tried the example heightmap which also gives strange results since it is 256x256. After rescaling it to 257x257 to avoid the borders being cut off, getting the same strange effects.
I will try different bit depths (already tried greyscale indexed ...
by JDA
Tue Jun 16, 2009 6:39 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

Tried it with 129x129 maps, still the same strange results.

The code building my terrain scene nodes looks like this (need much much improvement - but i am still at beginner level :) ):

if(TileCount == 9) //9 tiles 3x3 - currently maximum
{
//init working temp variable.
iTileTmpCounter = 1 ...
by JDA
Tue Jun 16, 2009 4:43 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

I am using a set of nine 257x257 bmp greyscale images to create my meshes.

As I wrote, I already use 257x257 heightmaps. That doesn't seem to fix the thing. At the moment, I load the map like this:

scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode(
"heightmap.bmp"

If i load from ...
by JDA
Tue Jun 16, 2009 3:38 pm
Forum: Beginners Help
Topic: Another problem with terrain borders...
Replies: 12
Views: 858

Another problem with terrain borders...

Hello,

I am working on generating multiple patches of terrain (3x3 or 2x2 matrices) which should be seamlessly aligned to each other. I am using a set of nine 257x257 bmp greyscale images to create my meshes. I load the needed data for LOD, Terrain size etc. directly from an xml file.

The problem ...