From last November onwards, I began a succession of Cocos3d C + + version of the rewrite, has begun to bear fruit, all the Cocos3d OC code is rewritten as C + +, can normally run on Android and Windows, the last week formally released the first version, Uploaded to GitHub, a favorite friend can be accessed by clicking on the link.
Engine effect Display
First show the effect of the engine, in fact, I can see on my personal homepage, here to share with you,
1. Character model with skeletal animation display: Skeletal animation using COCOS3D itself support pod format, I directly use, in fact, can add more model format support, this will be added in subsequent versions
(Fig. 1)
2.render to Target: can be rendered to 2D texture can also be rendered to CubeMap, is the display effect
·
(Fig. 2)
(Fig. 3)
Figure 2 shows a real-time rendering of the character model of the run in the scene to a 2D texture, and is displayed on the TV model
Figure 3 shows a six-direction scene with a teapot centered on the six faces of the cubemap.
3.3D Static mesh generation and loading display: Similar to the character model, currently only supports the display of the pod static model (Figure 4)
(Fig. 4)
4. Billboard: Theoretically, you can display the visible node in any cocos2d-x as the Billboard display target in a 3D scene. (Fig. 5) shows the sun as a billboard in the 3D scene, which is implemented by the particle system.
(Fig. 5)
5. Particle system : particle system used by the Point wizard to achieve, using the gl_point, I still agree with the cocos2d-x approach, using rectangular texture to do the point elf. This is improved in the next version, not for the time being.
Of course, the engine is not only these, lighting system, shadow effects are, here do not introduce, interested friends can download and run a look.
The two main problems that the engine currently encounters
1. Some models can not display the model of the skeletal animation, this is due to the fragmentation of Android and the engine itself shader complexity caused by too high, this temporarily unresolved, think of a solution is necessary to reduce the model of the display, you can remove the light, reduce the number of bones
2. The particle system is not displayed properly on some Android, and some windows also appear.
The engine is now my one-man writing, inviting the technology of the 3D engine to join together to write the Cocos3d-x engine.
Interested parties can email me [email protected], can also add me: Michaelgamedev
Finally welcome everyone to join COCOS3D-X Technical communication QQ Group to discuss common progress: 140525023
Thank you!
I wish you all a pleasant work!
Cocos3d-x 1st Release