point position

Discussions about SOFTIMAGEs© Interactive Creative Environment©
gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

point position

Post by gigi » 11 Jun 2009, 10:34

i guess this is a simple question, but...how would I get the point position from another cloud? I want to evaluate the distance between 2 points out from 2 different cloud.

burg
Posts: 11
Joined: 09 Jun 2009, 19:08

Re: point position

Post by burg » 11 Jun 2009, 11:02

Get Data node -> Explorer->Expand the PointCloud->Expand Point Cloud->PointPosition I *Think*

Hope that helps

Burgy

User avatar
CiaranM
Posts: 87
Joined: 08 Jun 2009, 23:37
Location: London

Re: point position

Post by CiaranM » 11 Jun 2009, 11:14

burg wrote:Get Data node -> Explorer->Expand the PointCloud->Expand Point Cloud->PointPosition I *Think*
Burgy
That'll give you the whole data set of points from the other cloud, which you can't use without switching contexts. If the number of points between clouds doesn't match, then switch context won't work. Instead, you need to change that set into an array per point on the current cloud. Here's a quick method:
Image

gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

Re: point position

Post by gigi » 11 Jun 2009, 11:59

that wasn't so simple after all :-o . Thanks a lot!
btw I have subscribed to your online tutorial and i must admit i am still learning a lot from it is...REALLY helpfull. thanks again.

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

Re: point position

Post by Hirazi Blue » 11 Jun 2009, 13:13

gigi wrote:that wasn't so simple after all :-o
Yeah, the Softimage|ICE-slogan "Code less, create more" comes to mind. In this case it should probably read "Code less, create more nodes"

Would be possible for you, CiaranM, to create a compound, so trying to understand it would be slightly easier?
Stay safe, sane & healthy!

User avatar
CiaranM
Posts: 87
Joined: 08 Jun 2009, 23:37
Location: London

Re: point position

Post by CiaranM » 12 Jun 2009, 05:23

gigi wrote:that wasn't so simple after all :-o . Thanks a lot!
btw I have subscribed to your online tutorial and i must admit i am still learning a lot from it is...REALLY helpfull. thanks again.
Hey, no problem!
Yeah, the Softimage|ICE-slogan "Code less, create more" comes to mind. In this case it should probably read "Code less, create more nodes"
Would be possible for you, CiaranM, to create a compound, so trying to understand it would be slightly easier?
Yeah, it's a bit of a pain and can be fraught with problems, trying to get data just the way you want it. This really needs to be improved! But the good thing about ICE is there are so many ways to solve problems like this. Sometimes it's a bit of an adventure, when it should be a walk in the park.
I'll throw together a compound in a few days when I've the time. :)

gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

Re: point position

Post by gigi » 12 Jun 2009, 09:45

yep... so easy with surface w the <location> coumpound.
I am getting an error at the first ID node when trying to replicate your tree. Looks like a <out of context> thing. I have to agree, a simple scene exemple would be of great help. tks again

gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

Re: point position

Post by gigi » 14 Jun 2009, 10:55

found some time and tested on a simple scene created the simulate>ICE>Create>Emit Particles from Selection way and it's working fine. I guess it wasnt working because i was using plain primitive clouds with no emit node. So I need a <emit from position> in my tree ?..? because of the inti velocity?

anyway... I can now go on having fun with my little experiment. #:-s

User avatar
CiaranM
Posts: 87
Joined: 08 Jun 2009, 23:37
Location: London

Re: point position

Post by CiaranM » 16 Jun 2009, 15:52

Ok, here's a little compound that will give you the point position by ID on any input geometry (pointcloud or mesh). It also takes the object's SRT into account.
There would be better ways if you want to deal with the whole data set on the input geo, but this should give you a start.

Get Geo PointPosition
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: point position

Post by Hirazi Blue » 16 Jun 2009, 16:19

Thanks for the compound...
now I'll just have to find some time to study it... :-?
Stay safe, sane & healthy!

schyzomaniac
Posts: 16
Joined: 10 Jun 2009, 03:19

Re: point position

Post by schyzomaniac » 17 Jun 2009, 02:56

gigi wrote:btw I have subscribed to your online tutorial and i must admit i am still learning a lot from it is...REALLY helpfull.
Would you mind posting a link to those? I would like to check them out too.

Thanks,
Daniel

gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

Re: point position

Post by gigi » 18 Jun 2009, 02:09

Thanks for the compound.. I will take a look for sure!

Daniel: you will find Cioran tutorial here : http://www.cmivfx.com

François

User avatar
CiaranM
Posts: 87
Joined: 08 Jun 2009, 23:37
Location: London

Re: point position

Post by CiaranM » 18 Jun 2009, 02:12

Nah that's not me! :D
But if you go there, you will find a really good tutorial series by the very talented Thiago Costa. I recommend you go for it!

gigi
Posts: 6
Joined: 11 Jun 2009, 10:05

Re: point position

Post by gigi » 18 Jun 2009, 02:53

oups ... I guess you are right :o) ok yeah I was talking about the excellent video from Thiago

.. and thanks for taking the time to help.. really appreciated.

schyzomaniac
Posts: 16
Joined: 10 Jun 2009, 03:19

Re: point position

Post by schyzomaniac » 18 Jun 2009, 03:35

Ha!
I already own Thiagos video from cmivfx. ;)
It's really a great training kit. I was hoping there was more in that league available.

cheers,
Daniel

bkfichter
Posts: 3
Joined: 29 Jun 2009, 16:50

Re: point position

Post by bkfichter » 29 Jun 2009, 17:04

What online tutorial??