pointset to geometry

Discussions about SOFTIMAGEs© Interactive Creative Environment©
caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

pointset to geometry

Post by caledonian_tartan » 04 Dec 2013, 11:38

hello
would it be possible to create a custom node working like that (pointset to geometry)?
pointset.jpg
basically it would be the same as getting geometry but with the possibility to change its pointposition (virutally, not on the actual geometry).
i could need this sometimes when plugging geometry into "get closest" node. sometimes i would like to manipulate its data without changing the geometry or putting an additional icetree on the looked up geo...

cheers
You do not have the required permissions to view the files attached to this post.
SI 2015 @ WIN7-64

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 20 Jul 2010, 22:33
Skype: gustavoboehs

Re: pointset to geometry

Post by gustavoeb » 04 Dec 2013, 12:59

You could store the current positions from the geometry you want to look up in a temporary attribute, change the pointpositions, look-it-up, and use the temporary attribute to retrieve the original positions. You can do all this from within your current ICEtree, this will generate a instance of this ICEtree on your looked-up object (it will appear in italic) so you can choose at which point (in the construction history) such operation happens.

To my knowledge, you can not change the geometry context (purple). But, I have no knowledge of custom nodes, so very little help there...
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: pointset to geometry

Post by caledonian_tartan » 04 Dec 2013, 13:09

You could store the current positions from the geometry you want to look up in a temporary attribute, change the pointpositions, look-it-up, and use the temporary attribute to retrieve the original positions.
Absolutely.

But for feeding nodes like "get closest location" it's essential to have geometry context (purple). that's where i need it.


i also tried this (with NO luck):
add.jpg
there's a SDK example regarding Custom ICE nodes called: "PointGeneratorFromGeometry" which is basically the opposite... :(
You do not have the required permissions to view the files attached to this post.
SI 2015 @ WIN7-64