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!


Go Back   Simply Maya User Community - Maya Tutorials > Your Work > Work In Progress
Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools
Old 03-12-2009, 10:37 AM   #1
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default exploring methods for putting holes in cylinders...

I was just experimenting with some things that tend to be difficult in modeling, one of which was putting holes in a cylinder, and I came up with the following.

There are often times when you would like to put holes into a cylindrical shape, for example a heat guard around a muffler or truck exhaust stacks or perhaps a kind of thingy you see on gun silencers and such.

One way of approaching the problem is to use boolean difference and a bunch of cylinders stuck into the main cylinder. This works but can be messy and time consuming to clean up, so I thought I would try a different method.

I laid everything out on a poly plane, then used a bend deformer to roll the plane into a cylinder, merged the verts at the top, and finally extruded a couple times for thickness and tight corners.

I came up with two geometric patterns.

Both start with just the top face of a 8-sided poly cylinder. I extrude in the hole. Then I created two different patterns with 8 unit holes (see the images below). Next I simply used the bend deformer to wrap them into a cylinder using a curvature value of 3.141592 (remember PI). Since the bend is from the center you are making a curvature of PI from both ends so the total curvature is 2PI which is the number of radians in a complete circle.

I came up with two patterns one uses fewer polygons but has a subtle wave pattern that I find makes a pleasing form.

The other makes a more uniforn cylindrical surface, but has a slightly denser mesh. To make this pattern, I just started with the octagonal pattern and replaced all the diagonal cuts with horizontal and vertical ones so the edges flow more uniformly along the height and span of the cylinder.

I can see applications where I will be using both styles.

This method has other applications as well. Applying a wrap deforming to a plane of any size you can form a mesh with holes in it around any surface such as a helmet or shoulder pads.

I hope that folks might find this idea useful in their own work.




__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 13-12-2009 at 01:13 PM.
ctbram is offline   Reply With Quote
Old 03-12-2009, 11:17 AM   #2
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,471
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Hi ctbram
Yet again you have made me think how I have done things in the past in lightwave and now in maya. The low poly one looks like you get with say a cheeper manufacture item, the high poly looks like high machined item..........thanks for sharring........dave

PS. may be there should be a forume for "how to"?
daverave is offline   Reply With Quote
Old 04-12-2009, 02:33 AM   #3
3ddon
Registered User
 
Join Date: May 2009
Posts: 153
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sounds very interesting,please make a video/make a tutorial with screenies..........because I'm newbie........
3ddon is offline   Reply With Quote
Old 04-12-2009, 06:43 AM   #4
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

Here is a video of the process.

maya holes in cylinder tut wNarration - YouTube
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 25-11-2012 at 05:50 PM.
ctbram is offline   Reply With Quote
The Following User Says Thank You to ctbram For This Useful Post:
duyquyen (23-11-2012)
Old 04-12-2009, 11:25 AM   #5
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,471
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Nice video, if you had a bigger hole on the same size pipe would you have to increase the geometry of the circle? .....dave
daverave is offline   Reply With Quote
Old 04-12-2009, 08:22 PM   #6
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,471
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Had to have a go
Attached Thumbnails
 
daverave is offline   Reply With Quote
Old 05-12-2009, 03:12 AM   #7
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

Here is a tutorial that shows how I would create the version that has the smoother surface topology.

In this video I start with a 6-sided polygon and redraw some of the topology so that the edge flow is around and along the height of the cylinder resulting in a smoother surface.

I also show how to make a fast render setup without having to hassle with lights. Finally, as an added bonus I show how to also make a wire frame render using mental rays contour render feature.

Here is what we make:



and here is the link to the video:

hole in cyl tut2 web - YouTube

There is also a higher resolution quicktime version without audio in the same folder.

NOTES: I rushed a bit so here is a summary of the important bits to know for the contour render setup :

1. You must turn on contour render in 2 places - in the render globals/mental ray/features AND on the shader group for the material on the object itself - mental ray/contour render.

2. also remember to check draw around polygon faces just under where you turn on contour rendering in the RENDER GLOBALS section.

3. I mentioned to set the over sampling to 2 but did not mention that setting the filter type to triangle and the filter support to 2 will also help to make the lines very smooth.

I hope this helps and if people find this kind of stuff useful I will try to make more of them.

Cheers!
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 25-11-2012 at 05:52 PM.
ctbram is offline   Reply With Quote
The Following User Says Thank You to ctbram For This Useful Post:
BeAstMaSter (01-12-2012)
Old 05-12-2009, 11:07 AM   #8
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,471
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Nice video, could you do one for the modo piston Boolean. I understand why you do it this way but I think there are a lot of newbies who do not understand the need to clean up the mesh...........dave
daverave is offline   Reply With Quote
Old 05-12-2009, 12:00 PM   #9
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

sure thing Dave. I will do a video on a three piston actuator including how to rig it.
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
ctbram is offline   Reply With Quote
Old 05-12-2009, 08:33 PM   #10
3ddon
Registered User
 
Join Date: May 2009
Posts: 153
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the great videos ctbram........
3ddon is offline   Reply With Quote
Old 07-12-2009, 03:17 PM   #11
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

hmm it appears this method is useful for more then just putting circular holes in a cylinder!

How is this for an abstract shape? Maybe its an ornate medieval candle guard or perhaps the main element of the flux capacitor. (smile).

__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 13-12-2009 at 01:14 PM.
ctbram is offline   Reply With Quote
Old 08-12-2009, 02:10 AM   #12
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

Redid the design a little to even out the negative space (holes).

__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 13-12-2009 at 01:14 PM.
ctbram is offline   Reply With Quote
Old 08-12-2009, 09:53 AM   #13
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

This is probably boring you all but I am having fun playing with different patterns (smile)...

Started with a Maltese kinda cross shape...

__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 13-12-2009 at 01:15 PM.
ctbram is offline   Reply With Quote
Old 08-12-2009, 10:10 AM   #14
Gen
Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,457
Thanks: 13
Thanked 635 Times in 558 Posts
Default

That last shape is pretty neato (yes I said neato).
Gen is offline   Reply With Quote
Old 08-12-2009, 10:38 AM   #15
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

Applying another bend deformer you can get interesting toroidal shapes...



...maybe this is the heart of the flux capacitor (smile).
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 08-12-2009 at 10:47 AM.
ctbram 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.