Skip to content

Modernize OpenGL examples and add two shader motion studies - #4

Merged
daitomanabe merged 3 commits into
masterfrom
codex/modern-shader-examples
Sep 5, 2026
Merged

Modernize OpenGL examples and add two shader motion studies#4
daitomanabe merged 3 commits into
masterfrom
codex/modern-shader-examples

Conversation

@daitomanabe

@daitomanabe daitomanabe commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Modernize all six historical examples to ofApp, GLM, member-owned state, and programmable OpenGL 3.2 mesh rendering. Keep the existing addon API and historical authorship/license notices.
  • Add Motion Ribbons, a real vertex / geometry / fragment shader study, and Motion Field, a joint-driven full-screen fragment shader study.
  • Share the original A/B/C motion data; document recentering and the distinction from the original stage formation.
  • Add teaching READMEs, actual rendered previews, relative Xcode projects, and deterministic rendering checks with PNG/log artifacts.

Verification

  • All eight applications built in Release using Make and Xcode with openFrameworks 0.12.1 on macOS.
  • All eight passed real OpenGL rendering checks. Legacy examples verify hidden/unfocused windows and changing artwork; the new studies also check shader linkage, pause/reset behavior, and a second motion timestamp.
  • BVH and marching-cubes regression suite passed; all eight Xcode project structures validated.
  • Malformed shader and shader-link mismatch tests fail without a success marker.
  • Workflow lint, staged diff checks, and local-path/privacy checks passed.

CI separates macOS build/regression coverage from Linux Mesa/Xvfb rendering.
Hosted macOS runners cannot provide the required NSGL pixel format; local macOS
rendering is verified, and CI must render all eight applications with an actual
software OpenGL context rather than skip rendering.

Original full audio is not bundled; historical examples use the documented silent-clock fallback when it is unavailable. This update does not claim to validate unavailable original audio assets.

@daitomanabe
daitomanabe merged commit 969c820 into master Sep 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant