// Calculate an arbitrary point on the plane (in this case, the top left corner)
int width = (int) v2e.getDisplayerLocalWidth();
int height = (int) v2e.getDisplayerLocalHeight();
Vector2f locOrtho = calcLocationOrtho();
// Compute top left in canvas coords
int canvasHeight = JmeClientMain.getFrame().getCanvas().getHeight();
Point topLeft = new Point();
topLeft.x = (int)locOrtho.x - width/2;
topLeft.y = canvasHeight - (int)locOrtho.y - height/2;
Point bottomRight = new Point(topLeft.x + width - 1, topLeft.y + height - 1);
// Convert to view local coords
float xLocal = x - topLeft.x;
float yLocal = y - topLeft.y;
// Convert to pixel coords
Vector2f pixelScale = v2e.getPixelScaleOrtho();
int xPixel = (int)(xLocal / pixelScale.x);
int yPixel = (int)(yLocal / pixelScale.y);
Point pt = new Point(xPixel, yPixel);
logger.fine("pixel position = " + pt);