As a new (and not very good) mesh "writer" I have been trying to make a mesh for a road.
I started by putting the image into the bitmap of the surface tile but as my base tile is not 512 metres wide and every tile IS 512 the images left a lot to be desired. Made a "block" 0.1 metres tall and painted the roof but can not stop it from casting shadows!! Meshs yes blocks No
All I am making is a cube and painting / texture the top. One cube with a single face textured and then copy like a mad man. It keeps the texture file size down but now the mesh file size is growing to the point of getting me thinking is it worth it.
I am using Wings3D ( please don't say use blender as I have only just got into wings!!) and the exporter works a treat.
However I end up with 512 cubes to do 256 meters of road. ( Still fine tuning the cube size / texture size.) Each one of which has 5 faces that are "not earning their money", saved 511 texture files but still end up with an ever growing mesh size. By the time I have built the base its going to have maybe 10km of road. My plan was for a number of meshs 1km, 256m, 64m, 8m well you get the idea
As the cubes are copies when I looked at the file in notepad I was struck by the shear number of times a given value is repeated. So I did a find and replace and swapped a value of 0.57735027 for 0.578, a value of 4.0000000 for 4.0 . In the end a file of 70,218 bytes came down to 54,090. At first glance the image seems unaltered but have I "reduced" the mesh or just saved 20Kbytes disk space on a 200Gbyte disk i.e. a waste of time.
If as I suspect is is all down to the number of "triangles" does anyone know to reduce the head count. The faces of the cube seem to be made of 4 triangles, could this not be reduced to two?
I don't seem to be able to do it in Mesh Wizard and Wings either can not do it, wants to convert my cubes into amazing shapes or I just can not find it in what documentation I could find.
Also it struck me as to why no one else had done some thing like this? Is it because in the end its not worth the effort...
As you have done in the past gents, can anyone offer any ideas?
I started by putting the image into the bitmap of the surface tile but as my base tile is not 512 metres wide and every tile IS 512 the images left a lot to be desired. Made a "block" 0.1 metres tall and painted the roof but can not stop it from casting shadows!! Meshs yes blocks No
All I am making is a cube and painting / texture the top. One cube with a single face textured and then copy like a mad man. It keeps the texture file size down but now the mesh file size is growing to the point of getting me thinking is it worth it.
I am using Wings3D ( please don't say use blender as I have only just got into wings!!) and the exporter works a treat.
However I end up with 512 cubes to do 256 meters of road. ( Still fine tuning the cube size / texture size.) Each one of which has 5 faces that are "not earning their money", saved 511 texture files but still end up with an ever growing mesh size. By the time I have built the base its going to have maybe 10km of road. My plan was for a number of meshs 1km, 256m, 64m, 8m well you get the idea
As the cubes are copies when I looked at the file in notepad I was struck by the shear number of times a given value is repeated. So I did a find and replace and swapped a value of 0.57735027 for 0.578, a value of 4.0000000 for 4.0 . In the end a file of 70,218 bytes came down to 54,090. At first glance the image seems unaltered but have I "reduced" the mesh or just saved 20Kbytes disk space on a 200Gbyte disk i.e. a waste of time.
If as I suspect is is all down to the number of "triangles" does anyone know to reduce the head count. The faces of the cube seem to be made of 4 triangles, could this not be reduced to two?
I don't seem to be able to do it in Mesh Wizard and Wings either can not do it, wants to convert my cubes into amazing shapes or I just can not find it in what documentation I could find.
Also it struck me as to why no one else had done some thing like this? Is it because in the end its not worth the effort...
As you have done in the past gents, can anyone offer any ideas?