Softimage Forum (Read Only)
Welcome to Autodesk’s Softimage Forums. Share your knowledge, ask questions, and explore popular Softimage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about the use of Self.PointPostion in ICE

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
Anonymous
943 Views, 6 Replies

Question about the use of Self.PointPostion in ICE

Today I have one question that need your help.
I have one Null and one Grid and connect as in the picture.
But when the subtraction result connect to Self.PointPosition, all grid points move to the position that its center is the center of Null object.
The result vector is the vector that connect from the old grid center to the grid point.
Can you explain me why the Self.PointPosition make the final vector like that?. I read many references in Autodesk use guide but cannot explain why the result(the Blue vector in the attachment of image file ).
It is very good if you can give me web links or detail help about that.
Many thanks and regards

Nguyen Duc Hoang

6 REPLIES 6
Message 2 of 7
grahamef
in reply to: Anonymous

Null.kine.global.pos is in global space, but self.PointPosition is in the local space of the object.

 

If you want the result in global space, you need to multiply self.PointPosition by self.kine.global using Multiply Vector by Matrix to put them in global space first before you do the substraction.

 

On the other hand if you want the result in self's local space, multiply null.kine.global.pos by the inverse of self.kine.global first.

 

 

Message 3 of 7
Anonymous
in reply to: grahamef

Thanks for your help.

My point is that as in the attachment image file:

- when I connect the output result in Add node to Self.PointPosition in (Set Data) node, the output is very different with connect to Self.TMP in(Set Data) node. I want to know why?.

- I do this practice as guded in a video tutorials and I see no explaination for this problem.

Please see the two pictures below for detail:

1.Connect result to Self.TMP

 Connect toTMP.png

2.Connect result to Self.PointPosition

connec to Self.PointPosition.png

Any help will be appreciated.

Thanks and regards

 

Nguyen Duc Hoang

 

 

 

Message 4 of 7
grahamef
in reply to: Anonymous

You are getting exactly what I would expect to get.

 

First, you subtract the local point positions (that is, the offsets from the grid object center) from the null's global position, and then use that value to set the local point positions. This has the effect of moving the points without moving the object center (effectively creating a simple deformation).

 

Next you display the new point positions (again, the offsets from the grid object center which is still at the origin) as vectors (which places the vector base at the actual point positions).

 

In this situation it might make more sense to display the point positions as vector trails, which puts the head of the vector at the point position (and therefore the tail of the vector at the object center).

Message 5 of 7
Anonymous
in reply to: grahamef

Thanks for your email.

In the first I see that the position changed but I still do not know why the new position vector is CP2(as in the attachment file).Please see the attach file for details(see the red brush)

Self_poinrposition copy.jpg

The second is understandable for me

 

 

Message 6 of 7
grahamef
in reply to: Anonymous

When you set the new point position to the null position MINUS the old point position, you flipped the X and Z coordinates relative to the null (Y too, but that's uniformly 0 so it doesn't matter).

 

See the attachment:

 

Message 7 of 7
Anonymous
in reply to: grahamef

Many thanks for your help.

I see your picture and understand my problem.

My problem is that the misunderstand of CP2 vector. The right is in your RED vector.

Cheers

 

Nguyen Duc Hoang

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report