Rotate image for a 360° simulation (used for 3D effect) (Composition by rbetin)

Author: rbetin
License: Creative Commons Attribution-NonCommercial-ShareAlike
Date: 2011.11.02
Compatibility: 10.6, 10.7
Categories:
Required plugins:
(none)

This patch uses a single image to simulate a 360° rotate, with 2 sprites.

See video

gtoledo3's picture
Re: Rotate image for a 360° simulation (used for 3D effect) ...

Wow, nice work.

I'm only going to make one very minor suggestion, and take it with a grain of salt.

Right now, you're using two Billboards and using Flip-Flop to Horizontally flip the texture that one of those Billboard is rendering.

Behind the scenes, that part of the "chain" is pulling a composition from a path, initializing it, and adding many nodes to be evaluated.

If you were to use Sprites as your Render patch, instead of Billboards, you'd automatically have to ability to rotate one of the Sprites 180 degrees on the Y-axis, and that amounts to some direct calls to OpenGL. So, the "flip", for this scenario, would save many steps and be more minimalistic, have less nodes to evaluate.

All this said... hey, I've used flip-flop a million times, because it is very convenient! :-) This composition runs really fast already, and hardly needs to be optimized. However, if by chance it was to run on an installation that didn't have "flip flop.qtz" loaded at that path, it wouldn't work. These are lessons I've learned the hard way! :-) Please don't take that suggestion as preachy, this is a beautiful composition, thank you for sharing.

rbetin's picture
Re: Rotate image for a 360° simulation (used for 3D effect) ...

Hello George, thanks for your suggestion.

I put a new version which use 2 sprites instead Billboard (and no Flip-Flop.... 8-)

Roger