Hi Marek,
You might want to use V3d_PerspectiveView. It already provides some predefined settings.
Commenter-1
---
opencascade.blogspot.com - blog on Open CASCADE
Archived discussion
Hi
Im trying to create my own control using OpenCascade.At the moment im trying to change, projection of view i want to set it perspectivical. My code is
OCVisual3d_View v3dView = view.View();
OCVisual3d_ViewMapping mapping = v3dView.ViewMapping();
mapping.SetProjection(OCVisual3d_TypeOfProjection.Visual3d_TOP_PERSPECTIVE);
viewer.Update();
view.Update();
type of projection have changed but view wasn't updated. Am I missing something?
Discussion
Posts are displayed in their archived order.
Hi Marek,
You might want to use V3d_PerspectiveView. It already provides some predefined settings.
Commenter-1
---
opencascade.blogspot.com - blog on Open CASCADE
Thanks for help. It switching between orthograpic view and perspective view now works fine.