Skip to content

Experimental project to map each pixel's RGB value to an object's XYZ coordinates.

Notifications You must be signed in to change notification settings

progklb/spatial-image-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spatial Image Processor

An experimental project written in Unity to map each pixel's RGB value to a corresponding XYZ coordinate.

Information

There's not much else to it, really.

Included in the project are a few test images that demonstrate the functionality of the application. In order to process new images, these images need to be added to the scene and the project recompiled - there is no support for processing raw files, and no file browser.

Note that there is a memory leak and the code is not as optimised as it could be. This was purely a technical experiment to see how images look when mapped to 3D space.

For a more detailed post, see my blog write up here.

Controls

There are two cameras in scene - one that is animated (horribly, originally set up to capture GIFs), and another that allows for free-roaming. In order to switch cameras, enable the camera you want to use in the scene and disable the other.

Left click - Cycle loaded image.

Right click - Freelook (free-roam camera only)

Right click + WASD - Move camera (free-roam camera only)

Attribution

GhostFreeRoamCamera by Goosey Gamez, available on the Unity Asset Store.

About

Experimental project to map each pixel's RGB value to an object's XYZ coordinates.

Topics

Resources

Stars

Watchers

Forks

Languages