2 point perspective

2 point perspective

Anonymous
Not applicable
3,341 Views
4 Replies
Message 1 of 5

2 point perspective

Anonymous
Not applicable

New to Formit - Is there a way to replicate two point perspective camera setting as you can with Sketch-up to achieve a more vertical perspective?

0 Likes
Accepted solutions (1)
3,342 Views
4 Replies
Replies (4)
Message 2 of 5

josh.goldstein
Community Manager
Community Manager

Hi Patrick,

 

Not currently, sorry. You can use the Swivel command (shortcut SV) to adjust the angle of the camera while keeping the position the same, but this is about the most granular adjustment we offer currently. 

 

If you're interested, you can experiment with our plugin API, which allows you to get and set more camera data that we don't expose in the UI.

 

- On Windows, go to the Window menu, and check Script Output and Script editor - you'll see new panels at the bottom of the screen

- In the Script Editor, you can paste the following: console.log(JSON.stringify(FormIt.Cameras.GetCameraData()));

- Highlight the text in the Editor, and click the Run Selected button in the toolbar (icon is play button w/ arrow) - this will run only the selected text

- In the Script Output, you should see the camera parameters for the current Scene, like: 

{"FOV":0.501999974250793,"distanceToTarget":50,"isOrtho":0,"isTopView":0,"objectName":"CameraData","posX":-87.1094973631152,"posY":-129.123211027396,"posZ":116.417791877963,"rotW":0.885901154299981,"rotX":0.432314192471672,"rotY":-0.0737559297980545,"rotZ":-0.151141147994688}

- Next, paste this into the Editor on a new line: FormIt.Cameras.SetCameraData({ ]);

- Copy the results from the GetCameraData (everything between the squiggly {} brackets) and paste it into the new SetCameraData command between the new squiggly {} brackets

- Now, change the FOV from 0.501 to something like 0.1 - experiment here until it looks good - then select the whole command and click the Run Selected button

- Running the SetCameraData command will update the current scene to those parameters. If you modify the camera position, be sure to run GetCameraData again to pick up the new location, then modify the FOV again as desired

 

Maybe this helps you or someone out there access and modify some of those specific camera settings. Not exactly 2-point perspective, but changing the FOV might help.

For those who want to learn more, here is some info on the FormIt API which includes these camera settings (API documentation is a work in progress): https://formit3d.github.io/FormItExamplePlugins/docs/FormItJSAPI/group__mod__jsapi__formit__cameras....

 

More plugin/scripting resources: https://formit3d.github.io/FormItExamplePlugins/




Josh Goldstein
Senior Product Manager
0 Likes
Message 3 of 5

Anonymous
Not applicable

Hi Josh,

 

Thanks so much for following up on this.

 

We will give it a try.

0 Likes
Message 4 of 5

Shubham
Observer
Observer

Yes, if you want to replicate the 2-pt perspective, go to the view and set the eye elevation and target elevation to be the same. This will make the view look like what you see in a traditional 2-pt perspective. 

0 Likes
Message 5 of 5

josh.goldstein
Community Manager
Community Manager
Accepted solution

Hi @Anonymous,

 

2-point perspective is now available in FormIt 2023, which was released last week.

 

Enjoy!




Josh Goldstein
Senior Product Manager
0 Likes