# How to transform the uvw of getcolor() into world coordinates

**URL:** <https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510>\
**Category:** Rhino Developer\
**Tags:** rhinocommon\
**Created:** [March 19, 2019, 5:20am UTC](https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510 "2019-03-19T05:20:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![1668082946](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/1668082946/32/141005_2.png) [@1668082946](https://discourse.mcneel.com/u/1668082946)\
**Post date:** [March 19, 2019, 5:20am UTC](https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510/1 "2019-03-19T05:20:02Z")

</div>

Hi

I want to get the texture color and world coordinates of some arranged specific points on the mesh.

I think we can get the texture color with TextureEvaluator.getcolor(Point3d uvw,Vector3d duvwdx,Vector3d duvwdy).

But,How to transform the uvw of getcolor() into world coordinates?

Or How to transform world coordinates into the uvw?

And can you show me some examples?

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [March 19, 2019, 10:33pm UTC](https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510/2 "2019-03-19T22:33:12Z")

</div>

Does this help?

> [@\[C#\] Vertex color from bitmap in uv space \[Solved\]](https://discourse.mcneel.com/t/c-vertex-color-from-bitmap-in-uv-space-solved/48353):
>
> Hi Guys, i was wondering is there a possibility to read vertex color through rhinocommon from applied texture from uv space ( if im writing this correctly ). I’d like to make a point/pointcloud representation of render mesh where points/verticies receives colors from texture corresponding to mapping. Im attaching overlayed image in ps for the explanation slight_smile [UV\_VERTEX\_COLOR]

---

<div class="post-metadata">

**Author:** ![abo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/abo/32/180498_2.png) [@abo](https://discourse.mcneel.com/u/abo)\
**Post date:** [March 22, 2019, 12:25pm UTC](https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510/3 "2019-03-22T12:25:30Z")

</div>

I had the same problem.😬  
I got the color from the renderer. But Cannot get the XYZ corresponding to UV in the renderer.  
Can you give me an example? I hope to get your help。  
Thank you very much

---

<div class="post-metadata">

**Author:** ![abo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/abo/32/180498_2.png) [@abo](https://discourse.mcneel.com/u/abo)\
**Post date:** [March 24, 2019, 3:02am UTC](https://discourse.mcneel.com/t/how-to-transform-the-uvw-of-getcolor-into-world-coordinates/80510/4 "2019-03-24T03:02:38Z")

</div>

HI McNeel, please help me:wink:
