-
Notifications
You must be signed in to change notification settings - Fork 610
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 do I show 2 pages in 2 page mode instead of translucent left page? #11
Comments
Pls, help i want example source code show 2 pages in 2 page mode or you how much will it cost. Actually need it. thx, |
Hiya, I can't give you exact instructions but in gereral you should introduce 2 Hope this helps. H
|
thx, Android Programmer. |
I managed to make the right side show only even numbered pages in landscape but Thanks |
I'm interested into this issue, I'm also would like to work about it but I doesn't have experience about OpenGL so I doesn't know where to start, I will to search some text about OpenGL but I'm not sure is possible to apply 2 texture: frontside and backside to a single mesh. |
I'm also interested. @harism: It would be great if you could provide some code for this. Thank you!! |
Hi everyone, First of all thanks for this great API harism ;) I'm also implementing a "book like effect" and I need to show pages side by side instead of the transculent backpage. So far I managed to draw the back side texture. However, it doesn't draw quite right... Only one quarter of the image is rendered as you can see in the snapshot below: http://imageshack.us/photo/my-images/594/device20120410175255.png/ My OpenGL knowledge is limited and I have no clue what am I doing wrong... I use the following code to draw the backside texture (on draw() method from CurlMesh class):
If anyone can tell me what am I doing wrong I would appreciate it... This the only thing missing in my project :( Regards, |
hey guys, I managed to resolve this issue, 2 pages landscape and 1 page portraid, I'm new to git so when I figured out how to create a fork and make a pull request I'll share it to you. BTW harism, great job! a little preview here |
Done, pull request in course, check my profile in case it´s not accepted. |
Sorry it took me so long time but I did a "automated pull" just seconds ago. I didn't take a proper look on this patch though but I'm hoping it works as expected. I've got some ideas how to do whole Bitmap querying totally differently but it'll take a while before getting there. Thanks, Christian. |
Hi, so far I´ve tested, it works as expected. The only concern I have and maybe you can help me is described at CurlMesh Class Line 818 at SwapSheet method. I would like to optimize it. Check it out when you have some time. I´m going to be working in some other functionality I´d like to add Regards |
Harism, Hi, I saw the changes you made to the code. Testing it on my phone and the emulator, it doesn´t show the 2 pages as expected. It show always a back gray facing no matter is in landscape or portraid. see the picture http://img821.imageshack.us/img821/4204/photoneva.jpg EDIT: Forgeit. I see the Note you made about the BitmapProvider, It works now. Thanks for the code update. |
I want to add graphs to the bookview. I have integrated your code but unable to add charts. Please help me, how can I add Charts to the PageProvider Class Thanks in advance. |
How do I show 2 pages in 2 page mode instead of translucent left page?
As per the title.
It is great in 1 page mode but in 2 page, if I want to show 2 pages at a time e.g. 1&2, flip a page to 3&4... how do I do that?
The text was updated successfully, but these errors were encountered: