All Projects β†’ scenerygraphics β†’ scenery

scenerygraphics / scenery

Licence: LGPL-3.0 license
Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM, powered by Kotlin and Vulkan

Programming Languages

kotlin
9241 projects
GLSL
2045 projects
c
50402 projects - #5 most used programming language
shell
77523 projects
java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to scenery

emscripten-webxr
WebXR library for use with Emscripten.
Stars: ✭ 21 (-80.37%)
Mutual labels:  vr, ar, xr
Polymer
🎨 graphics + interaction engine
Stars: ✭ 243 (+127.1%)
Mutual labels:  rendering, vr, ar
Stereokit
An easy-to-use mixed reality library for building HoloLens and VR applications with C# and OpenXR!
Stars: ✭ 195 (+82.24%)
Mutual labels:  rendering, vr, ar
prismatic
Prismatic is a declarative JS library for creating 3D content for the Helio browser.
Stars: ✭ 35 (-67.29%)
Mutual labels:  vr, ar, xr
Yave
Yet Another Vulkan Engine
Stars: ✭ 211 (+97.2%)
Mutual labels:  rendering, vulkan
Innocenceengine
Cross-platform modern game engine.
Stars: ✭ 149 (+39.25%)
Mutual labels:  rendering, vulkan
Datoviz
⚑ High-performance GPU interactive scientific data visualization with Vulkan
Stars: ✭ 222 (+107.48%)
Mutual labels:  rendering, vulkan
V2R
Code for our IJCAI 2020 paper: "Keep It Real: a Window to Real Reality in Virtual Reality".
Stars: ✭ 20 (-81.31%)
Mutual labels:  vr, ar
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+9481.31%)
Mutual labels:  rendering, vulkan
Lugdunum
[UNMAINTAINED] A modern cross-platform 3D engine built with Vulkan, glTF 2.0 and modern C++14.
Stars: ✭ 230 (+114.95%)
Mutual labels:  rendering, vulkan
awesome-webxr
All things WebXR.
Stars: ✭ 117 (+9.35%)
Mutual labels:  vr, ar
Diligentsamples
Sample projects demonstrating the usage of Diligent Engine
Stars: ✭ 138 (+28.97%)
Mutual labels:  rendering, vulkan
Diligentengine
A modern cross-platform low-level graphics library and rendering framework
Stars: ✭ 2,142 (+1901.87%)
Mutual labels:  rendering, vulkan
Vrt
πŸ”… Ray tracing library for Vulkan API (indev)
Stars: ✭ 111 (+3.74%)
Mutual labels:  rendering, vulkan
StyleSight
Browser based 'real-time' AR 'fast' neural style transfer using tensorflowjs
Stars: ✭ 15 (-85.98%)
Mutual labels:  vr, ar
UnityPlugin
Ultraleap SDK for Unity.
Stars: ✭ 447 (+317.76%)
Mutual labels:  vr, xr
awesome-3d
Awesome list of 3D resources. AR/MR/VR is the future, and 3D model is the basics of all of them.
Stars: ✭ 42 (-60.75%)
Mutual labels:  vr, ar
spacesvr
A standardized reality for the future of the 3D Web.
Stars: ✭ 135 (+26.17%)
Mutual labels:  vr, xr
Gears Vk
Powerful low-level C++20 rendering framework for Vulkan 1.2, including Real-Time Ray Tracing (RTX) support, built atop Auto-Vk.
Stars: ✭ 71 (-33.64%)
Mutual labels:  rendering, vulkan
Flycube
Graphics API wrapper is written in C++ on top of Directx 12 and Vulkan. Provides main features including ray tracing.
Stars: ✭ 78 (-27.1%)
Mutual labels:  rendering, vulkan

scenery logo

Maven Central DOI Join the chat at https://gitter.im/scenerygraphics/SciView // pipeline status Build Status Codacy Badge

scenery // Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM

Blood Cells Example, scenery running on a CAVE with a scientist exploring a Drosophila melanogaster microscopy dataset, APR representation of Zebrafish head vasculature, Rendering multiple volumes in a single scene, Interacting with microscopy data in realtime

BloodCellsExample / scenery running on a CAVE with a scientist exploring a Drosophila melanogaster microscopy dataset / Adaptive Particle Representation rendering of Zebrafish head vasculature / Rendering six different out-of-core volumes from two datasets in a single scene / VR interaction with microscopy data in realtime

Synopsis

