Hello !
I succeeded in creating elevation using tutorials.
but now I need to apply elevation to sphere.
I know it has to do something with combining sphere mesh with
SkinExtrude, or am I wrong ?
Don`t have the skills to get there my self (jet) , so please any help
appreciated.
Thank you.
mySphere = new Sphere( { radius:150, segmentsW:30, segmentsH:30,
material:earthMaterial } );
var sphere_mesh:Mesh = (mySphere as Mesh);
var material:WireColorMaterial = new WireColorMaterial();
var elevation:Elevation = new Elevation();
var verticies:Array = elevation.generate(heightmap, "r", 20, 20, 5, 5,
1);
extrude = new SkinExtrude(verticies, {coverall: true, material:
material});