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 <[email protected]> wrote:

> From: JeanMarcNoel <[email protected]>
> Subject: Re: Programmatic Billboard/Sprite Position and Interaction
> To: "Alex Drinkwater" <[email protected]>
> Cc: [email protected]
> 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 <[email protected]>
> wrote:
> >> 
> >> From: George Toledo <[email protected]>
> >> Subject: Re: Programmatic Billboard/Sprite
> Position and Interaction
> >> To: "Alex Drinkwater" <[email protected]>
> >> Cc: "quartzcomposer-dev list list" <[email protected]>
> >> 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
> <[email protected]>
> 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   
>   ([email protected])
> >> 
> >> Help/Unsubscribe/Update your Subscription:
> >> 
> >> http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com
> >> 
> >> 
> >> 
> >> This email sent to [email protected]
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be ignored.
> >> Quartzcomposer-dev mailing list   
>   ([email protected])
> >> Help/Unsubscribe/Update your Subscription:
> >> http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder%40yahoo.co.uk
> >> 
> >> This email sent to [email protected]
> > 
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Quartzcomposer-dev mailing list     
> ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/quartzcomposer-dev/jm%40yanomanow.com
> > 
> > This email sent to [email protected]
> > 
> 
> 




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

This email sent to [email protected]

Reply via email to