We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Sprite is rendered incorrect when method setVertexZ() invoked
Sprite is rendered incorrect when method setVertexZ() invoked
The reason of the problem is: The using of RenderCommand::_globalOrder
conflict with the DepthTest in OpenGL.
I have no solution for the issue. It's related with the implementation of the new renderer.
@dabingnn know the issue, and he also doesn't know how to solve it by now.
all the plans can be changed in the future... even Firefox, Linux, Blender... all the major open source projects can change their plans in the future... but they keep their roadmap and issues open, so they can receive input from the community.
I think there is no point in making issues privates... specially for cocos2d-x.
I believe I am seeing this issue where an isometric tilemap is not behaving well using setPositionZ() in 3.x where we were using setVertexZ() in 2.x. From the release notes it appeared to be that setPositionZ was settings OpenGL's z coordinate, but it looks like this isn't the case and instead is just used to sort the render commands?
Is this fixed in the latest repository commit? and if not, is it planned to fix with the new tilemap renderer?
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8372
Status: | Closed | |
---|---|---|
Start date: | ||
Priority: | Normal | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | all | |
Target version: | Candidate |
Here is a related post from developer : http://www.cocos2d-x.org/forums/6/topics/47414
Reproduce the problem in TestCpp:
Modify the method
TMXIsoVertexZ::TMXIsoVertexZ()
in fileTileMapTest/TileMapTest.cpp
like this:The incorrect effect screenshot:

incorrect.jpg (191.3 kB) zhangbin@cocos2d-x.org, 2014-03-19 06:41