sidebar features
sidebar content

Go Back   Blender Artists Forums > Game Engine > Game Engine Support and Discussion

Reply
 
Thread Tools
blenderage's Avatar
blenderage blenderage is offline
Member
 
Join Date: Apr 2002
Location: Leeds UK
Posts: 634
Just a quick tutorial showing the use of "smoothing groups" in blender to get more detail out of your low poly models.



Number 1 shows a model that has smoothing applied, useful, but it leaves those nasty black lines around sharp edges. By selecting the appropriate sections, then pressing P to seperate them, you can get rid of those lines and with the added bonus of an increase in detail due to the better way in which the light falls on it.

Once you've got rid of the black lines just rejoin the pieces, at (what i can tell) no loss in game engine performance.



This image shows how you can make a massive difference to your models using this technique. Its not only for cars and tubes either, its a common technique in character modelling. (I'll post an example once ive finished it).

I hope this was useful, if anyone doesn't understand anything let me know. Thanks.
#1   Old 25-Feb-06, 11:59   
Reply With Quote


Jason H's Avatar
Jason H Jason H is offline
Member
 
Join Date: Mar 2005
Posts: 536
Well, I've only been awake for an hour and learned something about blender today! Thanks blenderage, very useful.
This could also be useful in rendering couldn't it?
#2   Old 25-Feb-06, 15:45   
Reply With Quote
Luma's Avatar
Luma Luma is offline
Member
 
Join Date: Apr 2006
Location: South Africa
Posts: 62
Wow thanks! Will look into this... seems its works really well!
#3   Old 27-Jun-06, 08:53   
Reply With Quote
ondrew's Avatar
ondrew ondrew is offline
Member
 
Join Date: Apr 2005
Posts: 284
Looks interesting, I always wondered how to do smoothing groups in Blender, but it never occured to me to separate the meshes. One tip though, using Y is probably easier, since it doesn't create a second object.

I could add a little insight, why it works. When rendering smooth objects, every vertex needs a normal, which is computed as a normalized sum of normals of all polygons the vertex belongs to. By separating the vertices along sharp edges, no suming of normals happens, hence the sharp edge appears.
............................................
V for Vendetta | Fire Elemental: The Game | You Stole My Notebook
#4   Old 27-Jun-06, 09:13   
Reply With Quote
Vek Vek is offline
Member
 
Join Date: Jan 2005
Posts: 64
This is a decent bandaid until actual smoothing groups are supported! Its not as good as actual smoothing groups, of course, because you can't do things like a join between two different smoothing groups at a specific polygon but not the surrounding polygons.
#5   Old 28-Jun-06, 07:54   
Reply With Quote
fobsta fobsta is offline
Member
 
Join Date: May 2004
Location: lOdOn
Posts: 741
Other programs have much more elegant solutions for hard/soft edges (have a look at Maya or Multigen).

If the lovely programmers are going to donate some time to this feature myself and a few other people (see the threads floating around on Elysium and Blender.org) would like a solution that isn't based on Max's Smoothing Groups.

rant over

sorry
#6   Old 28-Jun-06, 12:09   
Reply With Quote
Jacco's Avatar
Jacco Jacco is offline
Member
 
Join Date: Sep 2005
Location: ROESELARE
Posts: 1,120
I think this is a very clever way of solving it but, whats when you're using armatures on an object?
I noticed the mesh is deformed. no subsurfing anymore, for example.

Jacco;

PS: @fobsta: its blenderartists.org now. Elysiun has died.
............................................
Audi A6 4.2 quatro: WIP
Indigo Porsche 550: WIP || Finished artwork || Blender Gallery

Last edited by Jacco; 28-Jun-06 at 12:42.
#7   Old 28-Jun-06, 12:36   
Reply With Quote
3DGURU's Avatar
3DGURU 3DGURU is offline
Member
 
Join Date: Jun 2005
Location: Middle East / Jordan
Posts: 3,609
good tut ....

3DGURU
............................................


Last edited by 3DGURU; 29-Jun-06 at 12:36.
#8   Old 29-Jun-06, 12:29   
Reply With Quote
blenderage's Avatar
blenderage blenderage is offline
Member
 
Join Date: Apr 2002
Location: Leeds UK
Posts: 634
Just another small point, if you are going to use this make sure it is the last thing you do. Its not always possible to know when you've completely finished a model, but it makes life easier. That way you can unwrap, texture, rig as normal then just use, as ondrew correctly point out, Y to split the polys.

Jacco- this technique is best suited to the game engine, so its not good for subsurfing. Instead use creases or add extra edge loops to get hard edges. Armatures should work fine as long as you rig before you split.
#9   Old 29-Jun-06, 13:37   
Reply With Quote
youngbatcat youngbatcat is offline
Member
 
Join Date: Mar 2002
Posts: 2,037
Hmmm very neat.. Could you some how show what Edge split does? Its in the modifiers but I have not seen a working example of what it really does*
#10   Old 05-Dec-06, 19:57   
Reply With Quote
lycanthrope's Avatar
lycanthrope lycanthrope is offline
Member
 
Join Date: May 2004
Posts: 304
This is a very generic smoothing group technique AFAIK. Smoothing group on a software (namely max) won't displayed correctly on some other software.

I dug up quake 2 models back then and I'm quite confused why does the models separated in irregular way. Turn out they use this technique. Although it's much painful todo than max' it is surely safer.

Cool tut.
............................................

#11   Old 05-Dec-06, 20:53   
Reply With Quote
PaladinOfKaos PaladinOfKaos is offline
Member
 
Join Date: Nov 2005
Posts: 31
Not just Quake 2 models. Doom3, and any games using that engine, need the same sort of splitting. I don't know about other engines, but I'd expect it's a pretty common thing. With skeletal animation becoming more and more prominent, storing normals for each frame just doesn't work. It becomes impossible once physics and IK is added to the mix. Splitting the mesh is really the only way to get it to work right, without a lot of extra code. Saving time on the art isn't worth the extra time per frame.
#12   Old 06-Dec-06, 02:36   
Reply With Quote
MagicMyshu's Avatar
MagicMyshu MagicMyshu is offline
Member
 
Join Date: Jun 2006
Posts: 1,082
I needed this- thanks a lot man

edit: and plz post character example asap!

=p

Last edited by MagicMyshu; 06-Dec-06 at 04:02.
#13   Old 06-Dec-06, 03:26   
Reply With Quote
atm-matt atm-matt is offline
Member
 
Join Date: Oct 2006
Location: Pennsylvania
Posts: 89
Very cool!

I've been trying to make an interactive model (using the game engine). So far it's pretty complex and runs slow but after spending 15 minutes doing the seperating and rejoining it's already loading twice as fast and running a lot smoother!
............................................
You know what all Blender Directors say is the key to all animations?

Location...Rotation...Location...
#14   Old 06-Dec-06, 03:30   
Reply With Quote
poison's Avatar
poison poison is offline
Member
 
Join Date: Jan 2006
Location: Hungary
Posts: 132
It's no smoothing group at all, even if it turns out to have (only visualy!) the same effect. Just to mention those extra vertices created with the split. Hopefully one day Blender will have tools for normal editing others than auto smooth.
#15   Old 06-Dec-06, 07:14   
Reply With Quote
olivS's Avatar
olivS olivS is offline
Member
 
Join Date: Dec 2003
Location: France
Posts: 1,057
huh?!?

What's the difference with selecting groups of faces in Edit mode, and then Applying Set Smolid area by area? It seems to me a very complex (and not so straightforward) for smoothing only parts of a model???

It's a commonly used technique: suppose you have a cylinder and that you want it to be smoothed: on the flat ends, the shading will be wrong it you use SetSmooth on the whole mesh. So set smooth the entire cylinder, enter Edit mode, select one end : SetSolid, unselect all, select the other end: SetSolid.

The trick is done!!!! (and you can do it since ages...)

I don't want to bash blenderage's tip, it's just that i'm wondering if i misunderstood something about the point of this...

Edit: well, I has an answer about the point of this in the comments of Blendernation: http://www.blendernation.com/2006/12...w-poly-models/
:-) I really has had misunderstood the point of it.
............................................
Olivier Saraja
--
::Feeblemind.org::
(heaps of tutorials in [en] and [fr] - full list here: http://www.elysiun.com/forum/viewtopic.php?t=39327)

Last edited by olivS; 06-Dec-06 at 12:52. Reason: adding "apologies"
#16   Old 06-Dec-06, 09:29   
Reply With Quote
Thorgal's Avatar
Thorgal Thorgal is offline
Member
 
Join Date: Sep 2003
Location: Brazsil
Posts: 568
Hey awesome trick!
Blenderage: in a case of a rigged mesh are you really sure that you can aply this method BEFORE rigging without messing the model? Does i need to use the "P" button to make that? And if i have asigned animation cicles will this method also work?
Thankx in advance.
............................................
www.primotico.blogspot.com

#17   Old 06-Dec-06, 16:26   
Reply With Quote
spiderworm spiderworm is offline
Member
 
Join Date: Jan 2003
Location: Puyallup, WA, USA
Posts: 127
There's another way to do this that's probably better than the other techniques mentioned here.

If you add the "Edge Split" mesh modifier to the mesh, you get the same result. You also get the added ability to use it with other modifiers (such as subsurf) and do UV mapping.

spidey
............................................
Blender 3D Consulting & Training - http://consulting.tellim.com
#18   Old 06-Dec-06, 17:05   
Reply With Quote
Azdo Azdo is offline
Member
 
Join Date: Aug 2005
Posts: 24
Very good trick; it integrates perfectly in the way that the 3D libraries manage vertices.

I prefer this approach to smoothing groups, because the latter is no more than a modifier that tells the modelling program to only average the normals of every group together. Nevertheless, that information is lost when exported to a game engine.

By splitting the mesh into several parts, vertices get duplicated. In OpenGL for example, a vertex can only be considered equal to another not only if their coordinates match, but they also have to have identical normal and texture coordinates. So, even if you used a program with smoothing groups, you would have to split eventually the mesh anyway to send it to the graphics pipeline.

I think this is the main reason for the Blender developers not to implement that feature. It is supplied already with creases in subsurf mode and as seen before, it is not really important or neccesary when lowpoly modelling, because we have the good old Y key.

Thank you again Blenderage for sharing!
#19   Old 06-Dec-06, 21:05   
Reply With Quote
Dim's Avatar
Dim Dim is offline
Member
 
Join Date: Mar 2006
Location: US
Posts: 995
This is a nice technique, but I think olivS is correct, you can set partes of objects smooth without having to separate the vertices. Also guys, consider that this thread was written nearly a year ago in february of '06, and I haven't seen Blenderage on here for some time.
............................................
If you are want to make good looking games in Blender, please start here,
Works: Textures, Models, Classmate 1, Classmate 2, Minibytes, Decrepit Wall, Pen and Ink, Character Development, Sketchbook
#20   Old 06-Dec-06, 22:41   
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 14:10.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists