Hi JeanMarc,

thanks for the example. I think I knew about the possibility of getting a 
structure out of an Iterator, but my problem is more about the Interaction 
patch, and making that work with iterated billboards. It's turning out to be 
trickier than it should be...

Cheers,

a|x 

--- On Thu, 3/6/10, JeanMarcNoel <j...@yanomanow.com> wrote:

> From: JeanMarcNoel <j...@yanomanow.com>
> Subject: Re: Programmatic Billboard/Sprite Position and Interaction
> To: "Alex Drinkwater" <the_vo...@yahoo.co.uk>
> Cc: quartzcomposer-dev@lists.apple.com
> Date: Thursday, 3 June, 2010, 15:13
> Hi Alex,
> You can eventually separate the process in 2 steps  :
> - one iterator that only computes the maths - assembles the
> results as a structure (with javascript) and outputs a
> structure (only with 10.6)
> - the second iterator take this structure and renders the
> geometry.
> 
> Here is a simple QC 4 demo :
> 
> 
> 
> 
> 
> JeanMarc
> 
> 
> Le 3 juin 10 à 15:36, Alex Drinkwater a écrit :
> 
> > Next problem:
> > 
> > I need the billboards to not be able to be dragged
> past each other on the x-axis. Which means keeping track of
> the position of each then creating some simple logic to
> limit their movement. Clamping movement to particular bound
> is easy, but the problem then becomes getting the positions
> of the other billboards inside the Iterator, since each
> iteration needs to know the position of the billboards in
> the previous and next iterations. But... you can't get
> values from other iterations, and because the Iterator had a
> billboard in it, it's turned blue, and therefore can't have
> an output....
> > 
> > a|x
> > 
> > 
> > 
> > On 3 Jun 2010, at 14:20, Alex Drinkwater wrote:
> > 
> >> Ah, that does the job!
> >> 
> >> Thanks George.
> >> 
> >> a|x
> >> 
> >> 
> >> --- On Thu, 3/6/10, George Toledo <gtole...@gmail.com>
> wrote:
> >> 
> >> From: George Toledo <gtole...@gmail.com>
> >> Subject: Re: Programmatic Billboard/Sprite
> Position and Interaction
> >> To: "Alex Drinkwater" <the_vo...@yahoo.co.uk>
> >> Cc: "quartzcomposer-dev list list" <Quartzcomposer-dev@lists.apple.com>
> >> Date: Thursday, 3 June, 2010, 13:51
> >> 
> >> The offsets on the interaction patch work inside
> of an iterator, so you can use them to setup initial
> positions (to some extent). See attachment.
> >> -George Toledo
> >> 
> >> 
> >> On Thu, Jun 3, 2010 at 8:39 AM, Alex Drinkwater
> <the_vo...@yahoo.co.uk>
> wrote:
> >> 
> >> There's probably a really simple answer to this
> one, but I can't currently see it.
> >> 
> >> I'd like to programmatically set the initial
> positions of several sprites/billboards, but I'd also like
> to be able to subsequently drag them to new positions with
> the mouse.
> >> 
> >> I'm not quite sure how to approach it, to be
> honest.
> >> 
> >> 
> >> 
> >> Anyone any thought?
> >> 
> >> 
> >> 
> >> a|x
> >> 
> >> http://www.toneburst.net
> >> 
> >> _______________________________________________
> >> 
> >> Do not post admin requests to the list. They will
> be ignored.
> >> 
> >> Quartzcomposer-dev mailing list   
>   (Quartzcomposer-dev@lists.apple.com)
> >> 
> >> Help/Unsubscribe/Update your Subscription:
> >> 
> >> http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com
> >> 
> >> 
> >> 
> >> This email sent to gtole...@gmail.com
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be ignored.
> >> Quartzcomposer-dev mailing list   
>   (Quartzcomposer-dev@lists.apple.com)
> >> Help/Unsubscribe/Update your Subscription:
> >> http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder%40yahoo.co.uk
> >> 
> >> This email sent to the_vo...@yahoo.co.uk
> > 
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Quartzcomposer-dev mailing list     
> (Quartzcomposer-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/quartzcomposer-dev/jm%40yanomanow.com
> > 
> > This email sent to j...@yanomanow.com
> > 
> 
> 




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to