Re: Cluster of points driving another cluster of points

2015-10-05 Thread Eric Thivierge
How are you going to tell which slave to follow which master?


Eric Thivierge
http://www.ethivierge.com

On Mon, Oct 5, 2015 at 4:08 PM, Olivier Jeannel 
wrote:

> I don't know how to do that :
>
> Let's say I have a grid of 10 particles moving in a simultion (Master).
>
> Let's say I create another grid of 100 particles (slaves).
>
> I want those 100 particles to follow in position, rotation and scale the
> 10 master particles.
> I don't want the slaves to get the position of the master, I want the
> master to behave like the center of the slaves chunk/cluster.
>
> Not sure I'm clear.
>


Re: [CDH] again

2015-10-05 Thread Luc-Eric Rousseau
the fltk examples demonstrates creating a thread to pump messages for
FLTK, which I assume is also what you need to do to get messages from
X or to a Qt window

On 4 October 2015 at 21:17, Oleg Bliznuk  wrote:
> @Stefan
> Thanks for pointing out, that example with qt brings the light here, will
> try it out.
>
> @Luc-Eric
> Thanks for the code, i have managed to compile the native xsi example (which
> is the motif example from the docs) but it all the time segfaults at the
> very begin of motif, perhaps switch to  distinct qt win is more easy task
> than figuring out what is going on inside of xsi.
>
> thanks all,
> -Oleg


Cluster of points driving another cluster of points

2015-10-05 Thread Olivier Jeannel
I don't know how to do that :

Let's say I have a grid of 10 particles moving in a simultion (Master).

Let's say I create another grid of 100 particles (slaves).

I want those 100 particles to follow in position, rotation and scale the 10
master particles.
I don't want the slaves to get the position of the master, I want the
master to behave like the center of the slaves chunk/cluster.

Not sure I'm clear.


Update Referenced Material Library from any scene?

2015-10-05 Thread David Saber

Hi all!
In the doc it is said there should be a "master scene" in which all 
materials in the referenced material library should be managed. Is it 
possible to escape this requirement, and have any scene being able to 
update an external MatLib?

Thanks,
David


Re: Cluster of points driving another cluster of points

2015-10-05 Thread Olivier Jeannel
@ eric : Slaves are taking the closest master.
@ Simon no, one cluster of slaves is like "parented" to one master.
A sort of multiply by  matrix
The closest slaves particles get their SRT multiplied by the matrix of
their respective slave.





On Mon, Oct 5, 2015 at 11:15 PM, Simon Reeves  wrote:

> Or do you want all of the slaves to using the average position of all the
> masters?
>
> On Mon, 5 Oct 2015 at 21:20, Eric Thivierge  wrote:
>
>> How are you going to tell which slave to follow which master?
>>
>> 
>> Eric Thivierge
>> http://www.ethivierge.com
>>
>> On Mon, Oct 5, 2015 at 4:08 PM, Olivier Jeannel 
>> wrote:
>>
>>> I don't know how to do that :
>>>
>>> Let's say I have a grid of 10 particles moving in a simultion (Master).
>>>
>>> Let's say I create another grid of 100 particles (slaves).
>>>
>>> I want those 100 particles to follow in position, rotation and scale the
>>> 10 master particles.
>>> I don't want the slaves to get the position of the master, I want the
>>> master to behave like the center of the slaves chunk/cluster.
>>>
>>> Not sure I'm clear.
>>>
>>
>> --
> Simon Reeves
> London, UK
> *si...@simonreeves.com *
> *www.simonreeves.com *
> *www.analogstudio.co.uk *
>


Re: Cluster of points driving another cluster of points

2015-10-05 Thread Simon Reeves
Or do you want all of the slaves to using the average position of all the
masters?
On Mon, 5 Oct 2015 at 21:20, Eric Thivierge  wrote:

> How are you going to tell which slave to follow which master?
>
> 
> Eric Thivierge
> http://www.ethivierge.com
>
> On Mon, Oct 5, 2015 at 4:08 PM, Olivier Jeannel 
> wrote:
>
>> I don't know how to do that :
>>
>> Let's say I have a grid of 10 particles moving in a simultion (Master).
>>
>> Let's say I create another grid of 100 particles (slaves).
>>
>> I want those 100 particles to follow in position, rotation and scale the
>> 10 master particles.
>> I don't want the slaves to get the position of the master, I want the
>> master to behave like the center of the slaves chunk/cluster.
>>
>> Not sure I'm clear.
>>
>
> --
Simon Reeves
London, UK
*si...@simonreeves.com *
*www.simonreeves.com *
*www.analogstudio.co.uk *


