About the Pipeline
This pipeline allows us to explore geometry, defined within a .obj or .ply file format, in a 3D environment. For a more in-depth understanding of the technology used to implement this pipeline, please read through our Omegalib Tutorial Series.
You can run the Fashion Turntable demo in the virtual machine.
How to modify this pipeline to load your data
1
Export your 3D geometry to a .obj or .ply file and import it into the DAVM.
2
Using Dolphin or a linux shell, navigate to /local/examples/fashion
and copy your file into this folder.
3
Use a text editor such as kwrite to edit the loadModel.py
script.
4
Find the line in the script which specifies the path to the model to load. It should look something like the line of code shown below:
fileToLoad "/local/examples/fashion/Mook_mix1_initial.fbx"
Duplicate this line of code and update the copy to reference your 3D model (box.obj for example). Comment out the original line by adding ‘#’ to the start of the line:
#fileToLoad "/local/examples/fashion/Mook_mix1_initial.fbx" fileToLoad = "/local/examples/fashion/your_file.obj"
Now save your changes and launch the script using orun
. You should see your 3D model instead of the fashion turntable.