Page 1 of 1

CMapWrap::LinInterp error:

PostPosted: Sun Dec 31, 2006 8:28 pm
by piratelord
When creating a lightmap, the very last row of pixels on the generating shadows process always comes up with the below message for each point.

I'm using 2.4.2.21, 2048x2048 RAW files. As a result, the final texture along the bottom of the texture map is shaded daker.


CMapWrap::LinInterp error:
- cannot get any pixels for point (2046.500732, -1.499268)

Any ideas? At the moment it's not a big problem, since that point is the edge of a map and underwater (I'm doing a tiled atlas landscape), but eventually it'll be on land above water, and would need manually sorting out.

PostPosted: Tue Jan 02, 2007 12:22 am
by Aaron
Hi Piratelord,

Was the error thrown during the shadow-casting or the actual lighting? Also, which angles were you using for the sun azimuth and elevation? Finally, were there any errors that followed the LinInterp error? I'll try to fix this one ASAP.

Cheers,
Aaron.

PostPosted: Wed Jan 03, 2007 7:36 pm
by piratelord
During the shadow casting. I was using x2 resolution for it.

Direction 0, Elevation 60

No errors after it reported an error for each pixel along the bottom. Everything else worked fine.

PostPosted: Wed Jan 03, 2007 10:45 pm
by Aaron
Thanks Piratelord,

I'll sort this out tonight if I get a spare moment, or otherwise early next week.

Cheers,
Aaron.

PostPosted: Fri Jan 05, 2007 2:29 am
by Aaron
Hi Piratelord,

The latest installer on the pro downloads page (v2.5 beta 2) has the fix for this bug. An installer for the standard edition will be up on Monday.

Cheers,
Aaron.

PostPosted: Fri Jan 05, 2007 6:27 pm
by piratelord
Hi Aaron,

I'm always impressed with your dedication to the users of L3DT and the speed of which you implement things.

I'll give this a go.

PL