Cocos2DXNA / cocos2d-xna

XNA Port of Cocos2d-X
www.cocos2dxna.com
227 stars 123 forks source link

Regression drawing errors #394

Closed totallyeviljake closed 9 years ago

totallyeviljake commented 10 years ago
  1. If you take a look at effect advanced test the first one has no background and only one girl on the screen
  2. on the transitions test the page up and page down are not working any more
  3. the back ground has disappeared again like in the beginning
  4. the system font tests no long work
  5. on the effects tests take a look at lens3d test. The lens is way off to the right
  6. ripple as well
  7. on mac the clipping node tests are not working

These may all be related to the stencil buffer changes that happened recently. The TileMap vertex-Z test no loner works properly.

totallyeviljake commented 10 years ago

we also set the render target usage to discard contents. that's likely why the page transitions are not preserving the next page during the turn animation.

totallyeviljake commented 10 years ago

Transitions PageForward/PageBack are fixed if you change the depth format to Depth24 only (no stencil buffer) and change the render target usage to PreserveContents.

totallyeviljake commented 10 years ago

same goes for the advanced effects bug.

totallyeviljake commented 10 years ago

The ripple and lens effects have had their effect drawing in the upper right for a few months now. I think that started back in August. Not sure why that was happening yet, but it's likely an anchor point bug.

totallyeviljake commented 10 years ago

To fix

CCDrawManager.cs - line 307 - Change this to PreserveContents in tests, Game1.cs, line 23, change this to Depth24 without the stencil buffer selection.

This fixes the problems except for the location of the ripple/lens effects.

totallyeviljake commented 10 years ago

https://github.com/Cocos2DXNA/cocos2d-xna/tree/ISSUE_394