Re: ICE - how to align instances to edges?

2016-03-10 Thread Morten Bartholdy
Oh I didn't think to check the Grid for ICE trees - all cool now and working in
2013 too :)
This list remains a goldmine :)

Thanks guys.


/Morten


> Den 10. marts 2016 klokken 15:32 skrev Olivier Jeannel
> :
> 
> 
> "Gg" sorry for the name ^^.
> Look into the icetree that is on the "Grid" object. That's the one that
> calculate the "tangent" I called "Gg".
> 
> To select all edges border :
> Select edge mode (right menu)
> then select "border edge" in the menu just below.
> Now if you rectangle select with the mouse in the view, only the border
> edges (the light blue one) will be selected.
> 
> On Thu, Mar 10, 2016 at 3:24 PM, Morten Bartholdy 
> wrote:
> 
> > Wow thanks a lot Olivier - that looks like it will do the trick. The
> > reason I
> > didn't want to use curves is merely that I will get a lot of polygon
> > islands and
> > don't know how to automagically select all border edges for extraction -
> > otherwise curve tangency would be fine.
> >
> > The Get Gg node just before Align Particle to Vector looks like it is the
> > one
> > that provides the edge vector, correct!? But I fail to understand what it
> > is
> > doing though.
> >
> > Cheers
> > Morten
> >
> >
> > > Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> > > :
> > >
> > >
> > > If you don't want to use curve (and curve tangent), I made this, but you
> > > need then to subdivide your edges to get good result.
> > > It calculate a "tangent" stored per point on the polygonal object.
> > > Then your Pointcloud get the closest location and take that tangent data
> > > and aligns vector.
> > >
> > >
> > > On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel  > >
> > > wrote:
> > >
> > > > You don't want to work with extracted edge curves ?
> > > >
> > > > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning 
> > wrote:
> > > >
> > > >> I think there might be something in Eric Mootz's emTools that does
> > > >> alignment to edges?
> > > >>
> > > >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy  > >
> > > >> wrote:
> > > >>
> > > >>> I am tinkering with a simple method for creating a cityscape in ICE
> > using
> > > >>> scatter tools. Julien Carmagnac SiScatter does most of what I need
> > with
> > > >>> insetting instances from edges and even scattering, but I am missing
> > one
> > > >>> important functionality. I need to be able to align the x or z axis
> > of
> > > >>> the
> > > >>> instances to the tangent of the closest border edge, and then add a
> > > >>> little
> > > >>> randomization to the y rotations. I have looked deep into the
> > compounds
> > > >>> and
> > > >>> tried different ways to get the edge tangent, but alas my ICE skills
> > > >>> come up
> > > >>> short here. Any scattering tool would do I guess - Milan Vaseks
> > Scatter
> > > >>> Tools or
> > > >>> even simple nonsimulated emissions, but I need this extra alignment
> > > >>> method. I
> > > >>> tried Juliens Generate instance on Curve too, but it requires edge
> > > >>> curves to be
> > > >>> selected and extracted, plus it seems the instances seem to be
> > flipped
> > > >>> 180 deg
> > > >>> on the y-axis between isntances without any way to control it.
> > > >>>
> > > >>> I have attached a screenshot showing a simple test where the A
> > example
> > > >>> is what I
> > > >>> need, and B is what I get with Generate instance on Curve.
> > > >>>
> > > >>> Any ideas on this will be much appreciated.
> > > >>>
> > > >>> Best
> > > >>> Morten
> > > >>> --
> > > >>> Softimage Mailing List.
> > > >>> To unsubscribe, send a mail to
> > softimage-requ...@listproc.autodesk.com
> > > >>> with "unsubscribe" in the subject, and reply to confirm.
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Softimage Mailing List.
> > > >> To unsubscribe, send a mail to
> > softimage-requ...@listproc.autodesk.com
> > > >> with "unsubscribe" in the subject, and reply to confirm.
> > > >>
> > > >
> > > >
> > > --
> > > Softimage Mailing List.
> > > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> > with
> > > "unsubscribe" in the subject, and reply to confirm.
> > --
> > Softimage Mailing List.
> > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> > with "unsubscribe" in the subject, and reply to confirm.
> >
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
Oups, use thes values in the index ...Sorry.

