It can also be used to develop virtual simulation systems, such as Second Life System.
An efficient interface system can not only build a common game interface and software interface, but also quickly build a 2D game map and integrate resources.
(1) Introduction of main functions of the system
1, introduction of system tools
3dsmax8, 3dsmax9 and 3dsmax2009 Export Plug-ins
Model attribute editor, special effects editor, UI editor, scene editor and image texture encryption tool. fxcompiler.exe compiled the text fx file into binary file, and splitTexture.exe divided the shadow map into four parts to reduce the memory occupied by the shadow map.
Note: The combination of all tools can effectively improve the development efficiency of the target project.
2. The engine supports content
1) requires a minimum computer configuration.
A) The system windows2000 or above is preferably XP.
B) Graphics card: ATIx700 or Nvidia5200.
c)CPU: 1.2GHz
E) memory 256M.
F) The graphics card needs to support shader model2.0 or above.
2) Introduction of rendering system
A) Highly optimized geometric rendering system, which can render more than 20 million faces per second.
B) Using normal map, the rendering effect of low polygons (thousands of faces) can reach the level of detail of high polygons (millions of faces).
C) The super-large seamless map can support the scene with the maximum size of 100 km x 100 km.
In general games, the disk space occupied by big scenes is usually hundreds of megabytes or even thousands of gigabytes. When a scene is controlled at 2 million faces, the file size is basically more than several hundred megabytes.
Phantom game engine compresses these data to the greatest extent, which can effectively reduce the space occupation of the release version. Generally, in the case of 2 million faces, only about 10M is consumed, and 1000x 1000 grids are enough for ordinary games to create a large community. The maximum number of grids supported by this terrain system is 32768x32768. According to one meter grid, the size is 32km x 32km, and it takes 3 to 5 hours to walk from one end to the other, occupying 1.4G hard disk space and 280 million surfaces.
D) Particle system (particle injection management system in colleges and universities, which can quickly distribute and recycle particles through a fixed particle management pool to improve the particle injection speed), each emitter can support the injection of 1000 particles at most, and the number of particles in the whole system can be set according to user's requirements.
E) Shadows that support fixed geometry rendering.
F) Support normal map, special map, reflection map, shadow map and illumination map.
G) Support shader models 2.0 and 3.0 (GPU-based software rendering).
H) Efficient skeletal animation system and role dressing system.
I) Support fast dynamic lighting (mainly reflected in the automatic adjustment of the intensity when sunlight passes through the blocked object).
J) Support a variety of post-processing methods such as blood staining and blurring (mainly used to add some special effects on the basis of rendering the whole scene, such as magic feeling or movie effect output).
K) Render the model to the texture and display it on the interface.
I) The sky is added to the system in the form of a model, which can be edited and switched as needed.
User interface system.
N) Support exporting 3Dsmax, bone animation, model animation, vertex animation, material animation, etc. based on skin or Physique skin system.
O) You can bind a rendered object or sound to an action, and the pre-bound rendered object or sound can be automatically played at the beginning of the action.
P) terrain system
I support up to 6 layers of terrain map blending, and there is no limit to the number of maps that can be used in the whole scene.
Two. Super-large seamless terrain can support up to 32,768 * 32,768 vertices (more than 200 million vertices), and can also form a large terrain of 32x32 kilometers according to the size of a triangle.
Three. Less disk space is occupied, and the maximum terrain occupation is about 2.5G The local system will minimize the disk space occupation.
Four. The dynamic loading system can support the dynamic loading and storage of terrain.
Verb (abbreviation of verb) optimized terrain model and highly optimized terrain triangle system can combine multiple terrain meshes into one mesh to reduce the number of triangles rendered at the same time.
Intransitive verbs support realistic water reflection.
Seven. Provide a scene editor to edit the whole large terrain.
Q) Realistic and efficient water surface rendering function
R)3D sound effects and 3D music, supporting music format files such as wav sound effects and mp3.
S) Support the planting of large areas of grass and plants, and quickly classify grasslands.
T) Add objects to the scene in the form of plug-ins (3D sound effects, 3D music, 3D models, particle emitters, etc.). They are all added to the scene in the form of plug-ins, and users can also write custom objects into the scene themselves).
U) 2D patrol system based on AStar algorithm.
V) Local video files can be bound to the model and output through 3D pictures and 3D channels.
W) Text can be sent to the 3D buffer and displayed at the head of the character.
3) customers
A) You can flexibly construct a renderer or a client through the project_main class.
B) Use state control method to control the rendering process in different stages, such as login process and game process. , and each process corresponds to its status class.
4) server
5) The bottom layer of the network server is developed with IOCP technology.
6) Have the basic network system architecture of server and client to help users quickly establish their own network system.
7) The maximum number of user connections of the server is greater than 10000, and the amount of the underlying memory of the server required to manage these 10000 connections is about 400M, and the maximum number of data packets can be sent out every second, and the data transmission amount is greater than 30M seconds. (The actual simulated client has been tested many times, because each message is counted as a round trip during the test, so the receiving speed of the data packet is also calculated.
8) Provide fast message encryption. After encryption, the maximum number of packets per second exceeds 40,000, and the data volume exceeds 25M (this indicator is tested according to my machine configuration. My CPU model is Intel Core 2 quad-core CPU Q6600@2.4Ghz, with 4G memory.