Hi,
I'm using the IView_DG.Translate(hx, hy, hz) function to move the eye in the left/right and up/down direction corresponding to the user.
I noticed that passing a value for the hz parameter does not work - as in, inputting a value does nothing to the view.
Is this behavior intentional?
Because the documentation does not state anything about disregarding the hz parameter, or is this a bug in the library?
I'm guessing that movement in the z-axis should correspond to zooming on the view?
Regards,
Paul
IView_DG translation along z-axis does not work
Re: IView_DG translation along z-axis does not work
Within orthographic projection translating view volume in some directions might have no meaning (e.g. camera translates, but you will not see any difference on the screen).
Either use perspective projection with IView_DG.SetProjectionType(ProjectionType_DG.eProjectionTypeDgPerspective) or specify view volume scaling for zooming within orthographic projection with IView_DG.Zoom*()
Either use perspective projection with IView_DG.SetProjectionType(ProjectionType_DG.eProjectionTypeDgPerspective) or specify view volume scaling for zooming within orthographic projection with IView_DG.Zoom*()
-
- Posts: 0
- Joined: Thu Jun 27, 2019 4:16 am
Re: IView_DG translation along z-axis does not work
The birds eye window (context menu or v+b shortcut) is handy to see what is going on. It shows the view volume while you zoom or translate in the main windows
Re: IView_DG translation along z-axis does not work
Thank you, gentlemen
Good information
Paul
Good information
Paul