On Thu, Mar 10, 2016 at 3:39 PM, Olivier Jeannel 
wrote:

> Try rebuild the attached Icetree on the polymesh (Maybe some "build array
> from set" problem ?)
>
> On Thu, Mar 10, 2016 at 3:33 PM, Morten Bartholdy 
> wrote:
>
>> I tried rebuilding it in Soft 2013 SP1 (by copy/paste) as I might have to
>> do
>> this in that version, but the Gg node remains red - is that a 2015 node?
>>
>> Morten
>>
>>
>>
>> > Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
>> > :
>> >
>> >
>> > If you don't want to use curve (and curve tangent), I made this, but you
>> > need then to subdivide your edges to get good result.
>> > It calculate a "tangent" stored per point on the polygonal object.
>> > Then your Pointcloud get the closest location and take that tangent data
>> > and aligns vector.
>> >
>> >
>> > On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel <
>> facialdel...@gmail.com>
>> > wrote:
>> >
>> > > You don't want to work with extracted edge curves ?
>> > >
>> > > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning 
>> wrote:
>> > >
>> > >> I think there might be something in Eric Mootz's emTools that does
>> > >> alignment to edges?
>> > >>
>> > >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy <
>> x...@colorshopvfx.dk>
>> > >> wrote:
>> > >>
>> > >>> I am tinkering with a simple method for creating a cityscape in ICE
>> using
>> > >>> scatter tools. Julien Carmagnac SiScatter does most of what I need
>> with
>> > >>> insetting instances from edges and even scattering, but I am
>> missing one
>> > >>> important functionality. I need to be able to align the x or z axis
>> of
>> > >>> the
>> > >>> instances to the tangent of the closest border edge, and then add a
>> > >>> little
>> > >>> randomization to the y rotations. I have looked deep into the
>> compounds
>> > >>> and
>> > >>> tried different ways to get the edge tangent, but alas my ICE skills
>> > >>> come up
>> > >>> short here. Any scattering tool would do I guess - Milan Vaseks
>> Scatter
>> > >>> Tools or
>> > >>> even simple nonsimulated emissions, but I need this extra alignment
>> > >>> method. I
>> > >>> tried Juliens Generate instance on Curve too, but it requires edge
>> > >>> curves to be
>> > >>> selected and extracted, plus it seems the instances seem to be
>> flipped
>> > >>> 180 deg
>> > >>> on the y-axis between isntances without any way to control it.
>> > >>>
>> > >>> I have attached a screenshot showing a simple test where the A
>> example
>> > >>> is what I
>> > >>> need, and B is what I get with Generate instance on Curve.
>> > >>>
>> > >>> Any ideas on this will be much appreciated.
>> > >>>
>> > >>> Best
>> > >>> Morten
>> > >>> --
>> > >>> Softimage Mailing List.
>> > >>> To unsubscribe, send a mail to
>> softimage-requ...@listproc.autodesk.com
>> > >>> with "unsubscribe" in the subject, and reply to confirm.
>> > >>>
>> > >>
>> > >>
>> > >> --
>> > >> Softimage Mailing List.
>> > >> To unsubscribe, send a mail to
>> softimage-requ...@listproc.autodesk.com
>> > >> with "unsubscribe" in the subject, and reply to confirm.
>> > >>
>> > >
>> > >
>> > --
>> > Softimage Mailing List.
>> > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with
>> > "unsubscribe" in the subject, and reply to confirm.
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
Try rebuild the attached Icetree on the polymesh (Maybe some "build array
from set" problem ?)

On Thu, Mar 10, 2016 at 3:33 PM, Morten Bartholdy 
wrote:

> I tried rebuilding it in Soft 2013 SP1 (by copy/paste) as I might have to
> do
> this in that version, but the Gg node remains red - is that a 2015 node?
>
> Morten
>
>
>
> > Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> > :
> >
> >
> > If you don't want to use curve (and curve tangent), I made this, but you
> > need then to subdivide your edges to get good result.
> > It calculate a "tangent" stored per point on the polygonal object.
> > Then your Pointcloud get the closest location and take that tangent data
> > and aligns vector.
> >
> >
> > On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel  >
> > wrote:
> >
> > > You don't want to work with extracted edge curves ?
> > >
> > > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning 
> wrote:
> > >
> > >> I think there might be something in Eric Mootz's emTools that does
> > >> alignment to edges?
> > >>
> > >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy  >
> > >> wrote:
> > >>
> > >>> I am tinkering with a simple method for creating a cityscape in ICE
> using
> > >>> scatter tools. Julien Carmagnac SiScatter does most of what I need
> with
> > >>> insetting instances from edges and even scattering, but I am missing
> one
> > >>> important functionality. I need to be able to align the x or z axis
> of
> > >>> the
> > >>> instances to the tangent of the closest border edge, and then add a
> > >>> little
> > >>> randomization to the y rotations. I have looked deep into the
> compounds
> > >>> and
> > >>> tried different ways to get the edge tangent, but alas my ICE skills
> > >>> come up
> > >>> short here. Any scattering tool would do I guess - Milan Vaseks
> Scatter
> > >>> Tools or
> > >>> even simple nonsimulated emissions, but I need this extra alignment
> > >>> method. I
> > >>> tried Juliens Generate instance on Curve too, but it requires edge
> > >>> curves to be
> > >>> selected and extracted, plus it seems the instances seem to be
> flipped
> > >>> 180 deg
> > >>> on the y-axis between isntances without any way to control it.
> > >>>
> > >>> I have attached a screenshot showing a simple test where the A
> example
> > >>> is what I
> > >>> need, and B is what I get with Generate instance on Curve.
> > >>>
> > >>> Any ideas on this will be much appreciated.
> > >>>
> > >>> Best
> > >>> Morten
> > >>> --
> > >>> Softimage Mailing List.
> > >>> To unsubscribe, send a mail to
> softimage-requ...@listproc.autodesk.com
> > >>> with "unsubscribe" in the subject, and reply to confirm.
> > >>>
> > >>
> > >>
> > >> --
> > >> Softimage Mailing List.
> > >> To unsubscribe, send a mail to
> softimage-requ...@listproc.autodesk.com
> > >> with "unsubscribe" in the subject, and reply to confirm.
> > >>
> > >
> > >
> > --
> > Softimage Mailing List.
> > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with
> > "unsubscribe" in the subject, and reply to confirm.
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

RE: ICE - how to align instances to edges?

2016-03-10 Thread Morten Bartholdy
So simple - thanks Sven :)

Morten


> Den 10. marts 2016 klokken 15:32 skrev Sven Constable
> <sixsi_l...@imagefront.de>:
> 
> 
> Application.SetSelFilter("Border_Edge")
> Application.SelectAllUsingFilter("Border_Edge",
> "siCheckComponentVisibility", "", "")
> 
> -Original Message-
> From: softimage-boun...@listproc.autodesk.com
> [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Morten
> Bartholdy
> Sent: Thursday, March 10, 2016 3:25 PM
> To: softimage@listproc.autodesk.com
> Subject: Re: ICE - how to align instances to edges?
> 
> Wow thanks a lot Olivier - that looks like it will do the trick. The reason
> I didn't want to use curves is merely that I will get a lot of polygon
> islands and don't know how to automagically select all border edges for
> extraction - otherwise curve tangency would be fine.
> 
> The Get Gg node just before Align Particle to Vector looks like it is the
> one that provides the edge vector, correct!? But I fail to understand what
> it is doing though.
> 
> Cheers
> Morten
> 
> 
> > Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> > <facialdel...@gmail.com>:
> > 
> > 
> > If you don't want to use curve (and curve tangent), I made this, but 
> > you need then to subdivide your edges to get good result.
> > It calculate a "tangent" stored per point on the polygonal object.
> > Then your Pointcloud get the closest location and take that tangent 
> > data and aligns vector.
> > 
> > 
> > On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
> > <facialdel...@gmail.com>
> > wrote:
> > 
> > > You don't want to work with extracted edge curves ?
> > >
> > > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning <etmth...@gmail.com> wrote:
> > >
> > >> I think there might be something in Eric Mootz's emTools that does 
> > >> alignment to edges?
> > >>
> > >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
> > >> <x...@colorshopvfx.dk>
> > >> wrote:
> > >>
> > >>> I am tinkering with a simple method for creating a cityscape in 
> > >>> ICE using scatter tools. Julien Carmagnac SiScatter does most of 
> > >>> what I need with insetting instances from edges and even 
> > >>> scattering, but I am missing one important functionality. I need 
> > >>> to be able to align the x or z axis of the instances to the 
> > >>> tangent of the closest border edge, and then add a little 
> > >>> randomization to the y rotations. I have looked deep into the 
> > >>> compounds and tried different ways to get the edge tangent, but 
> > >>> alas my ICE skills come up short here. Any scattering tool would 
> > >>> do I guess - Milan Vaseks Scatter Tools or even simple 
> > >>> nonsimulated emissions, but I need this extra alignment method. I 
> > >>> tried Juliens Generate instance on Curve too, but it requires edge 
> > >>> curves to be selected and extracted, plus it seems the instances 
> > >>> seem to be flipped
> > >>> 180 deg
> > >>> on the y-axis between isntances without any way to control it.
> > >>>
> > >>> I have attached a screenshot showing a simple test where the A 
> > >>> example is what I need, and B is what I get with Generate instance 
> > >>> on Curve.
> > >>>
> > >>> Any ideas on this will be much appreciated.
> > >>>
> > >>> Best
> > >>> Morten
> > >>> --
> > >>> Softimage Mailing List.
> > >>> To unsubscribe, send a mail to 
> > >>> softimage-requ...@listproc.autodesk.com
> > >>> with "unsubscribe" in the subject, and reply to confirm.
> > >>>
> > >>
> > >>
> > >> --
> > >> Softimage Mailing List.
> > >> To unsubscribe, send a mail to 
> > >> softimage-requ...@listproc.autodesk.com
> > >> with "unsubscribe" in the subject, and reply to confirm.
> > >>
> > >
> > >
> > --
> > Softimage Mailing List.
> > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
> > with "unsubscribe" in the subject, and reply to confirm.
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
> "unsubscribe" in the subject, and reply to confirm.
> 
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: ICE - how to align instances to edges?

2016-03-10 Thread Morten Bartholdy
I tried rebuilding it in Soft 2013 SP1 (by copy/paste) as I might have to do
this in that version, but the Gg node remains red - is that a 2015 node?

Morten



> Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> :
> 
> 
> If you don't want to use curve (and curve tangent), I made this, but you
> need then to subdivide your edges to get good result.
> It calculate a "tangent" stored per point on the polygonal object.
> Then your Pointcloud get the closest location and take that tangent data
> and aligns vector.
> 
> 
> On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
> wrote:
> 
> > You don't want to work with extracted edge curves ?
> >
> > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning  wrote:
> >
> >> I think there might be something in Eric Mootz's emTools that does
> >> alignment to edges?
> >>
> >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
> >> wrote:
> >>
> >>> I am tinkering with a simple method for creating a cityscape in ICE using
> >>> scatter tools. Julien Carmagnac SiScatter does most of what I need with
> >>> insetting instances from edges and even scattering, but I am missing one
> >>> important functionality. I need to be able to align the x or z axis of
> >>> the
> >>> instances to the tangent of the closest border edge, and then add a
> >>> little
> >>> randomization to the y rotations. I have looked deep into the compounds
> >>> and
> >>> tried different ways to get the edge tangent, but alas my ICE skills
> >>> come up
> >>> short here. Any scattering tool would do I guess - Milan Vaseks Scatter
> >>> Tools or
> >>> even simple nonsimulated emissions, but I need this extra alignment
> >>> method. I
> >>> tried Juliens Generate instance on Curve too, but it requires edge
> >>> curves to be
> >>> selected and extracted, plus it seems the instances seem to be flipped
> >>> 180 deg
> >>> on the y-axis between isntances without any way to control it.
> >>>
> >>> I have attached a screenshot showing a simple test where the A example
> >>> is what I
> >>> need, and B is what I get with Generate instance on Curve.
> >>>
> >>> Any ideas on this will be much appreciated.
> >>>
> >>> Best
> >>> Morten
> >>> --
> >>> Softimage Mailing List.
> >>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> >>> with "unsubscribe" in the subject, and reply to confirm.
> >>>
> >>
> >>
> >> --
> >> Softimage Mailing List.
> >> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> >> with "unsubscribe" in the subject, and reply to confirm.
> >>
> >
> >
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
"Gg" sorry for the name ^^.
Look into the icetree that is on the "Grid" object. That's the one that
calculate the "tangent" I called "Gg".

To select all edges border :
Select edge mode (right menu)
then select "border edge" in the menu just below.
Now if you rectangle select with the mouse in the view, only the border
edges (the light blue one) will be selected.

On Thu, Mar 10, 2016 at 3:24 PM, Morten Bartholdy 
wrote:

> Wow thanks a lot Olivier - that looks like it will do the trick. The
> reason I
> didn't want to use curves is merely that I will get a lot of polygon
> islands and
> don't know how to automagically select all border edges for extraction -
> otherwise curve tangency would be fine.
>
> The Get Gg node just before Align Particle to Vector looks like it is the
> one
> that provides the edge vector, correct!? But I fail to understand what it
> is
> doing though.
>
> Cheers
> Morten
>
>
> > Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> > :
> >
> >
> > If you don't want to use curve (and curve tangent), I made this, but you
> > need then to subdivide your edges to get good result.
> > It calculate a "tangent" stored per point on the polygonal object.
> > Then your Pointcloud get the closest location and take that tangent data
> > and aligns vector.
> >
> >
> > On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel  >
> > wrote:
> >
> > > You don't want to work with extracted edge curves ?
> > >
> > > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning 
> wrote:
> > >
> > >> I think there might be something in Eric Mootz's emTools that does
> > >> alignment to edges?
> > >>
> > >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy  >
> > >> wrote:
> > >>
> > >>> I am tinkering with a simple method for creating a cityscape in ICE
> using
> > >>> scatter tools. Julien Carmagnac SiScatter does most of what I need
> with
> > >>> insetting instances from edges and even scattering, but I am missing
> one
> > >>> important functionality. I need to be able to align the x or z axis
> of
> > >>> the
> > >>> instances to the tangent of the closest border edge, and then add a
> > >>> little
> > >>> randomization to the y rotations. I have looked deep into the
> compounds
> > >>> and
> > >>> tried different ways to get the edge tangent, but alas my ICE skills
> > >>> come up
> > >>> short here. Any scattering tool would do I guess - Milan Vaseks
> Scatter
> > >>> Tools or
> > >>> even simple nonsimulated emissions, but I need this extra alignment
> > >>> method. I
> > >>> tried Juliens Generate instance on Curve too, but it requires edge
> > >>> curves to be
> > >>> selected and extracted, plus it seems the instances seem to be
> flipped
> > >>> 180 deg
> > >>> on the y-axis between isntances without any way to control it.
> > >>>
> > >>> I have attached a screenshot showing a simple test where the A
> example
> > >>> is what I
> > >>> need, and B is what I get with Generate instance on Curve.
> > >>>
> > >>> Any ideas on this will be much appreciated.
> > >>>
> > >>> Best
> > >>> Morten
> > >>> --
> > >>> Softimage Mailing List.
> > >>> To unsubscribe, send a mail to
> softimage-requ...@listproc.autodesk.com
> > >>> with "unsubscribe" in the subject, and reply to confirm.
> > >>>
> > >>
> > >>
> > >> --
> > >> Softimage Mailing List.
> > >> To unsubscribe, send a mail to
> softimage-requ...@listproc.autodesk.com
> > >> with "unsubscribe" in the subject, and reply to confirm.
> > >>
> > >
> > >
> > --
> > Softimage Mailing List.
> > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with
> > "unsubscribe" in the subject, and reply to confirm.
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

RE: ICE - how to align instances to edges?

2016-03-10 Thread Sven Constable
Application.SetSelFilter("Border_Edge")
Application.SelectAllUsingFilter("Border_Edge",
"siCheckComponentVisibility", "", "")

-Original Message-
From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Morten
Bartholdy
Sent: Thursday, March 10, 2016 3:25 PM
To: softimage@listproc.autodesk.com
Subject: Re: ICE - how to align instances to edges?

Wow thanks a lot Olivier - that looks like it will do the trick. The reason
I didn't want to use curves is merely that I will get a lot of polygon
islands and don't know how to automagically select all border edges for
extraction - otherwise curve tangency would be fine.

The Get Gg node just before Align Particle to Vector looks like it is the
one that provides the edge vector, correct!? But I fail to understand what
it is doing though.

Cheers
Morten


> Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> <facialdel...@gmail.com>:
> 
> 
> If you don't want to use curve (and curve tangent), I made this, but 
> you need then to subdivide your edges to get good result.
> It calculate a "tangent" stored per point on the polygonal object.
> Then your Pointcloud get the closest location and take that tangent 
> data and aligns vector.
> 
> 
> On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
> <facialdel...@gmail.com>
> wrote:
> 
> > You don't want to work with extracted edge curves ?
> >
> > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning <etmth...@gmail.com> wrote:
> >
> >> I think there might be something in Eric Mootz's emTools that does 
> >> alignment to edges?
> >>
> >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
> >> <x...@colorshopvfx.dk>
> >> wrote:
> >>
> >>> I am tinkering with a simple method for creating a cityscape in 
> >>> ICE using scatter tools. Julien Carmagnac SiScatter does most of 
> >>> what I need with insetting instances from edges and even 
> >>> scattering, but I am missing one important functionality. I need 
> >>> to be able to align the x or z axis of the instances to the 
> >>> tangent of the closest border edge, and then add a little 
> >>> randomization to the y rotations. I have looked deep into the 
> >>> compounds and tried different ways to get the edge tangent, but 
> >>> alas my ICE skills come up short here. Any scattering tool would 
> >>> do I guess - Milan Vaseks Scatter Tools or even simple 
> >>> nonsimulated emissions, but I need this extra alignment method. I 
> >>> tried Juliens Generate instance on Curve too, but it requires edge 
> >>> curves to be selected and extracted, plus it seems the instances 
> >>> seem to be flipped
> >>> 180 deg
> >>> on the y-axis between isntances without any way to control it.
> >>>
> >>> I have attached a screenshot showing a simple test where the A 
> >>> example is what I need, and B is what I get with Generate instance 
> >>> on Curve.
> >>>
> >>> Any ideas on this will be much appreciated.
> >>>
> >>> Best
> >>> Morten
> >>> --
> >>> Softimage Mailing List.
> >>> To unsubscribe, send a mail to 
> >>> softimage-requ...@listproc.autodesk.com
> >>> with "unsubscribe" in the subject, and reply to confirm.
> >>>
> >>
> >>
> >> --
> >> Softimage Mailing List.
> >> To unsubscribe, send a mail to 
> >> softimage-requ...@listproc.autodesk.com
> >> with "unsubscribe" in the subject, and reply to confirm.
> >>
> >
> >
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
> with "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
"unsubscribe" in the subject, and reply to confirm.

--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: ICE - how to align instances to edges?

2016-03-10 Thread Morten Bartholdy
Wow thanks a lot Olivier - that looks like it will do the trick. The reason I
didn't want to use curves is merely that I will get a lot of polygon islands and
don't know how to automagically select all border edges for extraction -
otherwise curve tangency would be fine.

The Get Gg node just before Align Particle to Vector looks like it is the one
that provides the edge vector, correct!? But I fail to understand what it is
doing though.

Cheers
Morten


> Den 10. marts 2016 klokken 14:17 skrev Olivier Jeannel
> :
> 
> 
> If you don't want to use curve (and curve tangent), I made this, but you
> need then to subdivide your edges to get good result.
> It calculate a "tangent" stored per point on the polygonal object.
> Then your Pointcloud get the closest location and take that tangent data
> and aligns vector.
> 
> 
> On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
> wrote:
> 
> > You don't want to work with extracted edge curves ?
> >
> > On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning  wrote:
> >
> >> I think there might be something in Eric Mootz's emTools that does
> >> alignment to edges?
> >>
> >> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
> >> wrote:
> >>
> >>> I am tinkering with a simple method for creating a cityscape in ICE using
> >>> scatter tools. Julien Carmagnac SiScatter does most of what I need with
> >>> insetting instances from edges and even scattering, but I am missing one
> >>> important functionality. I need to be able to align the x or z axis of
> >>> the
> >>> instances to the tangent of the closest border edge, and then add a
> >>> little
> >>> randomization to the y rotations. I have looked deep into the compounds
> >>> and
> >>> tried different ways to get the edge tangent, but alas my ICE skills
> >>> come up
> >>> short here. Any scattering tool would do I guess - Milan Vaseks Scatter
> >>> Tools or
> >>> even simple nonsimulated emissions, but I need this extra alignment
> >>> method. I
> >>> tried Juliens Generate instance on Curve too, but it requires edge
> >>> curves to be
> >>> selected and extracted, plus it seems the instances seem to be flipped
> >>> 180 deg
> >>> on the y-axis between isntances without any way to control it.
> >>>
> >>> I have attached a screenshot showing a simple test where the A example
> >>> is what I
> >>> need, and B is what I get with Generate instance on Curve.
> >>>
> >>> Any ideas on this will be much appreciated.
> >>>
> >>> Best
> >>> Morten
> >>> --
> >>> Softimage Mailing List.
> >>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> >>> with "unsubscribe" in the subject, and reply to confirm.
> >>>
> >>
> >>
> >> --
> >> Softimage Mailing List.
> >> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> >> with "unsubscribe" in the subject, and reply to confirm.
> >>
> >
> >
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
2015 scene
https://drive.google.com/open?id=0B1QqhXD7Y15qYk5pdElVWXNPNHc


On Thu, Mar 10, 2016 at 2:17 PM, Olivier Jeannel 
wrote:

> If you don't want to use curve (and curve tangent), I made this, but you
> need then to subdivide your edges to get good result.
> It calculate a "tangent" stored per point on the polygonal object.
> Then your Pointcloud get the closest location and take that tangent data
> and aligns vector.
>
>
> On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
> wrote:
>
>> You don't want to work with extracted edge curves ?
>>
>> On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning  wrote:
>>
>>> I think there might be something in Eric Mootz's emTools that does
>>> alignment to edges?
>>>
>>> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
>>> wrote:
>>>
 I am tinkering with a simple method for creating a cityscape in ICE
 using
 scatter tools. Julien Carmagnac SiScatter does most of what I need with
 insetting instances from edges and even scattering, but I am missing one
 important functionality. I need to be able to align the x or z axis of
 the
 instances to the tangent of the closest border edge, and then add a
 little
 randomization to the y rotations. I have looked deep into the compounds
 and
 tried different ways to get the edge tangent, but alas my ICE skills
 come up
 short here. Any scattering tool would do I guess - Milan Vaseks Scatter
 Tools or
 even simple nonsimulated emissions, but I need this extra alignment
 method. I
 tried Juliens Generate instance on Curve too, but it requires edge
 curves to be
 selected and extracted, plus it seems the instances seem to be flipped
 180 deg
 on the y-axis between isntances without any way to control it.

 I have attached a screenshot showing a simple test where the A example
 is what I
 need, and B is what I get with Generate instance on Curve.

 Any ideas on this will be much appreciated.

 Best
 Morten
 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
 with "unsubscribe" in the subject, and reply to confirm.

>>>
>>>
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
If you don't want to use curve (and curve tangent), I made this, but you
need then to subdivide your edges to get good result.
It calculate a "tangent" stored per point on the polygonal object.
Then your Pointcloud get the closest location and take that tangent data
and aligns vector.


On Thu, Mar 10, 2016 at 2:01 PM, Olivier Jeannel 
wrote:

> You don't want to work with extracted edge curves ?
>
> On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning  wrote:
>
>> I think there might be something in Eric Mootz's emTools that does
>> alignment to edges?
>>
>> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
>> wrote:
>>
>>> I am tinkering with a simple method for creating a cityscape in ICE using
>>> scatter tools. Julien Carmagnac SiScatter does most of what I need with
>>> insetting instances from edges and even scattering, but I am missing one
>>> important functionality. I need to be able to align the x or z axis of
>>> the
>>> instances to the tangent of the closest border edge, and then add a
>>> little
>>> randomization to the y rotations. I have looked deep into the compounds
>>> and
>>> tried different ways to get the edge tangent, but alas my ICE skills
>>> come up
>>> short here. Any scattering tool would do I guess - Milan Vaseks Scatter
>>> Tools or
>>> even simple nonsimulated emissions, but I need this extra alignment
>>> method. I
>>> tried Juliens Generate instance on Curve too, but it requires edge
>>> curves to be
>>> selected and extracted, plus it seems the instances seem to be flipped
>>> 180 deg
>>> on the y-axis between isntances without any way to control it.
>>>
>>> I have attached a screenshot showing a simple test where the A example
>>> is what I
>>> need, and B is what I get with Generate instance on Curve.
>>>
>>> Any ideas on this will be much appreciated.
>>>
>>> Best
>>> Morten
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE - how to align instances to edges?

2016-03-10 Thread Olivier Jeannel
You don't want to work with extracted edge curves ?

On Thu, Mar 10, 2016 at 1:44 AM, Ed Manning  wrote:

> I think there might be something in Eric Mootz's emTools that does
> alignment to edges?
>
> On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
> wrote:
>
>> I am tinkering with a simple method for creating a cityscape in ICE using
>> scatter tools. Julien Carmagnac SiScatter does most of what I need with
>> insetting instances from edges and even scattering, but I am missing one
>> important functionality. I need to be able to align the x or z axis of the
>> instances to the tangent of the closest border edge, and then add a little
>> randomization to the y rotations. I have looked deep into the compounds
>> and
>> tried different ways to get the edge tangent, but alas my ICE skills come
>> up
>> short here. Any scattering tool would do I guess - Milan Vaseks Scatter
>> Tools or
>> even simple nonsimulated emissions, but I need this extra alignment
>> method. I
>> tried Juliens Generate instance on Curve too, but it requires edge curves
>> to be
>> selected and extracted, plus it seems the instances seem to be flipped
>> 180 deg
>> on the y-axis between isntances without any way to control it.
>>
>> I have attached a screenshot showing a simple test where the A example is
>> what I
>> need, and B is what I get with Generate instance on Curve.
>>
>> Any ideas on this will be much appreciated.
>>
>> Best
>> Morten
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE - how to align instances to edges?

2016-03-09 Thread Ed Manning
I think there might be something in Eric Mootz's emTools that does
alignment to edges?

On Wed, Mar 9, 2016 at 7:22 PM, Morten Bartholdy 
wrote:

> I am tinkering with a simple method for creating a cityscape in ICE using
> scatter tools. Julien Carmagnac SiScatter does most of what I need with
> insetting instances from edges and even scattering, but I am missing one
> important functionality. I need to be able to align the x or z axis of the
> instances to the tangent of the closest border edge, and then add a little
> randomization to the y rotations. I have looked deep into the compounds and
> tried different ways to get the edge tangent, but alas my ICE skills come
> up
> short here. Any scattering tool would do I guess - Milan Vaseks Scatter
> Tools or
> even simple nonsimulated emissions, but I need this extra alignment
> method. I
> tried Juliens Generate instance on Curve too, but it requires edge curves
> to be
> selected and extracted, plus it seems the instances seem to be flipped 180
> deg
> on the y-axis between isntances without any way to control it.
>
> I have attached a screenshot showing a simple test where the A example is
> what I
> need, and B is what I get with Generate instance on Curve.
>
> Any ideas on this will be much appreciated.
>
> Best
> Morten
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.