Menu

ViewCube and 3d Axis

Help
tambok
2018-08-03
2018-09-20
  • tambok

    tambok - 2018-08-03

    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

     
  • Jerome.D (BeanzMaster)

    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

     
  • tambok

    tambok - 2018-09-20

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.