java - Detecting non-alpha pixels for plotting 2D terrain -


looking possibly quick solution aid in optimizing workflow. built java based level editor mobile game , have process takes quite while: plotting terrain interpretation physics engine. have turn mouse sensitivity way down increase accuracy, , drives me nuts click much. plus, programmers natively lazy :-d

if system worked way wanted, start @ top of graphics layer (0, 0) run down layer until bumped non-alpha pixel, move on 5 or pixels , repeat until general terrain plotted.

enter image description here

i have plotting/editing system setup on scroll wheel can move individual points , insert more points , delete take care of terrain elements not captured.

this question may require more information @ point of willing provide. don't know what's possible @ point please patient.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -