Examples

Open them in your browser

Every example is a complete page made with DiscoVR. They work on computers, phones and VR headsets, with nothing to install.

Featured

Turbine Demo

A jet engine to explore: one button shows its inside with an x-ray view, the other starts it.

Open

Configurator

A tractor to configure: pick its colour and a trailer (none, tank or cart), and look inside with the x-ray view.

Open

For developers

One example per DiscoVR Core component. Open one, then view its page source to copy what you need.

3D Configurator

Pick colours, finishes and parts from a panel; the choice goes into the page link, and a page that embeds it can control it.

Open

Product viewer (orbit camera)

Drag to turn around an object, scroll or pinch to zoom; it turns by itself when left alone. Click the object to change its colour.

Open

X-ray view

A model turned see-through, all of it (X key) or only some of its parts.

Open

Message bus

Buttons that hide, show and animate objects by sending messages, without code, plus a counter driven by a script.

Open

Gauges

Round dials showing a fixed value and live readings sent on the message bus (key L simulates a lost signal).

Open

Walking characters

People who walk by themselves on the navmesh: a guide doing the rounds, a friend who follows you and a crowd strolling around the fountain.

Open

Player rig

Walk around with the keyboard, the on-screen sticks or VR controllers; the starting point is an entity in the scene.

Open

Picking things up

Objects to pick up with VR controllers, your hands or the mouse: a cube with its own place on the table, a ball to throw into a basket, a cup that goes back to its place, a crate that grows with two hands, a star to pull from afar and a pistol that snaps into the hand and fires with the trigger. Multiplayer: open it in two windows and move the objects together.

Open

Physics

A box falls onto another under PhysX gravity.

Open

Tools in the hand

Objects held like tools: a pistol that snaps into the hand and fires with the trigger, a rifle you hold with both hands that follows the second one, and a ping-pong racket that hits the balls with physics. In VR the controller hides while you hold a tool; on a computer a click takes it in view.

Open

A workshop of tools

A dim workshop full of tools for the hand: a torch to light the room, an extinguisher to put out a fire, markers and an eraser for a whiteboard (shared with everyone in multiplayer), a camera that hangs its photos in a frame, and a tape measure. In VR take them with the grip and use them with the trigger; on a computer click to hold one and click to use it.

Open

Doors, drawers and levers

Objects that move only one way: a door on its hinge, a drawer that slides out with an apple inside, a two-position lever that switches a lamp on, a knob that drives a gauge and a handle that springs back. Take them in VR or drag them with the mouse; a click moves them to the other end.

Open

A book to leaf through

A book on a lectern whose pages come from a PDF: click it to open it, click the right page to turn forward and the left page to go back. A second book, already open on the table, can also be picked up. Works with the mouse, a finger or the VR laser.

Open

Buttons, switches and a keypad

A control panel pressed with the hand: in VR push the buttons with a finger or the controller, on a computer click them. A push button that lights a warning while held, a button that switches a lamp on and off, a lever, and a keypad by a door that opens it with the code 1234.

Open

Drivable vehicle

A car to drive with the keyboard, with crates to push; P, T and K show the physics debugging tools.

Open

A game room

Dice that really roll, a deck of 52 cards shuffled the same for everyone, a ball that bounces off the walls, a clock, a timer and a stopwatch on the wall, and a menu on the wrist (in VR) or at the top left that rolls the dice, shuffles the cards and starts the timer.

Open

Multiplayer room

Open it in two windows: each visitor sees the other's avatar and can chat.

Open