Skip to content

Sharing a scene in the 3D Demo with SSH

Mael Rouxel-Labbé edited this page Mar 28, 2024 · 1 revision

It is possible to save and load a whole scene from the 3D Demo with the help of SSH. It is mainly meant to help developers who work far from each other to easily show content to another, and this page will help you use it.

Configuring the demo

To be able to use ssh, some information must be provided in the preferences of the demo. In this tutorial, it is expected that you already know ssh and we will only focus on the demo part :

ATTENTION: the ssh2 format is not supported. More specifically, for windows users, Puttygen exports keys to the SSH2 format for OpenSSH, which is not supported by libssh (at least for version 0.9.5).

images/tuto_scene_ssh_3.png

Saving a scene to a server

Once your scene is ready, to save it with ssh, do as follows:

  • Go to the File menu and click on Save the Scene as a Script File...

images/tuto_scene_ssh_save.png

  • Click Yes. If you click No, then your scene will be saved in a javascript file on your machine.

images/tuto_scene_ssh_save_2.png

  • Enter the password associated with the ssh key you provided in the previous part.

images/tuto_scene_ssh_pw.png

  • And finally enter a name for your scene.

images/tuto_scene_ssh_save_3.png

Your scene will then be saved in a javascript file, and uploaded to the server previously specified.

Loading a scene from a server

To load a scene from the server, do as follows:

  • Go to the File menu and click on Load a Scene from a Script File...

images/tuto_scene_ssh_load.png

  • Click Yes.

images/tuto_scene_ssh_load_2.png

  • Enter the password associated with the ssh key you provided in the first part.

images/tuto_scene_ssh_pw.png

  • Give the name of the scene you want to load.

images/tuto_scene_ssh_load_3.png

If everything went right, your scene should be loaded. If anything went wrong, an error message should be found in the console.

Clone this wiki locally