Luc Wens Thu, 07/29/2021 - 20:31 Forums: Visualization and 3D ViewerIn general the "UP" direction will be Z+. I have one use who needs Y+ to be the up direction in the 3D view. What woud be the best strategy to do this ? Kirill Gavrilov Fri, 07/30/2021 - 22:38 Most functionality of OCCT 3D Viewer is irrelevant to model Up orientation. Which exactly problem are you trying to solve? Log in to post comments Luc Wens Mon, 08/02/2021 - 14:26 I forgot in my initial poste to mention that this relates to the turntable style of view rotation set with SetLockOrbitZUp (bool theToForceUp). So instead of locking Z, I would like to lock Y or X Log in to post comments Kirill Gavrilov Mon, 08/02/2021 - 16:53 AIS_ViewController currently supports only Z-up turntable mode. So your options could be: Improve AIS_ViewController with an option for handling Y-up orientation. Subclass AIS_ViewController and implement this logic at application level. Convert model into Z-up orientation during import process (for example, RWGltf_CafReader does it during glTF model import). Log in to post comments
Fri, 07/30/2021 - 22:38
Most functionality of OCCT 3D Viewer is irrelevant to model Up orientation.
Which exactly problem are you trying to solve?
Mon, 08/02/2021 - 14:26
I forgot in my initial poste to mention that this relates to the turntable style of view rotation set with SetLockOrbitZUp (bool theToForceUp). So instead of locking Z, I would like to lock Y or X
Mon, 08/02/2021 - 16:53
AIS_ViewController currently supports only Z-up turntable mode. So your options could be:
(for example, RWGltf_CafReader does it during glTF model import).