SHIJIL.DEV

PROJECT 06 / 09 · CASE STUDY

Image to 3D Surface Visualizer

A browser tool that turns image luminance into a GPU-displaced 3D surface, with live height-map, lighting, smoothing, and color controls.

Three.jsWebGLGLSLJavaScriptOpenCV

OVERVIEW

What it does

Built a Three.js WebGL tool with custom GLSL vertex and fragment shaders. Users can upload or drag in an image, orbit a procedural or image-derived surface, adjust height, contrast, source channel, smoothing, mesh detail, lighting, and palettes, then export the canvas as PNG. An optional OpenCV script generates denoised and normalized height maps before upload.

ROLE
Creative development and shader engineering
STACK
Three.js · WebGL · GLSL · JavaScript · OpenCV
OUTCOME
Makes an image's tonal structure explorable as a live 3D height field, with image and height-map export.
CONTEXT
Interactive Graphics Tool

WHAT I BUILT

  • GLSL vertex displacement driven by image luminance
  • Live histogram, FPS display, camera controls, and rendering modes
  • Optional OpenCV preprocessing for denoising and height-map generation