the3deer/android-3D-model-viewer

How to get an orthographic (orthogonal) projection in the viewer ?

agGitHub opened this issue · 3 comments

Hi,

I want to display my 3D models with an orthographic/orthogonal projection, and not a perspective projection.

What settings should I modify to do that ?

Thanks a lot.

Hello @agGitHub
Sorry for the delayed response

Indeed, Ortho viewing may be a new feature in the app. I will try to implement that

Responding to your question, you would need to change frustum to Ortho here. Hope that helps

Kind regards

Line number 33

https://github.com/the3deers/android-3D-model-viewer/blob/master/engine/src/main/java/org/andresoviedo/android_3d_model_engine/view/ModelRenderer.java

Thanks, would be great. Line 313 you mean? (not 33) Do you know how to modify the code already? (would avoid to wait the newt release :)) Thanks!

Hi @agGitHub .
yes. sorry for the delay. Line 313
I will try to add this feature soon
I just had to upgrade the project (required by google play) so I can work on the next features
kind regards