Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 22-06-2006, 10:37 AM   #1
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default creating geometry out of locators?

is there a possibility to create a geometry like a topology out of bout 2000 locators imported from a tracking program?

if yes, I´d be happy!
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 22-06-2006, 10:49 AM   #2
lisa_gonzalez
Subscriber
 
lisa_gonzalez's Avatar
 
Join Date: Jun 2004
Location: London, England
Posts: 301
Thanks: 0
Thanked 13 Times in 13 Posts
Default

Hey there.

You could do it, but you may have to write a little script to help you. I've used a similar process (I didn't write the script though, I'm not too hot with Mel). I guess what the script would do is look at all of the locators, and triangulate them all to create the surface, but I'm not 100% sure. Another method that I've used to create a terrain out of Boujou locators is I just created a poly plane that was subdivided a few times, and started snapping points to the locators. I then kept going over the plane subdividing it and snapping points, and finished up using the sculpt poly tool to finish off. I managed to create a really nice, accurate terrain doing this, that tracked perfectly. I don't think that there is a really quick method, it depends on how accurate you need it to be.
__________________
When in doubt......smile!

http://www.x-menthelaststand.com/
lisa_gonzalez is offline   Reply With Quote
Old 22-06-2006, 10:58 AM   #3
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

well I need it quite precise. got allmost 4000 locators for one shot here. I agree with your method, but its quite a bit of work. concerning the scripting - the locators have chaotic numbers. they´re picked randomly without any system. (besides that I don´t kow mel that good to write a script) guess I have to connect them by hand... argh!!

thx tho for your help!
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 22-06-2006, 01:54 PM   #4
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

if anybody of you mel guys and gals are bored and like to help me out you could give me some input how to tackle this problem.


polyCreateFacet -ch on -tx 1 -s 1 -p locator1 -p locator2 -p locator3 ;


this is the basic createPolygon operation. does following thoughts make sense -> ?

to collect all locators position and store it in an array.
select first locator and search for 2 nearest locators.
use 3 locators to create a polygon with above operation.
delete those 3 locators from the array.

hm..
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 27-06-2006, 01:54 PM   #5
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

yes that's pretty much how I would do it (however you can delete the locators as they will be used to create more triangles). You can then fix all the normals. Have a look for a MEL triangulation script there must be something out there already.


A
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 27-06-2006, 05:26 PM   #6
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

thx, but I gave it up. mel is still a level to high for me I am recognizing. if there would be more spare time, well. I ended with building it by hand. took me bout 6-7 hours with a horrible geometry. but there´s this wonderful script fitVerts, formerly xyshrinkWrap.

nevertheless thank you!
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.