scenery is a scenegraphing and rendering library. It allows you to quickly create high-quality 3D visualisations based on mesh data. scenery contains both a OpenGL 4.1 and Vulkan renderer. The rendering pipelines of both renderers are configurable using YAML files, so it's easy to switch between e.g. Forward Shading and Deferred Shading, as well as stereo rendering. Rendering pipelines can be switched on-the-fly.

Both renderers support rendering to head-mounted VR goggles like the HTC Vive or Oculus Rift via OpenVR/SteamVR.

Examples

Have a look in the src/test/kotlin/graphics/scenery/tests/examples directory, there you'll find plenty of examples how to use scenery in Kotlin, and a few Java examples.

Some of the examples need additional meshes, which are not part of the repository due to their size. These meshes can be downloaded here and extracted to a directory of choice. When running the examples, the environment variable SCENERY_DEMO_FILES should point to this directory, otherwise the models will not be loaded and scenery will complain.

Contributed examples

Documentation

Documentation for scenery is published at docs.scenery.graphics/scenery/, but is in a very minimal state at the moment. Contributions are very welcome! The documentation is created using Gitbook, and the corresponding repository can be found at github.com/scenerygraphics/scenery-docs/.

Citation

In case you use scenery in a scientific publication, please cite this paper:

  • Ulrik GΓΌnther, Tobias Pietzsch, Aryaman Gupta, Kyle I.S. Harrington, Pavel Tomancak, Stefan Gumhold, and Ivo F. Sbalzarini: scenery β€” Flexible Virtual Reality Visualisation on the Java VM. IEEE VIS 2019 (accepted, arXiv:1906.06726).

If you want to refer to a specific scenery version, e.g. for reproducibility, also can additionally cite the DOI of the scenery version you used.

Default Key bindings

Most of the demos use the following key bindings:

Movement

Key Action
Mouse drag Look-around
W, A, S, D Move forward, left, back, right
Shift - W, A, S, D Move forward, left, back, right fast
K, Shift+K Move upwards, move upwards fast
J, Shift+J Move downwards, move downwards fast
C Switch between FPS and Arcball camera control modes (only used in some examples)

If a gamepad is connected (such as a PlayStation 3 or 4 controller), the hats can be used for movement and look-around.

Rendering

Key Action
F Toggle fullscreen
Q Toggle rendering quality (low, medium, high, ultra), if supported by the current rendering pipeline
Shift-V Toggle stereo rendering and rendering to VR headsets, if supported by the current rendering pipeline
Shift-Q Toggle buffer debug view
P Save screenshot to Desktop as PNG
Shift-P Record a H264-encoded video to the Desktop

All keybindings are also listed in the InputHandler class.

Selecting a renderer

On Windows and Linux, scenery defaults to using the high-performance Vulkan renderer, while on macOS, it'll default to the OpenGL renderer.

If you would like to override this, set the system property scenery.Renderer to either VulkanRenderer or OpenGLRenderer.

If you want to use Vulkan validation layers, or select a different graphics card than the primary one, please consult the VulkanRenderer README.

scenery has been tested with MoltenVK on macOS, but there are some major issues remaining before Vulkan can also be used on macOS.

Building

Into a directory of your choice, clone the Git repository of scenery:

git clone https://github.com/scenerygraphics/scenery

Then, change to the newly created scenery directory, and run mvn clean install to build and install both packages into your local Maven repository.

Alternatively, scenery's Maven project can be imported into IntelliJ or Eclipse. Please note that Eclipse needs the Kotlin plugin from JetBrains to work correctly.

If you want to compile the provided shader files offline on your own, please make sure you have the latest Vulkan SDK from LunarG installed. At least version 1.1.70 is required.

Using scenery in a project

Maven artifacts

Release artifacts are currently published to the Sonatype OSS repository, and synchronised with Maven Central.

The recommended way to use non-release (unstable) builds is to use jitpack. jitpack provides better build reproducibility than using SNAPSHOT builds, as they may change at any point in time or might become unavailable. With jitpack, you can use any commit from the repository as package version.

Using scenery in a Maven project

Add scenery and ClearGL to your project's pom.xml:

<dependencies>
  <dependency>
    <groupId>graphics.scenery</groupId>
    <artifactId>scenery</artifactId>
    <version>0.7.0-beta-7</version>
  </dependency>

  <dependency>
    <groupId>net.clearvolume</groupId>
    <artifactId>cleargl</artifactId>
    <version>2.2.9</version>
  </dependency>
</dependencies>

Non-release builds / jitpack

To use jitpack, add jitpack.io to your repositories in pom.xml:

<repositories>
  <repository>
      <id>jitpack</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>

