3D object frame by frame with jQuery reel

Hi guys,

I want to share this pretty, easy and powerful discovery. We can have a 3d object in Hype only embedding jquery and jquery reel plugin. rotation_3d.zip (321.0 KB)
You can see other example here 3D CAR
Five steps:

  1. Embed JQuery and JQuery Reel. Is important the order: first JQuery, second JQuery Reel.
  2. Drag all the images to the library
  3. Create a rectangle with this code:
    img id=“image” src="${resourcesFolderName}/DSCN0691.JPG" width=“210” height=“186”

I don´t know why, but it only works if the id is given in the object, not in the info panel.

4 Create a js function

('#image').reel({ images: '{resourcesFolderName}/DSCN####.JPG|691…702’
});

5 Enjoy and excuse me for my english.

4 Likes

Thanks Mariano, nice and easy to use… YAY!!!

this is cool - thanx

Hi,

btw, you can achieve this with just hype without any custom code nor library.3dRotateHype.hype.zip (249.0 KB)

1 Like

Of course, but you can’t achieve vertical and diagonal scroll like this:

http://www.elinfografista.es/coche/coche.html

Here you are all the posibilities of this plugin

http://test.vostrel.net/jquery.reel/example/index.html

2 Likes

sure :slight_smile: it’s just: as long as you can rely on Hypes’ tools, it’s the better way to go :slight_smile:

2 Likes

Yes, sure! It’s only a little help :angel:

Hi Mario,
I gave another way to do this here :

Thanks by the way !!

1 Like

I’m playing around with this plug-in and really liking it. Have you tried adding annotations like one of the samples shows? I’d love to do that but just can’t figure it out. Thanks in advance! This is the sample I was referencing:
http://test.vostrel.net/jquery.reel/example/panorama-orientable-stitched/

Since Hype lets you embed HTML widgets (frames) there’s no reason why this wouldn’t work. I recommend using their sample code and embedding it within an HTML widget and working from there.

Hi Jessica,

I explained this same plug in in another post recently

in order for it to work well within Hype. I used the Javascript version rather than use the classes.

To add annotations to the script I already used. You would just add the following argument:

annotations: { annotation_1: { x: 30, y: 30, link: { text: 'Link', href: '#' } } }

D

Thanks so much! I'll check this out.

reelJS-panoramic.hype.zip (63.6 KB)

This should help you :wink:

D

This helps tremendously!! Thank you so much!