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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Tool for creating 3D cubical models from images made with Three.js
License
einatsof/threejs-cube-image-stretch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tool for creating 3D cubical models from images made with Three.js
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published