Skip to content

einatsof/threejs-cube-image-stretch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js cube image stretcher

Tool for stretching images on the faces of 3D cubical models built with Three.js.
Image stretching math is done with the help of perspective-transform.
Since the pixel manipulation is done on the ImageData of a canvas element and not in the shader, it is possible to download the shape with all textures in a lightweight glTF 2.0 format.

Demo: einatsof.github.io/cubyot

Example

About

Tool for creating 3D cubical models from images made with Three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published