Hey guys, wondering if the "set smooth" option in Blender (and I'm guessing other modeling software) causes a significant performance hit (if any) versus the "set solid" option.
Any info appreciated.
thanks
Set smooth - in blender - performance cost?
-
- Silver Sponsor
- Posts: 578
- Joined: Mon Jun 15, 2009 8:29 pm
- x 64
Set smooth - in blender - performance cost?
Visit http://www.VoidDestroyer.com to check out my space sim project - Void Destroyer
-
- OGRE Expert User
- Posts: 1920
- Joined: Sun Feb 19, 2012 9:24 pm
- Location: Russia
- x 201
Re: Set smooth - in blender - performance cost?
The "set solid" option requires duplicated vertices and normals so it eats more memory but performance should be equal on any modern hardware.
-
- Minaton
- Posts: 921
- Joined: Sat Jul 31, 2010 6:29 pm
- Location: Belgium
- x 80
Re: Set smooth - in blender - performance cost?
If anything "set smooth" improves the speed
As bstone mentioned, it makes neighbour triangles share the same vertices (as opposed to flat shaded which has 3 vertices for each triangle). So the data needed for your model will decrease with smoothing applied. (and smoohing is generally what you need for 90% of your models I presume)
Don't confuse "set smooth" with subdivision modifiers, though. Those actually add extra faces (at least when you apply them to the mesh before exporting).
As bstone mentioned, it makes neighbour triangles share the same vertices (as opposed to flat shaded which has 3 vertices for each triangle). So the data needed for your model will decrease with smoothing applied. (and smoohing is generally what you need for 90% of your models I presume)
Don't confuse "set smooth" with subdivision modifiers, though. Those actually add extra faces (at least when you apply them to the mesh before exporting).
Developer @ MakeHuman.org
-
- Silver Sponsor
- Posts: 578
- Joined: Mon Jun 15, 2009 8:29 pm
- x 64
Re: Set smooth - in blender - performance cost?
Thanks! Now I have to set smooth everything
Visit http://www.VoidDestroyer.com to check out my space sim project - Void Destroyer
-
- Minaton
- Posts: 921
- Joined: Sat Jul 31, 2010 6:29 pm
- Location: Belgium
- x 80
Re: Set smooth - in blender - performance cost?
Just go for what looks best, since there really is no difference in performance. I think with blender you can also set some edges sharp and others smooth, if that is what you want.
Developer @ MakeHuman.org
-
- Gnoblar
- Posts: 18
- Joined: Thu Jan 26, 2012 2:58 am
- Location: Canada
- x 9
Re: Set smooth - in blender - performance cost?
A good page on model optimization you might find interesting.
http://dungeonhack.sourceforge.net/Model_Optimization
It also links to the Vegastrike wiki with some good practices on creating nice bevels and welds.
http://dungeonhack.sourceforge.net/Model_Optimization
It also links to the Vegastrike wiki with some good practices on creating nice bevels and welds.
-
- Minaton
- Posts: 921
- Joined: Sat Jul 31, 2010 6:29 pm
- Location: Belgium
- x 80
Re: Set smooth - in blender - performance cost?
Indeed very good tips.
- Checking for wrong facing faces
- Finding and fixing non-manifold vertices
- Using sharp edge modifier
- avoiding intersecting triangles
All very recommendable
- Checking for wrong facing faces
- Finding and fixing non-manifold vertices
- Using sharp edge modifier
- avoiding intersecting triangles
All very recommendable
Developer @ MakeHuman.org
-
- Goblin
- Posts: 210
- Joined: Mon Dec 12, 2011 12:52 pm
- Location: Germany
- x 34
Re: Set smooth - in blender - performance cost?
Has anyone testet whether the sharp-edge modifier works with the Blender2Ogre exporter?
From a quick search in the script it looks like it only checks the whole faces whether they are set to soft so i guess if this is supported in any way you have to apply the modifier to the mesh but I'm not sure this works at all.
Guess I'll but it on my to-do list for summer vacation.
From a quick search in the script it looks like it only checks the whole faces whether they are set to soft so i guess if this is supported in any way you have to apply the modifier to the mesh but I'm not sure this works at all.
Guess I'll but it on my to-do list for summer vacation.
-
- Minaton
- Posts: 921
- Joined: Sat Jul 31, 2010 6:29 pm
- Location: Belgium
- x 80
Re: Set smooth - in blender - performance cost?
Good point. I don't think I've tested it.
Developer @ MakeHuman.org
-
- OGRE Expert User
- Posts: 1920
- Joined: Sun Feb 19, 2012 9:24 pm
- Location: Russia
- x 201
Re: Set smooth - in blender - performance cost?
I believe it works because I certainly used it for some models and I don't remember any visual difference when displaying the resulting .mesh in the game.