ubOde change terrain min height to -100m. Maybe this way a viewer dev mays fix rendering below 0m, like making them think z = 1m for that purpose, for example
parent
c53658248a
commit
39c8db8eb1
|
@ -2170,8 +2170,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||||
yy += regionsizeX;
|
yy += regionsizeX;
|
||||||
|
|
||||||
val = heightMap[yy + xx];
|
val = heightMap[yy + xx];
|
||||||
if (val < 0.0f)
|
if (val < -100.0f)
|
||||||
val = 0.0f; // no neg terrain as in chode
|
val = -100.0f;
|
||||||
_heightmap[xt + y] = val;
|
_heightmap[xt + y] = val;
|
||||||
|
|
||||||
if (hfmin > val)
|
if (hfmin > val)
|
||||||
|
@ -2279,8 +2279,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||||
xx++;
|
xx++;
|
||||||
|
|
||||||
val = heightMap[yy + xx];
|
val = heightMap[yy + xx];
|
||||||
if (val < 0.0f)
|
if (val < -100.0f)
|
||||||
val = 0.0f; // no neg terrain as in chode
|
val = -100.0f;
|
||||||
_heightmap[yt + x] = val;
|
_heightmap[yt + x] = val;
|
||||||
|
|
||||||
if (hfmin > val)
|
if (hfmin > val)
|
||||||
|
|
Loading…
Reference in New Issue