背景图片挡住3d精灵的问题

刚学cocos, 下面的代码在3.4Beta还可以看见3D精灵的,更新到3.4正式貌似被挡住了,调整全局Z序也不行,是不是要设置什么的

void Animate3DTest::addSprite3D()
{ 
    auto s = Director::getInstance()->getWinSize();
    //////////////////////////////////////////////////////////////////////////
    //创建精灵
    CCSprite* sprite1 = CCSprite::create("test.jpg");
    sprite1->setPosition(s.width/2, s.height/2);
    addChild(sprite1);
    //////////////////////////////////////////////////////////////////////////
    
    std::string fileName = "Sprite3DTest/tortoise.c3b";
    auto sprite = Sprite3D::create(fileName);
    sprite->setScale(0.1f);

    sprite->setPosition(Vec2(s.width * 4.f / 5.f, s.height / 2.f));
    addChild(sprite);
    _sprite = sprite;
    auto animation = Animation3D::create(fileName);
    if (animation)
    {
        auto animate = Animate3D::create(animation, 0.f, 1.933f);
        _swim = RepeatForever::create(animate);
        sprite->runAction(_swim);
        
        _swim->retain();
        _hurt = Animate3D::create(animation, 1.933f, 2.8f);
        _hurt->retain();
        _state = State::SWIMMING;
    }
    
    _moveAction = MoveTo::create(4.f, Vec2(s.width / 5.f, s.height / 2.f));
    _moveAction->retain();
    auto seq = Sequence::create(_moveAction, CallFunc::create(CC_CALLBACK_0(Animate3DTest::reachEndCallBack, this)), nullptr);
    seq->setTag(100);
    sprite->runAction(seq);
}


```

背景节点挂到一个3d精灵上去

背景的2D图片,globalz设置为-1

背景图设置-1还时看不到3d的精灵啊。。

设置-1还不行?确认是挡住了?

楼主怎么解决的额

— Begin quote from ____

引用第5楼ever_4于2015-06-03 14:24发表的 回 楼主(qifa) 的帖子 :
楼主怎么解决的额 http://www.cocoachina.com/bbs/job.php?action=topost&tid=284930&pid=1320803

— End quote

之前搜索了一下坛子, 大概比较好的方法是2D和3D分开用不同的摄像机
具体帖子忘记了,你自己搜索一下论坛
或者看看 Camera 类头文件上面的那段注释, “Note:…” 下面的几行, 说得比较明确
使用方法引擎例子里面也有

楼主解决了吗?遇到同样问题了= =