Skip to content

Implement 3D rendering in Graph3dSurfaceView#5

Merged
NaikSoftware merged 1 commit into
masterfrom
fix-3d-graphics
May 11, 2026
Merged

Implement 3D rendering in Graph3dSurfaceView#5
NaikSoftware merged 1 commit into
masterfrom
fix-3d-graphics

Conversation

@NaikSoftware

Copy link
Copy Markdown
Owner

The GLSurfaceView only cleared the screen — it never built a mesh, configured a frustum, or wired up touch rotation, so 2-variable functions showed nothing. Reuse the existing Graph3d mesh class and adapt the deprecated Graph3dView pipeline (perspective frustum, accumulated rotation matrix, snake line-strip draw) into the modern GLSurfaceView lifecycle. Touch input rotates the surface with inertia, pinch gestures zoom, and screenshots are captured on the GL thread via queueEvent.

The GLSurfaceView only cleared the screen — it never built a mesh,
configured a frustum, or wired up touch rotation, so 2-variable
functions showed nothing. Reuse the existing Graph3d mesh class and
adapt the deprecated Graph3dView pipeline (perspective frustum,
accumulated rotation matrix, snake line-strip draw) into the modern
GLSurfaceView lifecycle. Touch input rotates the surface with inertia,
pinch gestures zoom, and screenshots are captured on the GL thread
via queueEvent.
@NaikSoftware NaikSoftware merged commit 8c146de into master May 11, 2026
1 check passed
@NaikSoftware NaikSoftware deleted the fix-3d-graphics branch May 11, 2026 22:44
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