VR-CINEMA
VR-Cinema is a 3D scientific visualization software with super-simple input scene format.
Features
- Loads 3D scenes in CinemaScience-based scene format (format documentation).
- 10+ visual object types (points, lines, triangles, ..., graphical files, ...).
- Animations across selected Cinema parameter, and video movies.
- Interpolation of input files, allowing to see transitions between your data. May be turned ON/OFF.
- Web-based, may load local and remote data scenes.
- VR mode, tested with Oculus Quest.
How to use
1. Prepare computer
Install latest nodejs https://nodejs.org/en/download/
2. Prepare scene
Create a file with scene description. See format documentation for details.
3. Start visualization
Execute in command line:
npx vr-cinema
to start visualization in current directory.npx vr-cinema path-to-dir
to start visualization from another directory.npx vr-cinema url-of-data-csv
to start visualization for specifieddata.csv
from Internet.
This will start local http server and open browser with VR-Cinema for specified CinemaScience database.
Online version
You may use online demo of VR-Cinema to visualize your data: http://viewzavr.com/apps/vr-cinema/
Windows Explorer menu
You may add "Open with VR-Cinema..." to Explorer menu, use command:
npx -p vr-cinema vr-cinema-setup
- add menu.npx -p vr-cinema vr-cinema-setup-off
- remove menu.
This also works in Linux for GNOME Nautilus explorer.
Shell script
Also, you may create shell script (for example vis.cmd
) that executes npx vr-cinema
command.
VR-Cinema scans internal directories on startup, and allows to choose which one to visualuze,
thus this script may be placed somewhere in root of your project.
How to run from source
git clone https://github.com/viewzavr/vr-cinema.git
cd vr-cinema
git submodule update --init --recursive
npm install
npm start
how to add your own type
Create new viewzavr component with type cinema-view-MYID
.
Then use that MYID in artefacts names: FILE_{MYID}_some
, for example: FILE_vtkpoints_lava.
See views dir for example.
copyright
The presented approach for 3d scene description is developed in Computer visualization lab of N.N. Krasovskii Institute of Russian Academy of Sciences led by scientific supervision of V. L. Averbukh in 2020. www.cv.imm.uran.ru
2021 (c) Pavel Vasev