I am trying to make canvas with parallel projection camera.
Problem is that I can not set coordinate system.
I wish that my (0,0) coordinate is in the upperLeft corner of canvas and (500,-500) in the bottomRight corner.
I tryed some frustum combination, and some cam.setFrame(loc, left, up, dir) but that doesn't seem to work.
I found the solution.
All I need is to set frustum like that:
cam.setFrustum(0.1f, 1000, 0, 500, -500, 0);
I though that I tried that yesterday but it didn't work
Now, it is working…