You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add something like gr3.setorthographicprojection(-10, 10, -10, 10, -10, 10) to the code, e.g. in show() you could add it before the line gr3.setbackgroundcolor(255, 255, 255, 0).
The values like -10 to 10 were an example. The function takes the size of the viewing frustum as parameters, so everything outside this will be clipped. The parameters are left, right, bottom, top, near_plane, far_plane
I need to get an orthogonal projection of a structure but the mogli gives a perspective view. Is there any easy solution to get orthogonal projection?
The text was updated successfully, but these errors were encountered: