!
Juan!!
!!
christian keller visual effects|direction +49 0179 69 36 248 chr...@gmx.de
i'll get some popcorn......
\/-------------\/----------------\/
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3386 - Release Date: 01/17/11
christian keller visual effects|direction +49 0179 69 36 248 chr...@gmx.de
What you're talking about (or at least that's what it sounds like) is more than just distance.
You want to make an arbitrary distinction between something approaching the mesh, and something moving away from it. Distance, which in most of its uses is unsigned, will not do that, as the object is only aware of being N units away from its target, but there is no way to know if that's on approach or departure.
If you want that kind of behaviour you'll need a simulated tree, store a starting point, and then based on the movement vector and the previous state's distance work out whether you're approaching or moving away.
Alternatively, if you know the point of a poly hull you will be approaching or if you're dealing with things like grids, you can test the vector between that point and your object againt the normal of that point, and assume that if the dot product between the two is positive, you are approaching, if it's negative, you're moving away.
No, it doesn't
The dot product is signed and is used to find the root of the angle between vectors. This means it will be 0 when two vectors are orthogonal, positive when their directions are less than 90 degrees apart, and negative when their directions are more than 90 degrees apart.
Distance is factored nowhere in any of the vector products, they will just give you a scalar related to their angle (dot or scalar product), or another vector orthogonal to both or a 0vector when the vectors in the product lay on the same "line" (cross or vector product).
DistanceBetween fires out a scalar based on two vector or scalar data inputs ?
In this case what am I finding a distance of the null and the point position or the null and the point normal ? Currently I have a simulated ICE Tree setting the data on a variable.
Speaking left to right :-)
global.pos of the null and dot product that with the point position of the object > dot product into the subtract, subtracting the weight map then that is all going into the set data variable all on a simulated ice tree.
"I thought we were progressing with voice communication, we've become barbaric as it's become socially accepted to write everything out"
He is, in fact, PowerCardinal (a.k.a. Christopher The Creative Sheep
and NerdOwl on xsibase.)
On Tue, Jan 18, 2011 at 11:59 AM, Christopher Nerd - Gmail Account <christo...@gmail.com> wrote:
DistanceBetween fires out a scalar based on two vector or scalar data inputs ?
It's a question you can answer by just looking at the node.
In this case what am I finding a distance of the null and the point position or the null and the point normal ? Currently I have a simulated ICE Tree setting the data on a variable.
The distance between the point position and a normal has no sense, one is a displacement vector telling you where the object is, the other a normalized direction vector telling you which way the normal of the surface is facing.
Get the vector between a chosen location on the surface and your null (subtracting the two in the right order), then get the dot product between that and the normal from that location. When the dot product is positive, you are approaching that point on the surface (assuming you are travelling in a direction opposite to the normal), when it's negative, you are moving away from it.
The distance you only need when you want a magnitude to effect change on the state of the object, it tells you nothing in regards to approaching or departing, which was your initial problem.
Speaking left to right :-)
global.pos of the null and dot product that with the point position of the object > dot product into the subtract, subtracting the weight map then that is all going into the set data variable all on a simulated ice tree.
If you do it the way I'm suggesting above, you don't need a simualated ice tree, as per my initial mail.
You only need to use a simulated ice tree if you want to compare the distance from the object at the previous frame with the current one, in which case you won't need a dot product, since given a threshold/fine enough subframe sampling, you would know whether you are approaching the object or moving away from it based on the rate of change, if the distance is decreasing compared to the previous frame, you are approaching, if it's increasing, you are moving away from it.
"I thought we were progressing with voice communication, we've become barbaric as it's become socially accepted to write everything out"Not sure what to make of that.
Starting to smell a powercardinal here... who was it that jinxed it in the retrospective thread?
\/-------------\/----------------\/
|
| Adam
Seeley Senior Animator, Commercials, UK T: +44 (0)20 7565 1000 E: adam....@primefocusworld.com@primefocusworld.com www.primefocusworld.com |
No virus found in this incoming message.
Checked
by AVG - www.avg.com
Version: 9.0.872 / Virus Database: 271.1.1/3385 -
Release Date: 01/17/11 19:34:00
Darren Macfearsome power for the lose L
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com]
On Behalf Of Darren Macpherson
Sent: Tuesday, January 18, 2011 5:34 AM
To: soft...@listproc.autodesk.com
Subject: Re: Null effect weight bulge !!!
'Starting to smell a powercardinal here... who was it that jinxed it in the retrospective thread? '
\/-------------\/----------------\/
You win Christopher. You can take him home and love him and hug him and love him and hug him and ...........
Don't forget to feed him. He eats cardboard and likes milk but you can't teach him tricks.
On 18 Jan 2011, at 03:33, Raffaele Fragapane wrote:
The continued lack of acknowledgment of anything that's going on, combined with the kind of persistance in refusing to put any effort into anything normally only found in koalas and pandas, was kind of a giveaway.
Do I win anything?
But more importantly, why did I bother?On Tue, Jan 18, 2011 at 1:57 PM, Alan Fregtman <alan.f...@gmail.com> wrote:
Your intuition is right.
He is, in fact, PowerCardinal (a.k.a. Christopher The Creative Sheep
and NerdOwl on xsibase.)
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3386 - Release Date: 01/17/11
No virus found in this incoming message..
Checked by AVG - www.avg.com
Version: 9.0.872 / Virus Database: 271.1.1/3385 - Release Date: 01/17/11 19:34:00
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3388 - Release Date: 01/18/11