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
mikshaw
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
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #2
RE: test: emulating 3D rotation

That's actually pretty convincing Smile
Congrat's!

05-13-2011 04:16 AM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


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

found this a few days ago:
http://www.thoro.de/page/3dnp-introduction-en
It does a better job of doing exactly what I was trying to do, and makes it available to more users since it uses just html & javascript...something nearly everyone already has access to. And it's GPL.

I may continue working on this idea in murgaLua if I find some reason to incorporate it into an application, but for now I'm going to be playing around with 3DNP.

05-29-2011 03:26 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

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

Forum Jump: