-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to render a view on the back face? #9
Comments
Do you mean a double-sided page? |
Yes, I mean a double page. I would like to implement a page flip of a comic book and would like to turn the page by curling. On the back side of the curled view I would like to render the next page of the comic. |
Ok I understand. You made a correct guess on the backTexture, it is intended to be the texture that should be rendered on the backside of the page. But up till now, I have just created that variable! Since you're needing the feature, I will give priority to it. Thanks. |
That would be great! |
I implemented an initial version of it. You just have to call the -[XBCurlView drawViewOnBackOfPage:] in order to draw a view on the back side of the curled page (the sample app is now doing that). The code still needs some refactoring but the API should not change. |
Ops, now I see I forgot to flip the texture horizontally! I am gonna solve it later. |
Hi Xiss,
How can I draw a view on the backside of the curling view? I'm not sure whether this is already implemented, but I couldn't find a mechanism. There is a backTexture in XBCurlView.h, but it seems that is not used. Do you have a plan to implement this feature or am I missing something?
The text was updated successfully, but these errors were encountered: