News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
test: emulating 3D rotation
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
test: emulating 3D rotation

This is a test of an idea that just popped into my head.
I sometimes make GIF animations of 3D models showing a 360-degree
rotation of the model. GIFs are limited, though, in that they can't be
paused or reversed. A video format could do this, but it's much easier
just to do it the way it would be controlled in a 3D app, by dragging.

With this project I'm attempting to emulate 3D rotation by using a series of
images, which are changed according to the location of the mouse while dragging.

The script reads a directory of images, which can be changed by dragging the
mouse back a forth. If your images are reversed (rotating right-to-left),
using the middle or right mouse button will change the images in reverse,
so it appears to drag the object in the proper direction.

One day I might try to take it a step further by rotating vertically,
but for now I'm okay with a simple turntable. I'm thinking it could
also be taken into other directions, such as making clickable hotspots
or something like that, but that's also just a passing thought.

.gz File  turntable.tar.gz (Size: 607.89 KB / Downloads: 4)

05-11-2011 12:10 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
test: emulating 3D rotation - mikshaw - 05-11-2011 12:10 PM
RE: test: emulating 3D rotation - jpjacobs - 05-13-2011, 04:16 AM
RE: test: emulating 3D rotation - mikshaw - 05-29-2011, 03:26 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: