Apertus
Home
Forum
Blog
GitHub repository
Search…
Documentation
Introduction
Definitions
Features
Developers
Development Cycle
Architecture
API
Getting Started
Creating a plugin
Creating a sample
Contribute
Report a Bug
Suggest a Feature
Tutorial - How to visualize CAD models in VR
Introduction
Import CAD Models
Convert CAD Models
Create Low-poly from CAD Models
Create Photorealistic CAD Models
Plugins - Photorealistic Render
Plugins - Physics
Tutorial - How to visualize Tensorflow training in VR
Tutorial - Virtual Learning Factory Toolkit Gamification
Overview
Introduction
Architecture
Use Cases
Installation
Windows
Android
MacOS
Build
Windows
Android
MacOS
Plugins on Windows
Photorealistic Render
Physics
Plugins on Android
Java Native Interface
Filament render
Plugins on MacOS
Untitled
Samples on Windows
Deep learning
Virtual Learning Factory Toolkit Gamification
Virtual Learning Factory Application
Powered By
GitBook
Creating a sample
Creating a new sample for ApertusVR happens the same way as creating a plugin. In the following example, we create a new sample called "ipCamera":
ApertusVR\utilities\apm>python apm.py create sample ipCamera
Creating new sample with the following properties:
name: ipCamera
path: ../../samples/ipCamera/
class name: ApeIpCamera
cpp file path: ../../samples/ipCamera/ApeIpCamera.cpp
Do you want to continue? [Y/n]
If you find everything in order, type '
y
' and press enter to continue.
If you want to add your newly created sample to samples/CMakeLists.txt, just type '
y
' when
apm
asks it:
Add to samples/CMakeLists.txt? [Y/n] y
In order to see your new sample in your IDE, don't forget to
1.
regenerate the CMake project
2.
reload / reopen the generated project file in your IDE.
after editing
CMakeLists.txt
files.
Previous
Creating a plugin
Next - Tutorial - How to visualize CAD models in VR
Introduction
Last modified
3yr ago
Copy link