I am writing a small level editor for my new game. The idea is that you fly around, and a tunnel mesh is dynamically created, following the path of flight. This is all working fine, but I have run into a problem with the normals. I am setting the 'normal' coordinates for each vertex to the centre of the tunnel, but this seemed to texture the outside of the tunnel. So I tried setting all the normal coordinates to 1 - hoping this would give me some strange results - but again, all the textures are on the outside of the tunnel. No matter what I set the normals to, the textures are on the outside. Am I doing something stupid, or does DB-Pro always set the normals to the 'outside' of an object when you create an object from a memblock mesh?
I hope someone can help me with this.
Cheers.