L3DT users' community
Large 3D terrain generator

Error when i try to export an heightfield imported

Please report software faults here.

Error when i try to export an heightfield imported

Postby mauronen » Sat Jan 06, 2007 8:10 am

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.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby SeerBlue » Sun Jan 07, 2007 9:40 pm

I am having the same problem with .hff files. same error in the log also. with build 2.5.0.2
SeerBlue
Check Out Me-DEM
SeerBlue
Luminary
 
Posts: 68
Joined: Thu Dec 01, 2005 12:42 am

Postby Aaron » Mon Jan 08, 2007 10:31 pm

Thanks Mauro and SeerBlue,

I'll try to fix this ASAP.

Cheers,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby Aaron » Wed Jan 10, 2007 10:26 pm

Hello,

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

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby SeerBlue » Thu Jan 11, 2007 12:33 am

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
Check Out Me-DEM
SeerBlue
Luminary
 
Posts: 68
Joined: Thu Dec 01, 2005 12:42 am

Postby Aaron » Thu Jan 11, 2007 10:49 pm

Update uploaded (v2.5 beta 3).
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby mauronen » Fri Jan 12, 2007 10:23 am

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.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Sun Jan 14, 2007 10:19 pm

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby Aaron » Mon Jan 15, 2007 10:21 pm

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby mauronen » Tue Jan 16, 2007 8:43 am

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
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Thu Jan 18, 2007 11:43 am

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby mauronen » Thu Jan 18, 2007 2:27 pm

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
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Fri Jan 19, 2007 12:34 pm

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby mauronen » Fri Jan 19, 2007 7:34 pm

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.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Sat Jan 20, 2007 10:53 am

Hi Mauro,

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

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 13 guests

cron