Orthogonal Camera

Hello,



Very new to JME3 :slight_smile:



Is there an orthogonal camera available?



I see in SimpleApplication, there is a orthogonal viewport for the GUI, but can an othogonal view be set up to render objects too?



In DirectX (my background), I would just implement this in a simple vertex shader. Is this an option?



Thanks



Simon

yes just call cam.setParallelProjection(true);

An example is given in TestParallelProjection:

http://code.google.com/p/jmonkeyengine/source/browse/branches/jme3/src/test/jme3test/renderer/TestParallelProjection.java?r=5711

1 Like