ICE tip #5988 - uv to location

Plugins linking to this thread: (hide)

UV2Location for meshesAuthor: Reinhard Claus
This scene demonstrates how to use the 'reinterpret location' node to look up locations and mesh attributes from positions in the uv space of an object. The scene creates a 'UV clone' of a mesh, looks up closest locations on it and transfers attributes (in this case point position) from the original object.

Used like this, it can "texture" an object with a mesh or a curve, similar to Anto's 'Deform by UV'. Keywords: UV to Location, UV

local backup:UVToLocation_for_polymeshes_2.zip

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

ICE tip #5988 - uv to location

Post by rray » 21 Dec 2015, 16:25

Now that the "reinterpret geometry" bug is fixed, this method works nicely for looking up locations from UV on poly objects:

* have an object with uvs ready (get->lizard)
* create a copy, use ICE to move each point to its uv coordinate (for example using uvmorph compound)
* lookup closest location on uv morphed copy, reinterpret back to original

Image

(the attached scene additionally "explodes" the uvs into uv islands)
You do not have the required permissions to view the files attached to this post.
softimage resources section updated Sep 26th 2026

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip- uv to location

Post by rray » 21 Dec 2015, 16:27

I'm wondering whether this can be done with 1 mesh only, with 2 ice trees
softimage resources section updated Sep 26th 2026

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip- uv to location

Post by rray » 21 Dec 2015, 18:19

Of course that's possible ;)
Not only "Set Data" can be used on other objects than "self" - also "Add Point" !
This way the evaluation order of the two stacks can be nicely controlled.

all in 1 ICE Tree on the Lizard mesh:

* save topology, disconnect uv islands
* morph to uv
* add points on pointcloud at morphed locations using closest locations
* morph back to original positions
* move pointcloud's points to emit locations
* restore topology

reinterpret not even needed :ymblushing:
softimage resources section updated Sep 26th 2026

anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 08:39
Skype: nguyenvuducthuy

Re: ICE tip- uv to location

Post by anhungxadieu » 22 Dec 2015, 02:01

rray wrote:Of course that's possible ;)
Not only "Set Data" can be used on other objects than "self" - also "Add Point" !
This way the evaluation order of the two stacks can be nicely controlled.

all in 1 ICE Tree on the Lizard mesh:

* save topology, disconnect uv islands
* morph to uv
* add points on pointcloud at morphed locations using closest locations
* morph back to original positions
* move pointcloud's points to emit locations
* restore topology

reinterpret not even needed :ymblushing:
hi,
Can you share this scene? thank you!

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip- uv to location

Post by rray » 22 Dec 2015, 02:49

Thanks for your interest anhungxadieu, will do that tomorrow
softimage resources section updated Sep 26th 2026

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip- uv to location

Post by rray » 22 Dec 2015, 14:02

If you don't need the old topology back, you can skip the extra closest lookup in the end
You do not have the required permissions to view the files attached to this post.
softimage resources section updated Sep 26th 2026

anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 08:39
Skype: nguyenvuducthuy

Re: ICE tip- uv to location

Post by anhungxadieu » 23 Dec 2015, 01:49

hi rray,

thank you! :ymhug:

User avatar
gaboraa
Posts: 317
Joined: 16 Apr 2010, 21:14

Re: ICE tip- uv to location

Post by gaboraa » 23 Dec 2015, 10:36

Thank you, it is great to learn how to do that!

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip- uv to location

Post by rray » 23 Dec 2015, 13:43

you're welcome - btw the ICE tree on the lizard can be frozen if the uv's don't need to be changed later
softimage resources section updated Sep 26th 2026