Diagonal Split Screen

Hi,

I would like to do something like this http://blog.bigbunkerstudio.com/?p=154 but divided corner to corner. I try using next code without full succeed:

@
CCSprite* bird = CCSprite::spriteWithFile(“CloseSelected.png”);
CCSprite* l1 = CCSprite::spriteWithFile(“02.jpg”);
CCSprite* l2 = CCSprite::spriteWithFile(“03.jpg”);
this~~>addChild;
this~~>addChild(l2);

l1~~>setPosition);
l2~~>setPosition(ccp(size.width/2,size.height/2));

l1~~>getCamera~~>setCenterXYZ;
l2~~>getCamera~~>setCenterXYZ;
l2~~>addChild;
CCMoveBy* m = CCMoveBy::actionWithDuration);
bird~~>runAction( CCSequence::actions(m,m~~>reverse,m,m~~>reverse(),NULL) );@

As you can see I use some minimal 3d rotation and actually it make look like the screen is diagonal splited but… when I make the “bird” fly from one side to other it spawn a lot of graphics glitches.

I read that using CCRenderTexture and use mask, dont know is the only or best method to have a splited diagonal screen.

Thanks, and Regards :3