Page 1 of 1

Features do not get rendered

Posted: 23 Feb 2006, 11:08
by Cyberwal
I made a small (10x10) test map and mapconv finishes it nicely without any features.. but as soon as I try to put on trees or geos it just doesn't finish, it stays at "Rendering 4 features". When I force quit it after some minutes I still have an smt and smf file, but only see one tree when I open the map in spring..

Am I just not patient enough or am I doing something wrong? the file dimensions are 5120x for the texture, 641x for the metal and height map and 640x for the feature map and I used the color codes from the mapconv readme.

Posted: 23 Feb 2006, 11:13
by Das Bruce
Try a different size, like 513 for heightmap and 4096 for texture.

Posted: 23 Feb 2006, 11:44
by Cyberwal
Won't downsizing the texture make the map smaller?
Edit: Tried downsizing all the bitmaps, just get the same behaviour..

Posted: 23 Feb 2006, 12:26
by Cyberwal
uhh.. do I have to place mapconv.exe in the spring directory?
It certainly seems so. Works now, wee

Posted: 23 Feb 2006, 13:30
by mufdvr222
No you don`t, and mapconv will not work if its in a directory with a space in the name.

Posted: 23 Feb 2006, 13:41
by Cyberwal
The path has no space in the name, and putting it in the spring folder worked, strangely.. but it still crashes from time to time when compiling, what do I have to look out for when placing features? Never pot two next to each other, or is that only for geos? Something else?

Posted: 23 Feb 2006, 19:56
by Das Bruce
And not on the edge either, but don't quote me on that one.

Posted: 23 Feb 2006, 20:08
by mother
Das Bruce wrote:And not on the edge either, but don't quote me on that one.
Just because mapconv will let you put things in bad locations doesn't mean that Spring will deal with them. 8)

Cyberwal: 640x640 should be good for the feature map. Make sure you have a black background, and you are using single pixels of 'good' colors...
Could you cut and paste the output from mapconv?

Posted: 23 Feb 2006, 21:19
by aGorm
Also... map conv dont liek it if you place trees or geos in the middle of a patch of water (though strangly sometimes lets you get away with it...), I often found I had my feature map upsidedown which would totaly screw up mapcon as things were in "imposible" places.

Also... dont put down solid patches of trees... a 10 x 10 splodge would be 100 trees, a 20 x 20 would be 400, you can easly place way to many without realising it!! I always fad out my tree colour layers and then switch to dither (so it dithers soild pixels, insted of alphaing them)

Also, sometimes map conv just goes funny (i made same map with no changes 3 times, each time atleast one of the geos had turned into 6 geos)

aGorm

Posted: 23 Feb 2006, 22:43
by Cyberwal
Das Bruce wrote:And not on the edge either, but don't quote me on that one.
I removed the ones at the edge, those which were possibly under water and those which were too close to the geos, then it worked.
mother wrote:Just because mapconv will let you put things in bad locations doesn't mean that Spring will deal with them. 8)

Cyberwal: 640x640 should be good for the feature map. Make sure you have a black background, and you are using single pixels of 'good' colors...
Could you cut and paste the output from mapconv?
It deleted the bitmap which caused the errors, so I can only give you one when that happens again, but I remember it said something like

Code: Select all

Found Geo 1(Coordinates) (Smilieface)
Found Geo 2(Coordinates) (Smilieface)
and then it crashed
aGorm wrote:Also, sometimes map conv just goes funny (i made same map with no changes 3 times, each time atleast one of the geos had turned into 6 geos)

aGorm
Yeah I had that too, one geo turned into three.. I placed the geo-pixel on another location and it worked. I thought it might have something to do with the fact that the feature-map has different dimensions and it was caused by the 'resizing'..