Gray,

Thanks. The doc you provided is exactly what I was looking for.

This is really useful, and explains quite a lot actually. Especially regarding 
tangents that I was attempting to extract from curve locations on the path 
constraint I was trying to make a while back. Never could understand why it 
failed sometimes and worked others. Now I think I have an idea.

Now if I could just get curve location by percentage of curve 
length....efficiently.....life would be grand.

Thanks again.

--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Grahame Fuller
Sent: Thursday, August 15, 2013 12:18 PM
To: [email protected]
Subject: RE: just not normal

Joey,

ICE doesn't convert locations directly. It can display them as vectors for 
debugging purposes but under the hood they are really a triangle ID + 
barycentric coordinates. Or perhaps you meant true vectors?

The list of attributes that ICE will convert to the self's reference frame is 
here: 
http://download.autodesk.com/global/docs/softimage2014/en_us/userguide/index.html?url=files/ICE_trees_GettingandSettingDatainICETrees.htm,topicNumber=d30e274098
 (scroll down to "Reference Frames", right before "Setting Data"). You can 
trust ICE to use the correct math, 3x3 or 4x4 matrices, depending on whether 
the attribute is a true vector or position, but if it's a custom attribute then 
it's up to you to know what it is and take the appropriate action.

The book that Matt mentioned looks interesting as an intuitive, geometrical 
approach. For a more technically oriented book I'd recommend Shilov's "Linear 
Algebra" - when I was at uni the assigned textbook was awful but Shilov's just 
clicked with me.

gray


From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Matt Lind
Sent: Wednesday, August 14, 2013 7:52 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: just not normal

It will differentiate how to handle orientation vectors differently from 
position vectors which is the solution to the problem you said you couldn't 
solve on your own.

Matt



From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Wednesday, August 14, 2013 4:49 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: just not normal

I'm certain that it would be very useful, but what I am more interested in is 
what ICE is pre-computing that changes what might be normal expectations such 
as the example provided with locations.  With ICE, positions are converted to 
global using 4x4 matrices and locations are converted to global using 3x3 
matrices. Will a linear algebra book be able to tell me that, in context to ICE?

--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Matt Lind
Sent: Wednesday, August 14, 2013 7:39 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: just not normal

The documentation you're searching for is a linear algebra textbook.  I think 
you'll find the subject very useful and directly applicable to your work on 
many fronts.  "Practical Linear Algebra: A Geometry Toolbox" by Gerald Farin is 
a decent starting point as it discusses the fundamentals in plain english, but 
it's intended to complement a linear algebra course, not replace it.


Matt


From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Wednesday, August 14, 2013 4:23 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: just not normal

WOW! What a difference two nodes make! I converted the 4x4 Matrix down to a 3x3 
Matrix omitting Translation in the process, and plugged that into Multiply 
Vector by Matrix and...EVERYTHING WORKS!

The flipping is gone.

I had solved the problem by taking three points on the surface, converting to 
global position on each, then deriving a "normal" vector from them. It was rock 
solid and this solution has the same results as that. My preference was to get 
the normal from the location, that way if the object surface is irregular it 
will always work as expected. This solves that problem very elegantly!

I'm curious, but is there any documentation anywhere that gives better detail 
on how locations vs positions etc affect global space conversion? I would have 
never guessed how to solve this even though I knew about the local to global 
conversion from the docs.

Thanks!

--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.

Reply via email to