feedback
Aug 20 2008

Papervision3D Bookshelf

by John Dyer

I recently completed a website that catalogs books and in the development I wanted to make something really new. The backend is all ASP.NET, implementing UrlRewriter.NET and AJAX.NET libraries. The frontend uses several JavaScript libraries including Prototype, Scriptaculous, and Tablesort.

The one really unique feature of the site is the 3D bookshelf built using Papervision3D. Just yesterday it was featured in blog Daily PV3D as Papervision showcase.

You can check out the book shelf here:

http://www.bestcommentaries.com/category/proverbs/

Screenshots

Plain bookshelf:

image

Mouse over the third book from the left:

image 

Book clicked:

image

How it works

Using Papervision, it's relatively easy to make a 6 sided polygon (cube) and then wrap images around it. I use the physical dimensions of the actual book to size the cube. Then, for the cover, I use an image of the book and wrap the last pixel around the side since I don't have spin images. I tried using System.Drawing code to write the author's name on the spine, but I could never get it to look just right, so I left it out. The only real catch was that I needed to place the shelf on a different Papervision scene to prevent clipping problems. The bookshelf also interacts with an HTML table down below via Flash's JavaScript ExternalInterface.

Since developing this 3D bookshelf, I found one site that does something somewhat similar, but they have the spine images which I can't afford to find for 1000s of books. Also, I think that the JavaScript interaction on mine might give it an edge.

Comments

Dan August 23. 2008 12:48

Wow.

Just WOW.

Terrific work there John.

Dan

Patrick Cheatham August 25. 2008 15:18

Hi John:

(clicking the 'bold' button caused the page to refresh; apologies if double posted)

Just wanted to say hello & thanks for the nice image of Chichen Itza; brought back memories of my visits there in the 80s/90s.

Also, AFAIK, "Flash Panorama Player" is not Papervision based... Though my open source viewer is. Smile See link below & enjoy!

Cheers,

Patrick

flashpanos.com/.../panosalado-open-source-flash-panorama-player


Patrick Cheatham

Al Nyveldt September 19. 2008 11:19

Very cool stuff John. How do you find time to do it all?

Al Nyveldt

Alp Çoker September 29. 2008 17:26

Brilliant project..But I can zoom in bookshelf with mouse scroll but also pages scrolls ?

Alp Çoker

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading