Just messing around with something here ...
I'm not 100% sure how the updatenormals function works but as you can see here it's no doing as I want. The attached image is a basic track mesh made from various track tile meshes. I use addmesh to make one big mesh then use updatenormals. Note that there are no shared vertices on each tile.
As you can see the lighting is dodgy at the seems. I've tried various programs from the code archives with no joy. What I want is a function that will sort out the lighting on the edges.
Can anyone help without the use of a modeling program?
I'm not 100% sure how the updatenormals function works but as you can see here it's no doing as I want. The attached image is a basic track mesh made from various track tile meshes. I use addmesh to make one big mesh then use updatenormals. Note that there are no shared vertices on each tile.
As you can see the lighting is dodgy at the seems. I've tried various programs from the code archives with no joy. What I want is a function that will sort out the lighting on the edges.
Can anyone help without the use of a modeling program?