PDA

View Full Version : about mesh and normal



zydgyy
12-04-2011, 06:35 PM
Hi!
If i have a mesh,can i set some polygons of them just have flat eadges,which means some vertices shared in these polygons just have only normals,and some polygons of them are smooth eadges,which means shared vertices have be duplicated,they have own normals and texture coordinates??

mobeen
12-04-2011, 09:47 PM
Hi,
If I understood you correctly, you should have a look at smoothing groups (http://www.youtube.com/watch?v=-Iswm1xKtGs)

zydgyy
12-05-2011, 06:11 PM
So,what is this smoothing group used for?Exracting normals?or sth. else?!

BionicBytes
12-06-2011, 08:45 AM
its a way of calculating normals.

zydgyy
12-06-2011, 09:19 AM
So, can u give me an example,code?It will be appreciated~

tksuoran
12-06-2011, 01:46 PM
You can find example code from this link (which was recently posted in this forum)

http://www.bytehazard.com/code/vertnorm.html