Jump to content
Sign in to follow this  
DieAngel

Visitor crash when loading heghtmap

Recommended Posts

I made my 16 bits png file for the heightmap but when i try to lad it , visitor silently crash.

Share this post


Link to post
Share on other sites

-edit-

What program did you export it from last?

Share this post


Link to post
Share on other sites

yeah as Opteryx said what program did you export it from and how does your terrain.pbl look like?

-V

Share this post


Link to post
Share on other sites

i used photoshop to make the png file, here is my pbl:

class cfg

{

PNGfilename="terrain.png";

squareSize=20.000000;

originX=0;

originY=0;

minHeight=-07.420013;

maxHeight=2710.000000;

};

2710 is to fit with the real life highest point of my heightmap

Share this post


Link to post
Share on other sites

Yeah, as far as I've seen PS does something weird to the png's so you might have to open it up in Wilbur then save it as 16 bit png there. This however might corrupt/pixelate your heightmap some.

Also does your heightmap dimensions correlate with your Terrain Grid size? Usually PS saved heightmaps doesn't crash V3, but compress them 50% horizontally.

If anybody knows how to save/export a png from PS and use it straight into Visitor I'd like to hear it, I certainly haven't been able to do so yet.

Share this post


Link to post
Share on other sites
Yeah, as far as I've seen PS does something weird to the png's so you might have to open it up in Wilbur then save it as 16 bit png there. This however might corrupt/pixelate your heightmap some.

Also does your heightmap dimensions correlate with your Terrain Grid size? Usually PS saved heightmaps doesn't crash V3, but compress them 50% horizontally.

If anybody knows how to save/export a png from PS and use it straight into Visitor I'd like to hear it, I certainly haven't been able to do so yet.

you must save your ps ,png ,in gray scale,even thougth it is in gray it self .go to{ image /mode/grayscale,it will say discard color if this is not done it will push your map to one side in v3. hope that helps smile_o.gif

Share this post


Link to post
Share on other sites
you must save your ps ,png ,in gray scale,even thougth it is in gray it self .go to{ image /mode/grayscale,it will say discard color if this is not done it will push your map to one side in v3. hope that helps smile_o.gif

Yeah I've tried that, but as I said my png gets compressed by 50 % horizontally. It's a real shame because PS is a good height map editor in some respects.

-edit-

Buuuut now it doesn't any more apparently... crazy_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×