For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to convert a V3d_Viewer from Perspective mode to Orthographic mode?

ttssy's picture
Forums: 

I try to create a Perspective view.And code is:
myActiveViewer->SetDefaultTypeOfView (V3d_PERSPECTIVE)
All is OK.
But When i try to use Orthographic mode,I always fail.The code is:
...
myActiveViewer->SetDefaultTypeOfView ( V3d_ORTHOGRAPHIC );
myActiveViewer->Update();
myActiveView->Update();
myActiveView->Reset();
...

I run these code,But no any change.Please help