Yet another Morph Target Mirror Script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2009
Yet another Morph Target Mirror Script

Hi,

When I was scripting it this one, I thought it might be something new, cause I couldn't find anything on Scriptspot. But today (when I finished it) I recognized that there are quite a bunch of theese scripts here on CGTalk and that it's an old hat. :/ Nevertheless I like to throw yet another Morphtarget-Mirror Script out so the rest of the world could use it or not. It works also on asymmetrical meshes... minor asymmetrical ones

By the way I'm wondering if there's a way to calculate the symmetrical points within a runtime < OČ. Any ideas?



Cheers "ko'gen".
Attached Files
File Type: zip MTargetMirror.zip (2.1 KB, 21 views)
__________________
"Arrogance kills."
 
  03 March 2009
Originally Posted by kogen: By the way I'm wondering if there's a way to calculate the symmetrical points within a runtime < OČ. Any ideas?


I assume you find symmetrical vertices by looking for the closest vertex to the coordinates [-X,Y,Z] of another vertex in the mesh.
So anything that dismisses distant vertices helps.
Sorting by Z-coordinate and then only compare until Z-distance is greater than threshold. Simple and helps somewhat.
For operations that need to find vertices by position very often, you can use your favourite space partitioning algorithm (i.e. octree, kd-tree, ...)
 
  03 March 2009
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 04:01 PM.


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