Re: ICE modelling - polygon area
Hey Rob, I'm trying something similar now and having no luck... I just want to adjust the size of the inset on an Extrude Polygon Island node based on Self.PolygonArea. However it seems to return 0. Any tips? Did you manage to get anything working? DAN On Thu, Aug 9, 2012 at 5:35 PM, Rob Chapman tekano@gmail.com wrote: Steve, great! thanks for that, will have a go at implementing the way you have done this, looking at your ICE tree it doesnt look like an obvious solution :) my issue is proving more difficult because each Polygon needs its own radius size depending on a distance to a null and am using a repeat node with the selected poly index array to cycle through each one setting unique values. similar to this http://xsisupport.com/2012/06/07/ice-modeling-extruding-polygons-with-random-lengths/ but further jumping through contexts by trying to set individual polygons pointpositions as well. Have made some progress with a grid (see pic), just stuck when applied to long thin extruded objects in the shot where the polygons are not regular square to begin with and need scaling beforehand. On 9 August 2012 16:15, Stephen Blair stephen.bl...@autodesk.com wrote: I don’t know if this helps, but here’s something similar I was messing around with http://xsisupport.com/2012/08/07/resizing-polygons-with-ice/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Rob Chapman Sent: August-09-12 11:12 AM To: softimage@listproc.autodesk.com Subject: Re: ICE modelling - polygon area must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating!
Re: ICE modelling - polygon area
Hi Dan, not possible Im afraid as that inset is global per object whereas polygon_area is per polygon context. If you treated each extrude independently with an repeat node then it is possible but a pain jumping through contexts. I think I ended up getting the needed polygon selecting surrounding vertices making these into a circle with the radius as a factor of the original polygon area before extruding. Also Stephen has the most information available i believe on tips tricks with ICE modelling http://xsisupport.com/?s=ice+modelsubmit=Search good luck!, if you get stuck I can try dig out the compound used for the job but pretty much used the example tips and tricks provided by Mr. Blair cheers Rob On 23 October 2012 15:24, Dan Yargici danyarg...@gmail.com wrote: Hey Rob, I'm trying something similar now and having no luck... I just want to adjust the size of the inset on an Extrude Polygon Island node based on Self.PolygonArea. However it seems to return 0. Any tips? Did you manage to get anything working? DAN On Thu, Aug 9, 2012 at 5:35 PM, Rob Chapman tekano@gmail.com wrote: Steve, great! thanks for that, will have a go at implementing the way you have done this, looking at your ICE tree it doesnt look like an obvious solution :) my issue is proving more difficult because each Polygon needs its own radius size depending on a distance to a null and am using a repeat node with the selected poly index array to cycle through each one setting unique values. similar to this http://xsisupport.com/2012/06/07/ice-modeling-extruding-polygons-with-random-lengths/ but further jumping through contexts by trying to set individual polygons pointpositions as well. Have made some progress with a grid (see pic), just stuck when applied to long thin extruded objects in the shot where the polygons are not regular square to begin with and need scaling beforehand. On 9 August 2012 16:15, Stephen Blair stephen.bl...@autodesk.com wrote: I don’t know if this helps, but here’s something similar I was messing around with http://xsisupport.com/2012/08/07/resizing-polygons-with-ice/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Rob Chapman Sent: August-09-12 11:12 AM To: softimage@listproc.autodesk.com Subject: Re: ICE modelling - polygon area must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating!
Re: ICE modelling - polygon area
Thanks Rob, I was hoping to avoid Repeats in this instance because I have a very dense mesh... Bummer. Cheers, DAN On Tue, Oct 23, 2012 at 4:41 PM, Rob Chapman tekano@gmail.com wrote: Hi Dan, not possible Im afraid as that inset is global per object whereas polygon_area is per polygon context. If you treated each extrude independently with an repeat node then it is possible but a pain jumping through contexts. I think I ended up getting the needed polygon selecting surrounding vertices making these into a circle with the radius as a factor of the original polygon area before extruding. Also Stephen has the most information available i believe on tips tricks with ICE modelling http://xsisupport.com/?s=ice+modelsubmit=Search good luck!, if you get stuck I can try dig out the compound used for the job but pretty much used the example tips and tricks provided by Mr. Blair cheers Rob On 23 October 2012 15:24, Dan Yargici danyarg...@gmail.com wrote: Hey Rob, I'm trying something similar now and having no luck... I just want to adjust the size of the inset on an Extrude Polygon Island node based on Self.PolygonArea. However it seems to return 0. Any tips? Did you manage to get anything working? DAN On Thu, Aug 9, 2012 at 5:35 PM, Rob Chapman tekano@gmail.com wrote: Steve, great! thanks for that, will have a go at implementing the way you have done this, looking at your ICE tree it doesnt look like an obvious solution :) my issue is proving more difficult because each Polygon needs its own radius size depending on a distance to a null and am using a repeat node with the selected poly index array to cycle through each one setting unique values. similar to this http://xsisupport.com/2012/06/07/ice-modeling-extruding-polygons-with-random-lengths/ but further jumping through contexts by trying to set individual polygons pointpositions as well. Have made some progress with a grid (see pic), just stuck when applied to long thin extruded objects in the shot where the polygons are not regular square to begin with and need scaling beforehand. On 9 August 2012 16:15, Stephen Blair stephen.bl...@autodesk.com wrote: I don’t know if this helps, but here’s something similar I was messing around with http://xsisupport.com/2012/08/07/resizing-polygons-with-ice/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Rob Chapman Sent: August-09-12 11:12 AM To: softimage@listproc.autodesk.com Subject: Re: ICE modelling - polygon area must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating!
Re: ICE modelling - polygon area
Here's a modified version of Mr Laforge's compound that does the extrusion length and inset based on polygon area. Yeah, it uses a Repeat. http://xsisupport.files.wordpress.com/2012/10/extrusion-by-area.png On 23/10/2012 11:47 AM, Dan Yargici wrote: Thanks Rob, I was hoping to avoid Repeats in this instance because I have a very dense mesh... Bummer. Cheers, DAN On Tue, Oct 23, 2012 at 4:41 PM, Rob Chapman tekano@gmail.com wrote: Hi Dan, not possible Im afraid as that inset is global per object whereas polygon_area is per polygon context. If you treated each extrude independently with an repeat node then it is possible but a pain jumping through contexts. I think I ended up getting the needed polygon selecting surrounding vertices making these into a circle with the radius as a factor of the original polygon area before extruding. Also Stephen has the most information available i believe on tips tricks with ICE modelling http://xsisupport.com/?s=ice+modelsubmit=Search good luck!, if you get stuck I can try dig out the compound used for the job but pretty much used the example tips and tricks provided by Mr. Blair cheers Rob On 23 October 2012 15:24, Dan Yargici danyarg...@gmail.com wrote: Hey Rob, I'm trying something similar now and having no luck... I just want to adjust the size of the inset on an Extrude Polygon Island node based on Self.PolygonArea. However it seems to return 0. Any tips? Did you manage to get anything working? DAN On Thu, Aug 9, 2012 at 5:35 PM, Rob Chapman tekano@gmail.com wrote: Steve, great! thanks for that, will have a go at implementing the way you have done this, looking at your ICE tree it doesnt look like an obvious solution :) my issue is proving more difficult because each Polygon needs its own radius size depending on a distance to a null and am using a repeat node with the selected poly index array to cycle through each one setting unique values. similar to this http://xsisupport.com/2012/06/07/ice-modeling-extruding-polygons-with-random-lengths/ but further jumping through contexts by trying to set individual polygons pointpositions as well. Have made some progress with a grid (see pic), just stuck when applied to long thin extruded objects in the shot where the polygons are not regular square to begin with and need scaling beforehand. On 9 August 2012 16:15, Stephen Blair stephen.bl...@autodesk.com wrote: I don’t know if this helps, but here’s something similar I was messing around with http://xsisupport.com/2012/08/07/resizing-polygons-with-ice/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Rob Chapman Sent: August-09-12 11:12 AM To: softimage@listproc.autodesk.com Subject: Re: ICE modelling - polygon area must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating!
Re: ICE modelling - polygon area
must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating!
RE: ICE modelling - polygon area
I don’t know if this helps, but here’s something similar I was messing around with http://xsisupport.com/2012/08/07/resizing-polygons-with-ice/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Rob Chapman Sent: August-09-12 11:12 AM To: softimage@listproc.autodesk.com Subject: Re: ICE modelling - polygon area must be getting close - keep getting this now ' ERROR : 2429 - Access to a custom ICE node index set failed. This can occur when accessing an index set from the BeginEvaluate or EndEvaluate callback. all im trying to do is repeat in an array each selected polygons changes at the point level. ie I want to uniformly scale the polygon around its centre by a radius. whilst it is simple on a single Polygon, http://xsisupport.com/2012/02/09/making-circles-on-the-surface-of-a-mesh/ this is not so easy to get correct context when dealing with an array of polygons where each one is to have an individual radius value. and If I see another Context Mismatch: Input context supported: Per Object or Polygon output context supported: per Point well I guess I will just sigh yet again - this is sooo frustrating! attachment: winmail.dat
Re: ICE modelling - polygon area
Hi Rob, Although I am not entirely sure about it, but I think the polygon area is a dependent variable and thus it cannot be set. It depends simply on the vertex information. Infinite number of polygons can be produced given the same polygon area, so setting such data uniquely is not possible unless you have some other information like inset amount to begin. But as I said, I am not sure if it not possible. Maybe somebody else would prove me wrong.
Re: ICE modelling - polygon area
Hi Alok, yes the attribute PolygonArea is read only. I have a list of selected polygons taken from the polygon index and I would like to scale them arbitrarily with per polgon values I have set up already like inset amount extrude length. I am wondering if there is an easier way to scale individual polygons other than: for each polygon in the list get all vertex get the central position of each collections of vertices and scale selected vertices around these now before attempting this tricky (for me) jumping through repeat loops contexts am wondering if there is an easier solution? cheers Rob On 6 August 2012 11:53, Alok Gandhi alok.gandhi2...@gmail.com wrote: Hi Rob, Although I am not entirely sure about it, but I think the polygon area is a dependent variable and thus it cannot be set. It depends simply on the vertex information. Infinite number of polygons can be produced given the same polygon area, so setting such data uniquely is not possible unless you have some other information like inset amount to begin. But as I said, I am not sure if it not possible. Maybe somebody else would prove me wrong.