Page 1 of 1

Error when i try to export an heightfield imported

PostPosted: Sat Jan 06, 2007 8:10 am
by mauronen
Hi Aaron.
When i try to export an heightfield previously imported in Terragen format and after applied filter diffusion, in Error Log appear this:
Code: Select all
CVarList::GetVar error
 - VarTag is zero-length

GetFormatListVar error:
 - cannot get map type for ID 200 (lpMapName = '')


and, in the wizard panel i can't select nothing.

Cheers.

Mauro.

PostPosted: Sun Jan 07, 2007 9:40 pm
by SeerBlue
I am having the same problem with .hff files. same error in the log also. with build 2.5.0.2
SeerBlue

PostPosted: Mon Jan 08, 2007 10:31 pm
by Aaron
Thanks Mauro and SeerBlue,

I'll try to fix this ASAP.

Cheers,
Aaron.

PostPosted: Wed Jan 10, 2007 10:26 pm
by Aaron
Hello,

I've found the fault and fixed it. An update should be ready early next week.

Best regards,
Aaron.

PostPosted: Thu Jan 11, 2007 12:33 am
by SeerBlue
Thanks Aaron,it is good to see a dev who's "pat" answer is one that users of his app are happy to hear, certainly excellant support. SeerBlue

PostPosted: Thu Jan 11, 2007 10:49 pm
by Aaron
Update uploaded (v2.5 beta 3).

PostPosted: Fri Jan 12, 2007 10:23 am
by mauronen
Hi Aaron.
I try to describe this strange behaviour when i want export an heightfield splitted into mosaic:
    1.File > Export > Active map... (an imported Terragen heightfield)
    2.Check Split map into mosaic
    3.Type a name for mosaic map
    4.Click Next>>
    5.In Mosaic map settings panel select Terragen and leave blank Map name

Now try to click <<Prev and Next>> and will appear this:
Code: Select all
CVarList::GetVar error
 - VarTag is zero-length


Besides, in the list of export formats is disappeared Terragen format

Cheers.

Mauro.

PostPosted: Sun Jan 14, 2007 10:19 pm
by Aaron
Hi Mauro,

Ah, that's a different bug - or at least it's different to the one that I claim to have fixed. I'll get right on it.

Best regards,
Aaron.

PostPosted: Mon Jan 15, 2007 10:21 pm
by Aaron
Okay, let's try that again: The update has been uploaded, and it really should fix this bug this time. I apologise for the delay.

Cheers,
Aaron.

PostPosted: Tue Jan 16, 2007 8:43 am
by mauronen
Hi Aaron.
Unfortunately this issue is still present:
1.File > Export > Active map... (an imported Terragen heightfield)
2.Check Split map into mosaic
3.Type a name for mosaic map
4.Click Next>>
5.In Mosaic map settings panel select Terragen and leave blank Map name


Now try to click <<Prev and Next>> and will appear this:
Code: Select all
CVarList::GetVar error
 - VarTag is zero-length

Besides, in the list of export formats is disappeared Terragen format


Cheers.

Mauro

PostPosted: Thu Jan 18, 2007 11:43 am
by Aaron
Hi Mauro,

Thanks for the detailed instructions. Needless to say, I hadn't tried to export as a mosaic, clear the map name, hit '<< prev', then hit 'next >>', but I'm very glad there is someone as vigilant as yourself in the users' community checking for my mistakes. This turned out to be a fault in a subroutine that is supposed to ignore the map name field when it's empty, but it only checked for a null string pointer, not a zero string length. Anyhoo, it's fixed in the next release (really!)

Cheers,
Aaron.

PostPosted: Thu Jan 18, 2007 2:27 pm
by mauronen
Hi Aaron.
Thanks for your compliments. It's part of my job to test software (professional deformation :D ).

Ah, don't forget this little issue http://www.bundysoft.com/phpBB2/viewtopic.php?t=406

PostPosted: Fri Jan 19, 2007 12:34 pm
by Aaron
Hi Mauro,

I've uploaded the fix for the 'VarTag is zero-length' problem, but the other little issue has yet to be fixed as I've not yet been able to reproduce it. Can you tell me which map size you were using, and the settings you applied when modifying the vertical scale?

Best regards,
Aaron.

PostPosted: Fri Jan 19, 2007 7:34 pm
by mauronen
Hi Aaron.
Map size is 4097x4097 (is 1 tile of 4, result of L3DT splitting of 8192 x 8192 original map). Format used is Terragen.
I've imported it into GeoControl v1.13 that, actually, has a great limit: it respan the heightfield from 0 to 3760 meters. So i've applied some filters, then i've re-exported it again in Terragen format.
Then i've re-imported it into L3DT and i've vertical upscaled with this range: -1574 / 19899. When i click Ok Error Log fills with a bunch of messages like this:
Code: Select all
CMapWrap::SetPixel error
 - call to SetPixel failed for mipmap

CMapWrap::SetPixel error:
 - invalid coordinates


Cheers.

Mauro.

PostPosted: Sat Jan 20, 2007 10:53 am
by Aaron
Hi Mauro,

Thanks for the info. I've reproduced the bug and I'll fix it ASAP.

Best regards,
Aaron.