CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 01-08-2013, 08:11 AM   #1
zoharl
A newbie
 
zoharl's Avatar
portfolio
Zohar
Wellington, New Zealand
 
Join Date: Mar 2009
Posts: 1,825
Copy topology

Hi,

I guess I need code for this, but I'll ask anyway.

1. I have three meshes P, Q, and T.
2. Q has the same topology as P, but has a different shape (some deformation of P).
3. T has the same shape as P, but has different topology (different number of vertices and faces), i.e. different topologies of the same surface.

I'd like to copy the topology from T to Q. Or put otherwise, I'd like to deform T, such points on the surface of T that have the same coordinates as vertices of P would go to a new position of corresponding vertices in Q, and the rest of the vertices of T would interpolate smoothly.

Maybe I could parametrize T and P by spatial position, parametrize Q the same as P (copy UV by vertex order), and then transfer vertex positions from Q to T.
 
Old 01-08-2013, 09:21 AM   #2
nookie
Know-it-All
 
nookie's Avatar
portfolio
Luca Fiorentini
Lighting Artist
Lucasfilm Animation
Singapore, Singapore
 
Join Date: Jan 2004
Posts: 367
Send a message via MSN to nookie
"Closest point on mesh" should help you if I understand what you are trying to achieve.
You can also use a Shrink Warp approach (http://forums.cgsociety.org/showthread.php?t=1025381)
 
Old 01-08-2013, 10:57 AM   #3
zoharl
A newbie
 
zoharl's Avatar
portfolio
Zohar
Wellington, New Zealand
 
Join Date: Mar 2009
Posts: 1,825
It worked with the mesh transfer attributes.
Thanks
 
Old 01-08-2013, 10:57 AM   #4
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:37 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.