I don't know what curSubdivisionX, curSubdivisionY are in your code...
if you set the resolution high, the more info needs to be generated...
instead, smooth your sourcemap
and low down the res. This class has one problem, it makes models too
nice for Flash :)
Also, a little trick I use very often with it for the colour info,
instead of loading an heavy bitmap just to compensate the pixel look,
load half of your size, say 1000x1000 instead of your 2800x2800, and
blow it up by code say 2,8 times. you get rid of the pixel look. yet
save enough details from the 1000x1000 to look good. This work
especially well when you set the stage quality to low.
-------------------------------------
btw, for the elevation users,
just updated it this morning (got twice the request this week), you
can now update the mesh by just passing same params and a modified
source bitmap.
I plan add some rects for this in the next weeks, so say you have a
lake in the middle, and you generate the height with some perlin
magic, only the rect you will pass will be updated... but I'll come
back to it when done...
that's also the reason why you'll need to pass all params again,
instead of just pass the bitmapdata. Its just not finished yet.
Fabrice
What if the class would export the elevation array?
If you would at dev time trace the array, and save it as or in a class
then next export, you don't even need the sourcemap, you just pass the
array to the skinextrude class :)
No more parsing! No loading time! Lighter swf.
I will add for the next update to both elevation and elevationReader
this export to as3.
since I work on a demo where I use both, It should land pretty soon in
the svn.
In the meanwhile, just trace the array...
Fabrice
Fabrice