Re: ICE Topo grow polygon array
thanks will take a look On 2 August 2012 03:46, Guillaume Laforge guillaume.laforge...@gmail.comwrote: Some cool ref : https://www.youtube.com/watch?v=dsMCVMVTdn0feature=player_embedded
Re: ICE Topo grow polygon array
Here's the video! :-) https://vimeo.com/46750915 On 1 August 2012 11:28, Chris Marshall chrismarshal...@gmail.com wrote: Hi Rob, The Test Polygon Index and Test Vertex Index nodes are both set to Integer Array. I added a Filter node after the second IF and ran the Test Vertex Index result into that, which removes everything set to -1, but then realised this could all be simplified anyway, see the attached. And a sample output of how running the result through some extrude nodes, in a loop, can give an interesting result. Chris On 31 July 2012 17:27, Rob Chapman tekano@gmail.com wrote: Nice one Chris, sort of following cluelessly and trying to rebuild something similar - quick question - what are the Test nodes testing mode? Is Element, Integer Array or Comparison? Cheers Rob
Re: ICE Topo grow polygon array
Thanks Chris kind of looks like a hedge made out of eels :) so Got it working my end (sort of) on a simple example Ice Modelling tree that randomly selects a percentage of polygons and then extrudes them., If I use the above technique on my random selection indices it selects the surrounding polygons as described, adds them to the 'array' but it extrudes each polygon independently. I wonder if its possible, for each initial random polygon, to grow the selection but merge the growth into one polygon and make a new array out of these merged polygons for the extrusion? Im getting context problems when trying to connect my array of integers into the polygon index (this is how my setup worked for the apply extrusion) so in essence I need to repeat, for each polygon in my first array to feed the 'Apply merge polygon' with an integer array of the surrounding polygons and make a new array out of these to feed to the repeat extrusion...this is not so easy to do is it when trying to grasp the idea of selection arrays inside of ICE modelling, I kind of know what I want to do but have no way of achieving it yet without a lot more practice, further painful trial and error and hopefully some more Ice modelling hints ;) cheers Rob On 1 August 2012 15:03, Chris Marshall chrismarshal...@gmail.com wrote: Here's the video! :-) https://vimeo.com/46750915 On 1 August 2012 11:28, Chris Marshall chrismarshal...@gmail.com wrote: Hi Rob, The Test Polygon Index and Test Vertex Index nodes are both set to Integer Array. I added a Filter node after the second IF and ran the Test Vertex Index result into that, which removes everything set to -1, but then realised this could all be simplified anyway, see the attached. And a sample output of how running the result through some extrude nodes, in a loop, can give an interesting result. Chris On 31 July 2012 17:27, Rob Chapman tekano@gmail.com wrote: Nice one Chris, sort of following cluelessly and trying to rebuild something similar - quick question - what are the Test nodes testing mode? Is Element, Integer Array or Comparison? Cheers Rob
Re: ICE Topo grow polygon array
ok, no worries. I just wish there were a few more examples that could be taken apart and put back together, just to see how these things work. It's so hard to know what'll work when there are so few examples available. On 1 August 2012 17:12, Rob Chapman tekano@gmail.com wrote: Chris, extrude polygon island is inside the compound of apply extrude polygon along axis :) I tried it anyways from your suggestion by bypassing the merge polygons and plugging directly into integer array - it sort of works with low numbers of random selection but breaks dramatically with higher numbers, thanks for the pointer though! best Rob On 1 August 2012 16:48, Chris Marshall chrismarshal...@gmail.com wrote: Hi Rob, I was having the opposite problem with extruding polygons, wanted individual ones to extrude but it was always merging them. Are you using Apply Extrude Polygon Along Axis? If so it might be worth trying the Extrude Polygon Island compound. On 1 August 2012 16:35, Rob Chapman tekano@gmail.com wrote: Thanks Chris kind of looks like a hedge made out of eels :) so Got it working my end (sort of) on a simple example Ice Modelling tree that randomly selects a percentage of polygons and then extrudes them., If I use the above technique on my random selection indices it selects the surrounding polygons as described, adds them to the 'array' but it extrudes each polygon independently. I wonder if its possible, for each initial random polygon, to grow the selection but merge the growth into one polygon and make a new array out of these merged polygons for the extrusion? Im getting context problems when trying to connect my array of integers into the polygon index (this is how my setup worked for the apply extrusion) so in essence I need to repeat, for each polygon in my first array to feed the 'Apply merge polygon' with an integer array of the surrounding polygons and make a new array out of these to feed to the repeat extrusion...this is not so easy to do is it when trying to grasp the idea of selection arrays inside of ICE modelling, I kind of know what I want to do but have no way of achieving it yet without a lot more practice, further painful trial and error and hopefully some more Ice modelling hints ;) cheers Rob On 1 August 2012 15:03, Chris Marshall chrismarshal...@gmail.comwrote: Here's the video! :-) https://vimeo.com/46750915 On 1 August 2012 11:28, Chris Marshall chrismarshal...@gmail.comwrote: Hi Rob, The Test Polygon Index and Test Vertex Index nodes are both set to Integer Array. I added a Filter node after the second IF and ran the Test Vertex Index result into that, which removes everything set to -1, but then realised this could all be simplified anyway, see the attached. And a sample output of how running the result through some extrude nodes, in a loop, can give an interesting result. Chris On 31 July 2012 17:27, Rob Chapman tekano@gmail.com wrote: Nice one Chris, sort of following cluelessly and trying to rebuild something similar - quick question - what are the Test nodes testing mode? Is Element, Integer Array or Comparison? Cheers Rob -- Chris Marshall Mint Motion Limited 029 2002 5762 07730 533 115 www.mintmotion.co.uk -- Chris Marshall Mint Motion Limited 029 2002 5762 07730 533 115 www.mintmotion.co.uk
Re: ICE Topo grow polygon array
Cool!! On 1 August 2012 17:32, Rob Chapman tekano@gmail.com wrote: and here is where I got to with this - kind of a kung fu practice dummy :) am going to try and apply Stephen Blair's tutorial 'make points into a circle' http://xsisupport.com/2012/02/06/using-vector-subtraction-to-move-a-point-onto-a-circle/ before extruding. Also doing it this way does not need Alok's C++ compound to delete duplicates from selection - it just extrudes the lot anyways :) cheers Rob On 1 August 2012 17:12, Rob Chapman tekano@gmail.com wrote: Chris, extrude polygon island is inside the compound of apply extrude polygon along axis :) I tried it anyways from your suggestion by bypassing the merge polygons and plugging directly into integer array - it sort of works with low numbers of random selection but breaks dramatically with higher numbers, thanks for the pointer though! best Rob On 1 August 2012 16:48, Chris Marshall chrismarshal...@gmail.com wrote: Hi Rob, I was having the opposite problem with extruding polygons, wanted individual ones to extrude but it was always merging them. Are you using Apply Extrude Polygon Along Axis? If so it might be worth trying the Extrude Polygon Island compound. On 1 August 2012 16:35, Rob Chapman tekano@gmail.com wrote: Thanks Chris kind of looks like a hedge made out of eels :) so Got it working my end (sort of) on a simple example Ice Modelling tree that randomly selects a percentage of polygons and then extrudes them., If I use the above technique on my random selection indices it selects the surrounding polygons as described, adds them to the 'array' but it extrudes each polygon independently. I wonder if its possible, for each initial random polygon, to grow the selection but merge the growth into one polygon and make a new array out of these merged polygons for the extrusion? Im getting context problems when trying to connect my array of integers into the polygon index (this is how my setup worked for the apply extrusion) so in essence I need to repeat, for each polygon in my first array to feed the 'Apply merge polygon' with an integer array of the surrounding polygons and make a new array out of these to feed to the repeat extrusion...this is not so easy to do is it when trying to grasp the idea of selection arrays inside of ICE modelling, I kind of know what I want to do but have no way of achieving it yet without a lot more practice, further painful trial and error and hopefully some more Ice modelling hints ;) cheers Rob On 1 August 2012 15:03, Chris Marshall chrismarshal...@gmail.comwrote: Here's the video! :-) https://vimeo.com/46750915 On 1 August 2012 11:28, Chris Marshall chrismarshal...@gmail.comwrote: Hi Rob, The Test Polygon Index and Test Vertex Index nodes are both set to Integer Array. I added a Filter node after the second IF and ran the Test Vertex Index result into that, which removes everything set to -1, but then realised this could all be simplified anyway, see the attached. And a sample output of how running the result through some extrude nodes, in a loop, can give an interesting result. Chris On 31 July 2012 17:27, Rob Chapman tekano@gmail.com wrote: Nice one Chris, sort of following cluelessly and trying to rebuild something similar - quick question - what are the Test nodes testing mode? Is Element, Integer Array or Comparison? Cheers Rob
Re: ICE Topo grow polygon array
Some cool ref : https://www.youtube.com/watch?v=dsMCVMVTdn0feature=player_embedded
Re: ICE Topo grow polygon array
Looks super, hope to see some animations on vimeo soon :) Le 31/07/2012 15:32, Chris Marshall a écrit : Thanks a lot for sending that through. Worked a treat. Only thing was I was working with integers, so needed to convert to scalar and back again either side, but that's fine. Attached are some examples of what I came up with. Took lots of head scratching!! With this kind of stuff you never quite know what the result will be, and this ended up looking more organic than I thought it would. Cheers Chris On 30 July 2012 17:12, alok.gandhi alok.gan...@modusfx.com mailto:alok.gan...@modusfx.com wrote: It is a self-installing c++ ice node. There is a performance advantage as you don't have to loop using repeat nodes.
Re: ICE Topo grow polygon array
Nice one Chris, sort of following cluelessly and trying to rebuild something similar - quick question - what are the Test nodes testing mode? Is Element, Integer Array or Comparison? Cheers Rob
Re: ICE Topo grow polygon array
Yes I can't get this to work so far, because of the context issues. I'll keep playing. Thanks On 30 July 2012 12:58, Vincent Ullmann vincent.ullm...@googlemail.comwrote: Did something like this some time ago. You should try something with some of these nodes: GetData(Polygon_to_Vertecies) GetData(VertexIndex) Find in Array Get Element Index GetData(Vertex to Polygons) But there are lots of Context-Issues Got no much time to have a lock now maybe i could check this this evening
Re: ICE Topo grow polygon array
OK I've managed to get something working, at last! Honestly, what a nightmare. On 30 July 2012 15:00, Chris Marshall chrismarshal...@gmail.com wrote: Well, you can't say I didn't try! But I suddenly realised I was going around in circles, with no solution. It must be in there somewhere... On 30 July 2012 13:21, Chris Marshall chrismarshal...@gmail.com wrote: Yes I can't get this to work so far, because of the context issues. I'll keep playing. Thanks On 30 July 2012 12:58, Vincent Ullmann vincent.ullm...@googlemail.comwrote: Did something like this some time ago. You should try something with some of these nodes: GetData(Polygon_to_Vertecies) GetData(VertexIndex) Find in Array Get Element Index GetData(Vertex to Polygons) But there are lots of Context-Issues Got no much time to have a lock now maybe i could check this this evening
Re: ICE Topo grow polygon array
alok are you making c++ ice nodes with functioning polymorphism? i had some success but stalled out when softimage crashed if i swapped an array of booleans to an array of integers per point. that was using the pass though example that ships with soft. it would be great if that was solved. _sam On Mon, Jul 30, 2012 at 9:37 AM, Chris Marshall chrismarshal...@gmail.comwrote: Ok thanks. I'll give it a go. Cheers On Monday, 30 July 2012, alok.gandhi wrote: It is a self-installing c++ ice node. There is a performance advantage as you don't have to loop using repeat nodes. -Original Message- From: Chris Marshall chrismarshal...@gmail.com Sent 7/30/2012 12:02:47 PM To: softimage@listproc.autodesk.com Subject: Re: ICE Topo grow polygon array Hey thanks, will try in the morning. Is that an ICE tree? On 30 July 2012 16:59, Alok alok.gan...@modusfx.com wrote: *so somehow need to remove the duplicates.* You can you my compiled node to do that: http://bit.ly/QrtFA2 Alok. -- Chris Marshall Mint Motion Limited 029 2002 5762 07730 533 115 www.mintmotion.co.uk
Re: ICE Topo grow polygon array
I did not write a polymorphic one. But will do so soon and post the result. On 30/07/2012 1:21 PM, Sam Cuttriss wrote: alok are you making c++ ice nodes with functioning polymorphism? i had some success but stalled out when softimage crashed if i swapped an array of booleans to an array of integers per point. that was using the pass though example that ships with soft. it would be great if that was solved. _sam On Mon, Jul 30, 2012 at 9:37 AM, Chris Marshall chrismarshal...@gmail.com wrote: Ok thanks. I'll give it a go. Cheers On Monday, 30 July 2012, alok.gandhi wrote: It is a self-installing c++ ice node. There is a performance advantage as you don't have to loop using repeat nodes. -Original Message- From: "Chris Marshall" chrismarshal...@gmail.com Sent 7/30/2012 12:02:47 PM To: softimage@listproc.autodesk.com Subject: Re: ICE Topo grow polygon array Hey thanks, will try in the morning. Is that an ICE tree? On 30 July 2012 16:59, Alok alok.gan...@modusfx.com wrote: "so somehow need to remove the duplicates." You can you my compiled node to do that: http://bit.ly/QrtFA2 Alok. -- Chris Marshall Mint Motion Limited 029 2002 5762 07730 533 115 www.mintmotion.co.uk No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5164 - Release Date: 07/30/12
Re: ICE Topo grow polygon array
not specific to this tool alok, i was just interested in your experiences. if it works for you i would love some insight. (sorry to interrupt the thread) _sam