Interactive 3D slides

All the files

Download

Zip What
interactive-3d-slides.zip Everything: the bridge, the nine examples with their web builds, the tests and the build scripts
a1-opengl-cube.zip 1. Rotating cube, with the CMake module and glad
a2-opengl-uniforms.zip 2. Uniforms driven live
c1-cgp-template.zip 3. CGP program, with the build script of the CGP examples
c3-cgp-waving-surface.zip 4. Buttons in the slide
c6-cgp-marching-cubes.zip 5. GUI with ImGui
c7-cgp-drag-points.zip 6. Values sent back to the slide
c4-cgp-load-obj.zip 7. Models from files
c8-cgp-sketch.zip 8. Sketch with the mouse
c9-cgp-compare.zip 9. Two demos side by side
talk-reveal.zip Complete presentations: the talk in reveal.js, with its demos
talk-lhtml-site.zip Complete presentations: the sources of the talk in lhtml-site, with its demos

Each zip unpacks into a folder of its name (a1-opengl-cube/, talk-reveal/, interactive-3d-slides/...), with a README.md at its top that gives the steps. The zip of an example has the same folders as the repository (examples/, bridge/): the commands of the pages work from there.

Each file

The files as they are in the repository, to open or to download one by one:

Folder Files
bridge/ slide_bridge.hpp, slide_bridge.cpp, slide-frame.html, slide-controls.js
examples/a1-opengl-cube/ main.cpp, CMakeLists.txt, slides.html, demo.json, README.md
examples/a2-opengl-uniforms/ main.cpp, CMakeLists.txt, slides.html, demo.json, README.md
examples/c1-cgp-template/ slides.html, demo.json, README.md
examples/c3-cgp-waving-surface/ src/main.cpp, src/scene.hpp, src/scene.cpp, slides.html, demo.json
examples/c6-cgp-marching-cubes/ src/main.cpp, src/scene.cpp, src/implicit_surface/, slides.html, demo.json
examples/c7-cgp-drag-points/ src/main.cpp, src/scene.hpp, src/scene.cpp, slides.html, demo.json
examples/cmake/, third_party/ raw_opengl_demo.cmake, glad
scripts/, tests/ build_examples.py, test_demo.py, test_slide_bridge.cpp, Makefile

The example talks

The same talk of twelve slides in two slide tools (Complete presentations):

  • in reveal.js: one HTML file, plain <iframe>s, and buttons that name their demo (data-demo="#surface");
  • in lhtml-site: a folder per slide, and the PDF, where each demo is replaced by its image.