Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

You can customize the orientation by specifying a front and an up vector for the model using HPS::Model::SetOrientation. The navigation cube orients along the model orientation.
https://docs.techsoft3d.com/hps/latest/build/api_ref/cpp/class_h_p_s_1_1_model.html#a8e4eb59411e5864f22628799bf8e634a

 

When just opening the model in sandbox:

When setting the orientation as below:

HPS::Vector up(0, 0, 1);
HPS::Vector front(1, 0, 0);
GetCanvas().GetFrontView().GetAttachedModel().SetOrientation(up, front);

      

  • No labels