Hi all. I'm creating a map editor for a very old game. One of the very first 3D MMORPGs. The players got a hold of the code and are running a server. Anyways heres the problem when creating the room in 3d. I create a mesh, add all the surfaces and verts. And for each vert in a surface Im calculating the UV values. If I dont do this when I paintsurface() with a texuture map the texturemap doesn't appear.
Is there some way to calculate all the uv values in a surface automaticaly so that when I addvertex I can just addvertex(x,y,z) instead of addvertex(x,y,z,u,v)???
Check out the game and editor discussion here!
|