Re: Cluster of points driving another cluster of points

2015-10-05 Thread pedro santos
So for each point in cloud A you want the same corresponding(i) in cloud B
to be the scaling and rotation pivot? Do you additionally want it to be
position driver?

I don't know how you're applying the transformations, but basically just
center A ones on B ones: cloudA[i].position *-* cloudB[i].position ||| then
apply Scale and Rotation to cloudA[i ||| then cloudA[i].position *+*
cloudB[i].position
if it's just for scaling and rotation.

Images, images save lives :D


cheers

On Mon, Oct 5, 2015 at 10:44 PM, Olivier Jeannel 
wrote:

> @ eric : Slaves are taking the closest master.
> @ Simon no, one cluster of slaves is like "parented" to one master.
> A sort of multiply by  matrix
> The closest slaves particles get their SRT multiplied by the matrix of
> their respective slave.
>
>
>
>
>
> On Mon, Oct 5, 2015 at 11:15 PM, Simon Reeves 
> wrote:
>
>> Or do you want all of the slaves to using the average position of all the
>> masters?
>>
>> On Mon, 5 Oct 2015 at 21:20, Eric Thivierge  wrote:
>>
>>> How are you going to tell which slave to follow which master?
>>>
>>> 
>>> Eric Thivierge
>>> http://www.ethivierge.com
>>>
>>> On Mon, Oct 5, 2015 at 4:08 PM, Olivier Jeannel 
>>> wrote:
>>>
 I don't know how to do that :

 Let's say I have a grid of 10 particles moving in a simultion (Master).

 Let's say I create another grid of 100 particles (slaves).

 I want those 100 particles to follow in position, rotation and scale
 the 10 master particles.
 I don't want the slaves to get the position of the master, I want the
 master to behave like the center of the slaves chunk/cluster.

 Not sure I'm clear.

>>>
>>> --
>> Simon Reeves
>> London, UK
>> *si...@simonreeves.com *
>> *www.simonreeves.com *
>> *www.analogstudio.co.uk *
>>
>
>


-- 



*--[image:
http://i153.photobucket.com/albums/s202/animatics/probiner-sig.gif]Pedro
Alpiarça dos Santos >>  http://probiner.xyz/ 
*


Re: Update Referenced Material Library from any scene?

2015-10-05 Thread Rob Wuijster
A master scene is kinda vital to a healthy production workflow, but imho 
you should avoid referenced material libraries.

They're flaky at best, and when things go wrong they go horribly wrong.

We tried a couple of times to use the feature, but every time ran into 
issues across scenes or renders.


but ymmv. ;-)


Rob

\/-\/\/

On 5-10-2015 11:30, David Saber wrote:

Hi all!
In the doc it is said there should be a "master scene" in which all 
materials in the referenced material library should be managed. Is it 
possible to escape this requirement, and have any scene being able to 
update an external MatLib?

Thanks,
David


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6140 / Virus Database: 4419/10711 - Release Date: 
09/27/15

Internal Virus Database is out of date.






Re: Update Referenced Material Library from any scene?

2015-10-05 Thread Simon Reeves
you can also use compounds now which can be handy

On Mon, 5 Oct 2015 at 10:58 Rob Wuijster  wrote:

> A master scene is kinda vital to a healthy production workflow, but imho
> you should avoid referenced material libraries.
> They're flaky at best, and when things go wrong they go horribly wrong.
>
> We tried a couple of times to use the feature, but every time ran into
> issues across scenes or renders.
>
> but ymmv. ;-)
>
>
>
> Rob
>
> \/-\/\/
>
> On 5-10-2015 11:30, David Saber wrote:
>
> Hi all!
> In the doc it is said there should be a "master scene" in which all
> materials in the referenced material library should be managed. Is it
> possible to escape this requirement, and have any scene being able to
> update an external MatLib?
> Thanks,
> David
>
>
> -
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.6140 / Virus Database: 4419/10711 - Release Date: 09/27/15
> Internal Virus Database is out of date.
>
>
>
> --
Simon Reeves
London, UK
*si...@simonreeves.com *
*www.simonreeves.com *
*www.analogstudio.co.uk *