starlike
06-11-2005 08:49:01
Sorry for poor english...
I could see texture discontinuity as follows:
So, I modified one of the terrain texture(ps_texture_1k.1.1.png) to see what is happening in detail. See the modified texture below:
The outline of 1 pixel width is fill with black, and the next inner 1 pixel is filled with red.
And the result is like this.
Left top:
Right top:
Left Bottom:
Right Bottom:
Full view:
It seems that the top and left border of the texture are rendered correctly
but the bottom and right look like missing some part of texture,
in this case the outer black line is totally missing.
I guess this missing part of texture could make the discontinuity.
Any idea?
About the test environment,
- Ogre Source : 1.0.5 Azathoth source code release (not from CVS)
- PLSM2: Ogre 1.05 SDK compatible PLSM2 source from http://tuan.kuranes.free.fr/OgreSDKplsm2source.7z
- The terrain(ps_height_1k) is generated using mapsplitter.
I used PageSize=257 instead of PageSize=513 from original file included in the PLSM2 source package.
Also, I modified some contents of ps_height_1k.cfg as below:
Width=4
Height=4
PageSize=257
- I've tested the original configuration, and this discontinuity is also shown.
I could see texture discontinuity as follows:
So, I modified one of the terrain texture(ps_texture_1k.1.1.png) to see what is happening in detail. See the modified texture below:
The outline of 1 pixel width is fill with black, and the next inner 1 pixel is filled with red.
And the result is like this.
Left top:
Right top:
Left Bottom:
Right Bottom:
Full view:
It seems that the top and left border of the texture are rendered correctly
but the bottom and right look like missing some part of texture,
in this case the outer black line is totally missing.
I guess this missing part of texture could make the discontinuity.
Any idea?
About the test environment,
- Ogre Source : 1.0.5 Azathoth source code release (not from CVS)
- PLSM2: Ogre 1.05 SDK compatible PLSM2 source from http://tuan.kuranes.free.fr/OgreSDKplsm2source.7z
- The terrain(ps_height_1k) is generated using mapsplitter.
I used PageSize=257 instead of PageSize=513 from original file included in the PLSM2 source package.
Also, I modified some contents of ps_height_1k.cfg as below:
Width=4
Height=4
PageSize=257
- I've tested the original configuration, and this discontinuity is also shown.