Home > other > Small white one, is doing a project to use, no clue, be badly in need of a great god help.
Small white one, is doing a project to use, no clue, be badly in need of a great god help.
Time:09-17
Is doing a real-time display of the project, the time is urgent, hear people say u3d can do, I have a small white, now only learned some tutorials on the Internet, mostly about the game, how to do but just want to make our project a few data, according to the passed to display the target location in the terrain, then you can switch the direction of the lens, do a panoramic observation can, do not need to make the game, but because the time is short, can't study u3d system, I do not know where laid a hand on him, so you also a great god, please give some ideas, give point the direction of the study,
CodePudding user response:
First data transfer, it must be connected to the network, is divided into HTTP and TCP watch your project use, transmission is parsed directly transfer files (Json/Xml) to synchronization, is operating the camera lens, the position, the rotator should be very simple
CodePudding user response:
1 set up a project, first scene 2 the terrain data loaded into the scenario, terrain should have? 3 join lens can response the logic of the keyboard and mouse, implementation perspective to go forward, backward, turn direction, 4 can also add button to replace the keyboard events, points up and down or so lens conversion button, 5 to join the network function, to implement the data transmission and you said 6 add data parsing, will pass to the data into a coordinates, 7 above coordinates to join a red target display Move the camera to coordinates, or a nearby perspective,
This is easier said than done, for beginners, the code is to learn to write for a long time,
You're making above or u3d BBS, search, is there and you need something, download a, change may be hurry up,