I try to implement ViewCube, an unit uNvCube in folder Examples\editors\SceneMaster.
If i use Camera with normal default setting(Camera.Up and Camera.Direction), the ViewCube works normal.
But If change it, using Z as vertical Axis, the ViewCube works strange.
Any help how can i resolve it?
Many thanks.
tmbk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's normal uNavCube unit needs update for working correctly in your case.
The constructor TGLNavCube.CreateAsChild(aParentOwner: TGLBaseSceneObject); function need some modifications for working with you're camera's settings
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jerome,
Thank you for the answer. I have tried to change the codes self, but no luck. I'm still learning pascal. If you have time could i ask you make change the codes?
Thanks
Tbk
Last edit: tambok 2018-09-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo everyone and masters,
I try to implement ViewCube, an unit uNvCube in folder Examples\editors\SceneMaster.
If i use Camera with normal default setting(Camera.Up and Camera.Direction), the ViewCube works normal.
But If change it, using Z as vertical Axis, the ViewCube works strange.
Any help how can i resolve it?
Many thanks.
tmbk
Hi tambok
It's normal uNavCube unit needs update for working correctly in your case.
The constructor TGLNavCube.CreateAsChild(aParentOwner: TGLBaseSceneObject); function need some modifications for working with you're camera's settings
Hi Jerome,
Thank you for the answer. I have tried to change the codes self, but no luck. I'm still learning pascal. If you have time could i ask you make change the codes?
Thanks
Tbk
Last edit: tambok 2018-09-20