Coder Social home page Coder Social logo

Comments (7)

xissburg avatar xissburg commented on June 19, 2024

Do you mean a double-sided page?

from xbpagecurl.

mgruendler avatar mgruendler commented on June 19, 2024

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.

from xbpagecurl.

xissburg avatar xissburg commented on June 19, 2024

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.

from xbpagecurl.

mgruendler avatar mgruendler commented on June 19, 2024

That would be great!

from xbpagecurl.

xissburg avatar xissburg commented on June 19, 2024

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.

from xbpagecurl.

xissburg avatar xissburg commented on June 19, 2024

Ops, now I see I forgot to flip the texture horizontally! I am gonna solve it later.

from xbpagecurl.

moscow25 avatar moscow25 commented on June 19, 2024

I'm trying to use the drawViewOnBackOfPage function to draw the back of a playing card on the underneath of a view. So as to have a flexible two-sided card that I can peek at.

Code looks great, but does anyone have a working example I can see where drawViewOnBackOfPage is used?

Thanks!
chinesepokerwireframes_squeeze_corner

from xbpagecurl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.