DiscussionsIssue archiveOpen Cascade Applications

Archived discussion

Saving Cadrays Camera positions

Open Cascade ApplicationsWed, 03/08/2023 - 19:561 reply

Browse this forum
QuestionAuthor

Hi,

I am trying to save current camera positions and store / restore them after changing my view. This is the current script in my project:

vsetcolorbg 255 255 255
box table 7000 7000 40
vdisplay table
vdefaults -angDefl 07
Graphic3d_Camera
V3d_View::Camera(1)

I know this is where i am wrong:

Graphic3d_Camera
V3d_View::Camera(1)

So i need help to correct this.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Try vviewparams -cmd command in Draw Harness to get camera parameters that could be restored by vviewparams.