VRED Python Examples
Overview of the VRED Python examples. They can be found in VRED by using File > Open Examples.
Animations
Annotations
Cameras
Collision Detection
Connector
- Connect two VRED instances (client script)
- Connect two VRED instances (server script)
Constraints
- Simple constraints demo
- Toy Excavator Constraints demo
Geometry
Lightmaps
Materials
Measurement
Programming
Rendering
Sceneplates
Scenetree
Sound
User Interface
Virtual Reality Device Interaction
- Implementation of a custom device interaction
- Combine a custom and a default device interaction
- Connect to signals of device actions
- Extend the default teleport to multi user teleport
- Print device actions of a device interaction
- Print out all available device interactions
- Scale geometry in VR by using controllers
- Set the default teleport to a virtual button
- Virtual VR controllers
Virtual Reality Device Handling
- Add a child node to the node of a VR Controller
- Add a child node to the node of a VR Tracker
- Get a VR device by its serial number
- Print the serial number of all connected devices
- Print the serial number of a device
- Print the current finger position on the touchpad
- Switch the visualization mode of a VR device
- Define and use virtual buttons on the touchpad of a VR controller
- Triggering the vibration functionality of a controller
- Connecting to a signal that is executed, when the controller collides with a node
- Interactive color manipulation in VR
- Adding buttons to the VR Menu
- Moving objects in VR
Virtual Reality Script Plugins
Virtual Reality Collaboration
- Reacting on joining and leaving users
- Synchronization during a collaboration session
- Visualize user positions
- Query camera and tracking information
Virtual Reality Hands
- Trigger touch sensors with the hands 1
- Trigger touch sensors with the hands 2
- Interact with webengines (calculator demo)
Other Script Plugins
Uncategorized
Snippets
Deprecated Snippets
Deprecated Virtual Reality Examples
These examples use the deprecated vrOpenVRController / vrOculusTouchController classes. New code should make use of vrdVRDevice.
- (Deprecated) Oculus touch example
- (Deprecated) OpenVR example
- (Deprecated) OpenVR Tracker
- (Deprecated) Change hand color
- (Deprecated) Use vibration on touch
- (Deprecated) Touch objects in pointing pose
- (Deprecated) Interact with webengines (calculator demo with haptic feedback)
Deprecated Virtual Reality Controller
- (Deprecated) Oculus touch example
- (Deprecated) OpenVR example
- (Deprecated) OpenVR Tracker
Deprecated Virtual Reality Hands
- (Deprecated) Change hand color
- (Deprecated) Use vibration on touch
- (Deprecated) Touch objects in pointing pose
- (Deprecated) Interact with webengines (calculator demo with haptic feedback)