First release of Cocos3d-x, first release of cocos3d-x
Since September last November, I began to rewrite cocos3d C ++. Now I have achieved initial success. All the cocos3d OC code has been rewritten to C ++, it can run normally on Android and Windows. The first version was officially released last week and uploaded to GitHub. Friends who like it can click the link to access it.
Cocos3d-x Based on cocos2d-x 2.x writing, using cocos2d cross-platform advantage, separately encapsulated a 3D display layer, 2D, 3D does not affect each other.
Engine Performance display
First, we will show you the engine effect on my personal homepage. Here we will share with you some more information,
1. Character Model with skeleton AnimationDisplay: the skeleton animation uses the pod format supported by cocos3d. You can use it directly. In fact, you can add more model formats. This will be added in later versions.
(Figure 1)
2. Render To Target: It can be rendered to 2D textures or Cubemap to display the effect.
·
(Figure 2)
(Figure 3)
Figure 2 shows how to render the running character model in the scene to a 2D Texture in real time and display it on the TV model.
Figure 3 shows the scenario where a teapot is centered in six directions to the six faces of cubemap.
3. 3D Static mesh Generation and loading display:Similar to the character model, currently only the Display Effect of the pod static model is supported, as shown in figure 4)
(Figure 4)
4. Billboard:Theoretically, the nodes that can be displayed in any Cocos2d-x can be used as the display targets of the Billboard to be displayed in 3D scenarios (figure 5) displays the sun implemented by the 2D particle system as a Billboard in 3D scenarios.
(Figure 5)
5. Particle System: Particle System Using the dot genie implementation, the use of gl_Point, I still agree with the cocos2d-x approach, the use of rectangular texture for Dot genie. This will be improved in later versions.
Of course, there are more than these in the engine, including lighting systems and shadow effects. Here we will not describe them one by one. If you are interested, you can download and run them.
Two major engine problems
1. some models cannot display 3D skeleton Animation models. This is due to the fragmentation of android and the complexity of the engine's own shader, to come up with a solution, we need to properly reduce the Display Effect of the model, so that we can remove the light and reduce the number of bones.
2. The particle system cannot be normally displayed on some android systems, and may appear on some Windows systems.
I am writing the engine,We invite technical experts who love 3D engines to join us.Write the Cocos3d-x engine together.
Interested parties can mail me michaelgamedev@sina.cn, or add me: michaelgamedev
Finally, welcome to join the Cocos3D-x technology exchange QQ group to discuss the common progress: 140525023
Thank you!
Have a good time!