Comments (5)
THanks for opening this issue. I tested it and indeed doesn't work on the iPad 1, but I am not getting any errors here. It just stops rendering. After analyzing the code a little, I found that whenever I call normalize or length in the fragment shader (FragmentShader.glsl) to normalize the normal vector, the OpenGL view doesn't render anything> I will look further into this mysterious bug.
from xbpagecurl.
hi i install demo on my iPhone4 and plug ii to my mac and get this crash log
Incident Identifier: C6E4BCE7-34C0-48B9-B47B-80E0FD9500B3
CrashReporter Key: b76ae2868e9a78ba1d8fa1afa0cc91064223ea7c
Hardware Model: iPhone3,1
Process: XBPageCurl [150]
Path: /var/mobile/Applications/04156C31-325D-48FC-9C1F-D510EE359608/XBPageCurl.app/XBPageCurl
Identifier: XBPageCurl
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-10-25 14:25:34.125 +0330
OS Version: iPhone OS 4.0.2 (8A400)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000004
Crashed Thread: 0
Thread 0 Crashed:
0 IMGSGX535GLDriver 0x00003a7e glrUpdateFragmentProgramInline + 18
1 IMGSGX535GLDriver 0x000041ec glrLoadCurrentPipelinePrograms + 964
2 IMGSGX535GLDriver 0x0000c108 gldUpdateDispatch + 796
3 GLEngine 0x000a689a gleDoDrawDispatchCore + 222
4 GLEngine 0x0002c910 gleDrawArraysOrElements_ACC_Body + 56
5 GLEngine 0x0002db1a glDrawElements_ACC_Exec + 234
6 OpenGLES 0x000033b8 glDrawElements + 32
7 XBPageCurl 0x00005f60 -XBCurlView draw:
8 XBPageCurl 0x00005440 -XBCurlView drawViewOnFrontOfPage:
9 XBPageCurl 0x000058da -XBCurlView curlView:cylinderPosition:cylinderAngle:cylinderRadius:animatedWithDuration:
10 XBPageCurl 0x0000276c -RootViewController curlButtonAction:
11 CoreFoundation 0x000267a6 -[NSObject(NSObject) performSelector:withObject:withObject:] + 18
12 UIKit 0x00062822 -[UIApplication sendAction:to:from:forEvent:] + 78
13 UIKit 0x0020f8ba -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 86
14 CoreFoundation 0x000267a6 -[NSObject(NSObject)
from xbpagecurl.
help me plz plz plz :(
from xbpagecurl.
Sorry for the delay. A temporary fix would be to, in the FragmentShader.glsl file, exchange the line vec3 n = normalize(v_normal);
by vec3 n = v_normal;
.
from xbpagecurl.
thanks a lot
problem solved with this change
from xbpagecurl.
Related Issues (20)
- Weird behavior of the example project HOT 3
- tap to uncurl
- Curl -- corner doesn't always pick up HOT 4
- some bug
- XBPageCurl curling acting weird
- another gpus_ReturnNotPermittedKillClient crash HOT 2
- How to implement pages flipping like iBook? HOT 1
- Page Flipping in Two Page Book HOT 1
- Source differences between Git and Cocoapods HOT 1
- duplicate symbol _XBAnimationInterpolatorEaseInOut HOT 3
- updating the frame of the curlView for the next page HOT 2
- Calling drawImageOnNextPage: not working
- Unable to use this library in Swift.
- OpenGL Error 501 in console logs
- EXC_BAD_ACCESS in applicationWillResignActiveNotification
- curl animation don't work very well on IPhone 6 HOT 1
- curl effect render hide and show
- won't compile cleanly. Needed: In XBAnimation.h, the 4 blocks need to be marked extern
- https://github.com/bachelora/iOS-PageCurl-OpenGL
- Unable to integrate this onto the Swift project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbpagecurl.