L3DT users' community
Large 3D terrain generator

Error when i try to vertically resample an heightfield

Please report software faults here.

Error when i try to vertically resample an heightfield

Postby mauronen » Thu Jan 11, 2007 2:14 pm

Hi Aaron. Your nightly nightmare is back :D .
Another bug. When i try to vertically resample a Terrage imported heightfield, in Error Log appears this:
Code: Select all
CMapWrap::SetPixel error:
 - invalid coordinates

CMapWrap::SetPixel error
 - call to SetPixel failed for mipmap


but it seems that concerns about mipmap generation and don't affects heightfield resampling.

Best regards.

Mauro
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

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

Thanks for the bug report Mauro.

The mipmaps are only used for the display at the moment, so if there's an error in setting mipmap pixels it shouldn't affect anything else. What I suspect has happened here is that the mipmaps weren't destroyed when the map was resized, so the dimensions of the mipmaps were wrong (thus a SetPixel error).

I'll upload a fix next week.

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 14 guests

cron