View Full Version : Polygon smoothing
twoshoes 10-21-2004, 02:58 AM Hey guys, how can i turn off/on polygon smoothing on my low poly models, in Lightwave you can turn it on by making a texture for it and in the texture set up its called Smoothing, does maya have this? if so where?
|
|
stallion151
10-21-2004, 03:04 AM
not exactly sure about lightwave thing, but to turn off smoothing go to your channel box click on smooth....and change divisions to zero.
twoshoes
10-21-2004, 03:59 AM
:) i cant find exactly where you mean, could u tell me in a more simpler way (bit of a noob)
NitroLiq
10-21-2004, 04:39 AM
If you're talking about modeling with a low-poly shell while viewing the smoothed object, you create a cube, then go polygons > smooth proxy. Then you can just move the LP shell out of the way and you'll see the smoothed cube inside. You can adjust the smoothness of it by going to your inputs in the channel box for polySmoothFace and raise or lower the divisions.
pollywoggles
10-21-2004, 04:40 AM
here is an example...
http://www.geocities.com/pollywoggles2 (http://www.geocities.com/pollywoggles2/)/SmoothEx.jpg
twoshoes
10-21-2004, 04:59 AM
I think were talking about the same thing here, problem is here
This is it when i render it, i get this when smooth shading is turned on for that object
http://img53.exs.cx/img53/3195/9218.jpg
This is it when i turn off smooth shading for the object
http://img53.exs.cx/img53/3681/9219.jpg
My problem is, that part of the object needs to me smoothed and some parts dont
Scott212
10-21-2004, 04:59 AM
I think I have a script that matches your request! I always write myself little tools to help me along and I think I have one perfect for your request. It's attatched in a zip file. Just drag the contents of swSmoothPolyTool.mel onto your shelf by opening it in notepad or something similar. Please let me know if you like it!
Scott Willman
twoshoes
10-21-2004, 05:04 AM
Thats a cool tool dude but the problem is still when i render it :S
Scott212
10-21-2004, 05:11 AM
if it's an issue of some parts being smoothed and some not, that's just how many subdivision you have in certain areas. There's a few different ways to acheive that such as manually splitting faces or polygons>subdivide. You could also detatch the areas that shouldn't be smoothed and then do the smooth on the main object. You'll need some alterations on the unsmoothed geometry so that you can reattach it, but other than that, there's not a supported method within maya.
twoshoes
10-21-2004, 05:29 AM
http://img56.exs.cx/img56/5391/eg.th.jpg (http://img56.exs.cx/my.php?loc=img56&image=eg.jpg)
Heres how it works in <cough> lightwave
Scott212
10-21-2004, 05:33 AM
at this stage, that function doesn't exist. You're gonna have to find a different way around it.
I used to use lightwave and this smooth function is correspond to soften/harden in maya.
EditPolygon>nomals>soften/harden option.(you can set angle)
If my memory is right.....
twoshoes
10-21-2004, 05:55 AM
Cheers everyone :D got it sorted now
safakoner
10-21-2004, 05:34 PM
you can assign this code to a hotkey ;)
string $CurSel[] = `filterExpand -sm 12`;
if(`size($CurSel)` == 0)
error "No polygon object selected.\n";
else
{
if(`size($CurSel)` > 1)
error "Please select only one polygon object.\n";
else
{
if( `objExists SmoothToggle` )
{
setAttr "SmoothToggle.divisions" 0;
delete SmoothToggle;
selectMode -object;
string $csel[]= `ls -sl`;
select $csel;
print "Equinox Smooth Level Set to : 0";
}
else
{
selectMode -object;
string $csel[]= `ls -sl`;
polySmooth -mth 0 -dv 2 -c 1 -kb 1 -ksb 1 -khe 0 -kt 1 -kmb 1 -suv 1 -sl 1 -dpe 1 -ps 0.1 -ro 1 -ch 1 $csel;
string $sn[]=`ls -sl -dag -type mesh`;
string $sel_fs[]=`listConnections -type polySmoothFace $sn[0]`;
rename $sel_fs[0] SmoothToggle;
select $csel;
print "Equinox Smooth Level Set to : 2";
}
}
}
stallion151
10-21-2004, 11:00 PM
what does your script do Equinox? i thought he was only after the soften/harden for normals...
safakoner
10-22-2004, 05:07 PM
ok.
If you assign this script to a hotkey, you can use it smooth toggle like tab key in Lightwave.
:)
I wrote this script 8 months before. I just want to share.
stallion151
10-24-2004, 11:09 PM
hey equinoxx, check your PM.
annaleah
10-24-2004, 11:46 PM
equinox has many very excellent scripts.
Thanks.
CGTalk Moderation
01-19-2006, 03:00 PM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.