Creating VR Projects

What this is

Creating a VR project means building a simulated environment from ready-made models. The resulting environment will contain required objects and will function by pre-defined script.

Video Guide


Creating a project, adding scenes

  1. Run the Varwin RMS app.
  2. Enter the Project List section. Click ‘Add Project.’ Name your project, then click ‘Add.’
../_images/image1111.png
  1. Your project appeared on the list. The project structure automatically opens at once.
../_images/image321.png
  1. You are in the Project Structure section. Click ‘Add scene’. Name your new scene and select a scene template for it.
../_images/image26.png
  1. Now that the scene is added, you can place objects in it. It can be done within or without VR.

Editing without VR (Desktop editor)

Use your mouse and keyboard to edit VR scenes. The Desktop Editor feature allows editing without VR, namely place objects on the scene and set their positions. To use this feature, click “Edit on desktop.”

../_images/image113.png ../_images/image241.png

Capabilities

  • place objects on the scene
  • move objects, set precise coordinates (choose the exact location with the help of coordinate axes)
  • rotate objects along the chosen axis, set precise parameters
  • scale objects along the chosen axis, set precise parameters
  • search objects within the list
  • delete objects
  • Shortcuts
    • Grab: Q
    • Place: W
    • Rotate: E
    • Scale: R
    • Focus on the object: F
    • Clone objects: Ctrl+C, Ctrl+V
  • Orthographic projection of the scene available
  • Go to VR with one button

Controls

Toolbar

../_images/image162.png
  1. save
  2. cancel action
  3. repeat action
  4. copy
  5. paste
  6. move camera
  7. move object
  8. rotate object
  9. scale object

Rotation toggle

../_images/image33.png

Local - the object rotation and movement are relative to its own axis. World - the object rotates and moves accordingly to world space orientation.

Position toggle

manuals/media2/image333.png

Pivot - the object rotates and moves around its pivot point selected by the developer. Center - the object rotates and moves around its geometric center

Perspective projection toggle

../_images/image27.png

The toggle switches the perspective projection between standard and orthographic.

Switch to other modes

../_images/image114.png

1 - go to VR 2 - go to Desktop View mode*

*To leave the Desktop View mode, press Escape. You’ll receive suggestions to switch to VR, return to Desktop Edit mode, or cancel exiting.

../_images/image261.png

Library and objects

Toggle between the object library and the list of spawned objects. You can also search objects here. By selecting a spawned object in the list, you also select it on the scene.

manuals/media2/image444.png

Object info

Here you can see the name, ID and type of the selected object, and parameters of its position. Also, here you can delete the selected object.

../_images/image102.png

Editing in VR

Video Guide


  1. Click “Edit in VR.” You’ll see the boot screen, then the scene will open in a new window.
../_images/image231.png
  1. Open the VR menu and select an object.
../_images/image91.png

How to use VR controllers

See also: VR menu functions

  1. Place the object in the scene:
    1. Carry it to the desired place,
    2. Press the Trigger button on your controller,
    3. The object appears in the scene; it will hang in the air or stick to the surface.
    4. At the same time, this object will stay in your hand. You can spawn a lot of identical objects by pressing the Trigger button required number of times.
    5. Press the Grip button to remove the object from your hand.
../_images/image29.png
  1. Open the VR menu and save changes. The objects spawned in VR appear in the Varwin RMS interface immediately after you save changes in VR.
../_images/image28.png
  1. Go back to the Project Structure tab. You’ll see the list of spawned objects appeared in the scene. The objects can be renamed.
../_images/image73.png

VR menu functions

VR main menu functions:

  • Save - save changes,
  • Undo - cancel an action,
  • Redo - repeat an action,
  • Filter - open tag list (learn more: Tags),
  • Mode - switch mode (Edit/Preview).
../_images/image211.png

Composing algorithms

  1. Click ‘Open the visual logic editor.’
../_images/image53.png
  1. Here you can work with the project script.
  2. Create a script and click ‘Apply.’ The changes will apply in VR. You can also view the script as code; to do that, click ‘Open code editor.’
../_images/image142.png

How to work with Blockly.

Preview mode

You can preview each scene of your future project both in VR and on desktop.

Preview in VR

../_images/image30.png

Preview without VR (Desktop Player)

../_images/image151.png

The Desktop Player feature allows previewing the scenes of your project without VR equipment.

Controls:

  • W, A, S, D buttons - movement
  • Q - teleportation
  • Ctrl - squatting
  • Shift - running
  • Space - jumping
  • LMB - Use (Trigger button analog),
  • RMB - Grab (Grip button analog),
  • MMB + mouse movement - turning the object
  • Left Alt +mouse movement - moving the object.

App launch configurations and View mode

When the logic is created, the changes can be viewed in VR. View mode can be switched on if the project has at least one configuration.

../_images/image331.png

A default configuration is created automatically when the user adds the first scene to the project. Other custom configurations can be added. If there are several scenes in the project, the user can select a start scene.

../_images/image122.png

Now go to VR to view your algorithm work. - If VR client already runs, just put on your headset, - If not, click “View in VR.” You will go to View mode.

Building apps out of projects

When the project is completed, an app for the end user can be built out of it. The apps are exported as .exe files. They can be launched on any PC. Varwin platform installation is not needed to launch an exported app. Export of the ready apps is not available for Starter Edition.

../_images/image63.png