3.0rc: auto culling seems to fail in the rotate world test

Hi!

On Windows and Android, in the rotate world test the “MainMenu” label dissapears before reaching the top and the bottom of the screen.

Is this an auto culling problem?

Thanks!

I’m the only one with this problem?

I think it’s normal, because 2.x produce the same results.

There was some type of culling for labels in cocos2d-x 2.2?

It’s weird because reaching the left and the right of the screen doesn’t make the label to disappear, it happens only with the top and the bottom of the screen. Besides, it only happens with the rotating label, the other one is shown without problems.

It looks like the rotating label is out of the screen, not like disapear, and if you try the 2.2 version, you will find it the same result. Or please attch some picture about the wrong appearence.

I don’t know how to show this problem with an screenshot.
It’s something that should be viewed in motion…

You should follow with your eyes the rotating label: it disappears just before reaching the top and the bottom of the screen (less than a second before).

It’s easy to see the problem if, in RotateWorldTest.cpp, you change:

void RotateWorldTestScene::runThisTest()
{
    auto layer = RotateWorldMainLayer::create();

    addChild(layer);
    runAction( RotateBy::create(4, -360) );

    Director::getInstance()->replaceScene(this);
}

with:

void RotateWorldTestScene::runThisTest()
{
    auto layer = RotateWorldMainLayer::create();

    addChild(layer);
    runAction( RotateBy::create(20, -360) );

    Director::getInstance()->replaceScene(this);
}

By the way, it happens only when the label goes out of the top or the bottom of the screen.
When the label goes back, it seems ok.

bug created: http://www.cocos2d-x.org/issues/4549

Thanks!

By the way, it doesn’t happen only in the rotate world test. Chances are that if you rotate the main layer of any of the tests with runAction( RotateBy::create(20, -360) ); you’ll see the same problem with the superior labels.

we will solve this problem soon, and we will track such problem. Thanks.