Sample UV Information from Polymeshes

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
User avatar
sven
Posts: 7
Joined: 04 Jun 2009, 11:55

Sample UV Information from Polymeshes

Post by sven » 24 Jun 2009, 15:10

Is that possible? Seems not to be a problem with Surfaces and Curves, although the UVs i can sample aren't the UVs specified in the Texture Editor, more likley they are Geometry UVs.

User avatar
CiaranM
Posts: 87
Joined: 09 Jun 2009, 01:37
Location: London
Contact:

Re: Sample UV Information from Polymeshes

Post by CiaranM » 25 Jun 2009, 06:06

You can.

e.g.
Get data > Self.PointLocation > Get Data > Clusters/Textures_Coords/Texture_Projection/UVs

The only problem is it has to be explicit UVs i.e. freeze the texture generator op. But, you can also write those UVs values, so you can come up with your own funky projections.

As far as I know for a polymesh, you can go Location > UVs, but not UVs > Location, like you can with NURBS.

User avatar
sven
Posts: 7
Joined: 04 Jun 2009, 11:55

Re: Sample UV Information from Polymeshes

Post by sven » 25 Jun 2009, 09:55

Thank you very much, didn't work for me the first Time, maybe because I forgot to freeze the UVs. UVtoLocation doesn't have to work, i need it to texture a lot of Instances with one Picture

User avatar
CiaranM
Posts: 87
Joined: 09 Jun 2009, 01:37
Location: London
Contact:

Re: Sample UV Information from Polymeshes

Post by CiaranM » 25 Jun 2009, 13:58

In that case, you won't be able to access the UVs of the instances, only the original. :(

Maybe you could solve this in the Render Tree?

User avatar
sven
Posts: 7
Joined: 04 Jun 2009, 11:55

Re: Sample UV Information from Polymeshes

Post by sven » 28 Jun 2009, 22:24

No, i already did that, it's possible ;) You have to recalculate the UVs, and remap the original Texture on the Instance. Works also on Particle Primitives..

Post Reply

Who is online

Users browsing this forum: brandwatch [Bot] and 38 guests