Make a large map based on the Unity3d engine
1. Download Unity3d:
Http://www.devzone.cn/thread-17305-1-1.html
2. Make a grayscale Image:
Need: Photoshop
Gimp
Google search FirstWorldmap-a_non-frame.pngThis map to download a piece to your PC
And thenGIMPopen it, right-click picture, pop-up menu--Select--by Color.
The advantage of this map is that the ocean is a few blue, according to the color of the left button to select these blue, press the DELETE key to remove the color, clean up after the "Dog planing Learning Net"
Then the menu barimage--mode --Grayscale
Then the menu barColor--Reverse
Save, open it with PS,,, withFilter--blur--Gaussian Blur
There's a problem to be aware of! The image must be a square with an equal length of edge!
Finish, this map's grayscale map must point to the menu baredit-Transform-horizontal transformation (you must ask why!) The map is reversed? Yes, it's reversed because unity will flip horizontally after importing raw, so you have to flip the height graph into the engine. )
Save As. Raw
The topography of 3.u3d
Run unity, how can I find tutorials, create a project after the new scene, we start the map work, the upper left corner to findCreate, the menu is selectedTerrain.
So we got a terrain like, find thatgear icon
We call this icon set, the other we don't care, look for the followingResolution
The wides width length is then set to the edge length of the height graph, which is the length of the image.
Height can be adjusted at any time, which is the maximum height of the map.
Then the following import Raw ... Import our altitude map, then pop up the small window, the other do not move, the default Mac is set to Windows. Then import, and then our terrain went in.
Adjust to what you think is appropriate, and then we say how to export to obj format ...
We need to export the script: Http://wiki.unity3d.com/index.php?title=TerrainObjExporter
Use my simple words, understand English can read the above Web site said usage.
If that is a window of management resources, the right side of the large window of the blank part of the right click, the menu point show in Explorer you find the Explorer can open a folder, yes, it is in your computer folder (this line of text just lets you understand constructs ... )
So.. Right side of the blank section, the menu click Create .... Then choose C # Script or Java Script
Then if you use C #, you just copied the C code in that address, paste it in (The new script has a few lines of code, all erased and then pasted。 JS on the Paste JS.
Then unity's menu bar will have one more terrain option, click on Export to obj ....
Then nothing more ....
Export format is triangles triangle default do not touch
Resolution is important:
Full number of complete polygons for the current terrain grid
Half half of the current number of terrain mesh polygons
Quarter One-fourth
Eighth one-eighth
Sixteenth One-sixteenth
Note: The obj map model is imported to Max and then to Max to import an obj of the native map (don't ask me how to get the ride-cut map for obj to export), and compare the ride-down map obj to rotate the movement and calibrate the grid coordinates. Then import it to the editor to be correct.
After correcting the coordinates, export obj to your editor's map data and the editor will be able to import ....
General export backward Max see more than hundreds of thousands of sides of the editor do not import ....
All the details.
And if your opponent paints a map, you can combine the map editor with Unity, and you'll see.
But unity hand-painted although the details you are very happy, but the number of faces you will be uncomfortable ....
Some of the basics I didn't say so detailed, but the groping will be
Complement two:
Make a large map based on the Unity3d engine