oh wait I see you do use Elevation, well as said, increase the subdivision problem being here that you want to have 2 readings per pixel, to allow linear elevation along one axis, an example would be here the generation of buildings on a map, but just assigning a rect.
I have written a routine for this, used in Prefab's MeshEdit plugin. But I have not yet wrote a class of it for 4.0 or even 3.6. It would be indeed a very valuable class, especially for game world generations. but for now, if you give an unsane subdivision, the diff from one reading to the other should give you more control on the angle Fabrice On Apr 15, 2011, at 3:17 PM, Whoa wrote: > Is there a way to control the slope of the hills in a skin extrude? > I am trying to get something similar to a building not a plateau. > When I draw two solid red rectangles on black background you would think that > the elevation would be straight up and down (no angle). > here is the original bitmap > http://jacobschatz.com/examples/away3d/elevation/elevate.png > and here is the elevation away3d created. > http://jacobschatz.com/examples/away3d/elevation/elevation.png > > heres the code > extrude = new SkinExtrude(elevate.generate(source_elevation, "r",20,20,5,5, > 1), {material:material, recenter:true, closepath:false, coverall:false, > bothsides:true, flip:true});
