SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Staggered triangulation of polygons... Possible?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 26-12-2008, 09:29 PM   #1
Timo79
Registered User
 
Join Date: Jul 2008
Location: England
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Staggered triangulation of polygons... Possible?

Hi,

I noticed that Maya uses trapezoid (four sided) polygons. When triangulated (Polygons > Mesh > Triangulate) Maya simply splits each quad polygon into 4 sub triangles, like this:



However I'm trying to achieve a different effect, one which staggers the triangles:



The above was created in an obsolete rendering package for the Commodore Amiga (it's so old, it doesn't allow converting to 3DMax, Lightwave or Maya formats, and there are no third-party converters.)

I feel the latter is more elegant when you want to intentionally retain the polygonal 'facetted' appearance (for a crystal type effect), specifically the lovely helical/fibonacci-type spirals that make up the sphere. It also uses considerably fewer polygons than the non-staggered approach.



Any easy way of doing this within Maya?
Timo79 is offline   Reply With Quote
Old 26-12-2008, 09:44 PM   #2
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

I think what you may have there is the difference between the algorithms used previously and the ones used now, therefore i'm not sure if you can, without doing it manually (by modifying the triangulated one.
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 28-12-2008, 02:22 AM   #3
Chirone
Subscriber
 
Chirone's Avatar
 
Join Date: Dec 2007
Location: NZ
Posts: 3,125
Thanks: 11
Thanked 147 Times in 143 Posts
Default

and in that case you'll just have to write a MEL or python script to do it for you
__________________


that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
Chirone is offline   Reply With Quote
Old 28-12-2008, 09:13 PM   #4
Timo79
Registered User
 
Join Date: Jul 2008
Location: England
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've found it's easy enough to fake, using a bit of maths.

Create sphere. Then Triangulate (Polygons > Mesh > Triangulate.)

Then switch to edit vertex mode, and grab the vertexes on each vertical layer and rotate them around 'en masse'.

The angles you rotate them depend on the number of sub-divs you originally used to create the sphere. I used 12 sub-divs (in other words 12 facets to make up the circumference) of my sphere, so the angle of each polygon was 360/12 = 30. I only wanted to rotate the layers by half a polygon so I divided this by two = 15, which is what I used for the step-size.

Left the top layer alone, then grabbed and rotated the following layer by 15, then the third layer by 30, the fourth layer by 45, etc...

Took all of 30 seconds to do.





I was wrong in my original assumption that it somehow used less polygons. It uses the same, just in a different arrangement. My error was when you triangulate the sphere you can see the polygons through the back at the same time, making it look like each trapezoid was split into four triangles and not just two.

Last edited by Timo79 : 30-12-2008 at 08:58 PM.
Timo79 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting angolare and round polygons together? Red_Roxxor Modeling 19 04-02-2011 02:50 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.