You can then use any commit from the repository as scenery version, e.g.:

<dependency>
  <groupId>graphics.scenery</groupId>
  <artifactId>scenery</artifactId>
  <version>ff4c8ddd</version>
</dependency>

Using scenery in a Gradle project

Add scenery and ClearGL to your project's build.gradle:

compile group: 'graphics.scenery', name: 'scenery', version:
'0.7.0-beta-7'
compile group: 'net.clearvolume', name: 'cleargl', version: '2.2.9'

Non-release builds / jitpack

To use jitpack, add jitpack.io to your repositories in build.gradle:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

You can then use any commit from the repository as scenery version, e.g.:

dependencies {
  implementation 'com.github.scenerygraphics:scenery:ff4c8ddd'
}

Logging

scenery uses slf4j for logging. If you use scenery in your own library and want to see scenery's messages, you need to have a logger (e.g. slf4j-simple) configured in your project. Check this page on how to do that.

To configure the logging level that scenery uses, set the system property scenery.LogLevel to info (default), warn, debug or trace. Be advised that both debug and trace produce a lot of output and thereby negatively affect performance.

GPU compatibility

scenery has been tested with a number of different systems and GPUs. If you have a setup that is not listed in the following table - or marked as untested - please submit a PR with the setup added.

βœ… Works β›” Does not work ⬜ Untested 🚫 Unsupported configuration (e.g. no driver support)

GPU Windows, OpenGL Windows, Vulkan Linux, OpenGL Linux, Vulkan Mac OS X, OpenGL
AMD Radeon HD 7850 (Pitcairn XT) βœ… βœ… ⬜ ⬜ ⬜
AMD Radeon R5 M230 (Caicos Pro) β›” βœ… ⬜ ⬜ ⬜
AMD Radeon R9 390 (Hawaii Pro) βœ… βœ… ⬜ ⬜ ⬜
AMD Radeon R9 Nano (Fiji XT) βœ… βœ… ⬜ ⬜ ⬜
AMD Radeon R9 M370X (Strato Pro) ⬜ ⬜ ⬜ ⬜ βœ…
AMD Radeon RX 5700 XT (Navi 10) βœ… βœ… ⬜ ⬜ ⬜
AMD FirePro W9100 (Hawaii XT) βœ… βœ… ⬜ ⬜ ⬜
Intel HD Graphics 4400 (Haswell) βœ… 🚫 βœ… βœ… ⬜
Intel HD Graphics 5500 (Broadwell) ⬜ 🚫 βœ… ⬜ ⬜
Intel HD Graphics 530 (Skylake) ⬜ ⬜ βœ… βœ… ⬜
Intel Iris Plus Graphics (Ice Lake) βœ… βœ… ⬜ ⬜ ⬜
Nvidia Geforce GTX 1650 Max-Q (Turing) βœ… βœ… ⬜ ⬜ ⬜
Nvidia GeForce RTX 2080 Ti (Turing) βœ… βœ… ⬜ ⬜ ⬜
Nvidia GeForce RTX 2070 (Turing) βœ… βœ… ⬜ ⬜ ⬜
Nvidia Geforce Titan X (Maxwell) βœ… βœ… βœ… βœ… ⬜
Nvidia Titan Xp (Pascal) βœ… βœ… ⬜ ⬜ ⬜
Nvidia Geforce 1080 Ti (Pascal) βœ… βœ… βœ… βœ… ⬜
Nvidia Geforce 1070 (Pascal) βœ… βœ… βœ… βœ… βœ…
Nvidia Geforce 1050 Ti (Pascal) ⬜ βœ… βœ… βœ… ⬜
Nvidia Geforce 960 (Maxwell) βœ… βœ… ⬜ ⬜ ⬜
Nvidia Quadro K6000 (Kepler) βœ… βœ… ⬜ ⬜ ⬜
Nvidia Quadro P5000 (Pascal) ⬜ ⬜ βœ… ⬜ ⬜
Nvidia Geforce 980M (Maxwell) ⬜ βœ… ⬜ ⬜ ⬜
Nvidia Geforce 960M (Maxwell) ⬜ βœ… βœ… βœ… ⬜
Nvidia Geforce 750M (Kepler) βœ… βœ… ⬜ ⬜ βœ…
Nvidia Geforce 650M (Kepler) ⬜ ⬜ ⬜ ⬜ βœ…

Please also note that Nvidia's Vulkan drivers before version 382.33 have a bug that prevents scenery's Vulkan renderer from working correctly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].