Global Point/Poly positions?

Discussions about SOFTIMAGEs© Interactive Creative Environment©
xowgax
Posts: 18
Joined: 29 Aug 2009, 20:22

Global Point/Poly positions?

Post by xowgax » 30 Nov 2011, 15:53

Can't really seem to figure out how to get an Polygon's global position..
I thought self.PolygonPosition would return it but it seems to be a constant value that doesn't change as the object moves..

As a last resort, I tried using a temp buffer set to self.PolygonPosition x self.kine.global.scl + grid.kine.global.pos which seems to give me what I want, but I'm not sure how to deal with the rotation mathematically..

There's gotta be an easier way to get this data, seeing as how my way only deals with global transforms..?
You do not have the required permissions to view the files attached to this post.

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Global Point/Poly positions?

Post by Hirazi Blue » 30 Nov 2011, 16:06

The last topic on this page in the User's Guide offers a way to convert local to global.
Not sure if that applies to polygons also...
;)
Stay safe, sane & healthy!

xowgax
Posts: 18
Joined: 29 Aug 2009, 20:22

Re: Global Point/Poly positions?

Post by xowgax » 30 Nov 2011, 16:12

It works! Thanks a bunch.
(Not liking the new help stuff, the 'search' always freezes up on me!)

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 09:59
Location: warsaw

Re: Global Point/Poly positions?

Post by origin » 30 Nov 2011, 20:19

xowgax wrote:It works! Thanks a bunch.
(Not liking the new help stuff, the 'search' always freezes up on me!)
If you're using chrome, search won't work (im using IE tab extensions just for this one page)

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Global Point/Poly positions?

Post by Hirazi Blue » 30 Nov 2011, 21:45

I mentioned this Google Chrome trouble back in April at Stephen Blair's Support Blog (here), but apart from Stephen Blair's acknowledgement that you really shouldn't use Chrome with the online documentation nothing much seems to have happened. They could've at least mentioned it here.
But, ah, well... :-
Stay safe, sane & healthy!

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 09:02
Location: Montreal Canada

Re: Global Point/Poly positions?

Post by xsisupport » 30 Nov 2011, 23:09

I later learned that Chrome is not a supported browser for the online help.


It looks like a problem with the scripts used by the Search and Index tabs, and happens on with local help. The Javascript console is full of errors when you load one of those tabs.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Global Point/Poly positions?

Post by Hirazi Blue » 01 Dec 2011, 09:41

Yes, but my point was this: the fact that it is not supported, should be mentioned better/more clearly/in more places...
But I used the verb "seems" (in "nothing much seems to have happened") in my previous post for a clear reason: it might well be it's been mentioned in numerous official places and I just have missed it...
It would for instance be nice to mention it here (mentioned above) or here.
;)
Stay safe, sane & healthy!

iamVFX
Posts: 697
Joined: 24 Sep 2010, 16:28

Re: Global Point/Poly positions?

Post by iamVFX » 01 Dec 2011, 14:44

Search works! ... For one word and one time per tab :D

iamVFX
Posts: 697
Joined: 24 Sep 2010, 16:28

Re: Global Point/Poly positions?

Post by iamVFX » 01 Feb 2012, 14:18

Oh my, I can't believe it, but it's seems to be fixed :D

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 09:59
Location: warsaw

Re: Global Point/Poly positions?

Post by origin » 01 Feb 2012, 15:20

:D i'm re-downloading local docs, will see if its working too

iamVFX
Posts: 697
Joined: 24 Sep 2010, 16:28

Re: Global Point/Poly positions?

Post by iamVFX » 20 May 2012, 17:33

Google Chrome 19 is came out and search is now working ... again!