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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -