# It´s possible to decompose 3D graphics to video 2D to get UV´s?

**URL:** https://discourse.processing.org/t/it-s-possible-to-decompose-3d-graphics-to-video-2d-to-get-uv-s/16315
**Category:** Project Guidance
**Created:** [December 11, 2019, 10:53am UTC](https://discourse.processing.org/t/it-s-possible-to-decompose-3d-graphics-to-video-2d-to-get-uv-s/16315 "2019-12-11T10:53:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TATTLER](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@TATTLER](https://discourse.processing.org/u/TATTLER)
#### Post date: [December 11, 2019, 10:53am UTC](https://discourse.processing.org/t/it-s-possible-to-decompose-3d-graphics-to-video-2d-to-get-uv-s/16315/1 "2019-12-11T10:53:49Z")

</div>

I don´t know if it possible to do, but I will try to explain what I want to do.The graphics generated in 3D:

 ![Captura de pantalla 2019-12-11 a las 11.46.32](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/2e402c0a3aedf2f6742a38f25f3ed53e6355b42d.png)

I would like to decompose (unwrap) on 2D video like this to obtain the UV for a a Sphere,

 ![Captura de pantalla 2019-12-11 a las 11.49.26](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/607fd663fba8e2f8eb7bf8a447282251a1995ea7.png)

Imagine that the video we were generating in 3d was like Earth, and you can get a video like the one on the left, in 2d version:

 ![Captura de pantalla 2019-12-11 a las 11.59.16](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/ab5021e400fd6cfa7cd261fbea2dcad42d28937b.jpeg)

Thanks in advance!

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [December 15, 2019, 12:50am UTC](https://discourse.processing.org/t/it-s-possible-to-decompose-3d-graphics-to-video-2d-to-get-uv-s/16315/2 "2019-12-15T00:50:53Z")

</div>

Are you trying to go 2D -\> 3D, or 3D-\> 2D? It isn’t clear what your input and your desired output is. Do you want to animate the “unwrapping” effect, or just display at the final result?

Your first example results in a t-shape – your second result is a mercator (or similar) projection. Which approach do you want?
