ICE gurus assemble!

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
mc_axe
Posts: 394
Joined: 12 Mar 2013, 18:44

Re: ICE gurus assemble!

Post by mc_axe » 14 Feb 2018, 20:36

Awesome tut im checking everyday :)

User avatar
rray
Moderator
Posts: 1537
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany

Re: ICE gurus assemble!

Post by rray » 14 Feb 2018, 21:10

Hey that's cool :)

I wasn't sure whether to merge the points first and then create the top polygon, or the other way round.

Went for the other way round because when the top bevel subdivisions is 1 (hm should be actually 0), I'll need all the points, like in the case in the screenshot.

Could find out by selecting the top edges and then adjacent points that the points are alwas numbered 0,10,20,40,... when the top bevel subdivisions is 9 for example. So I need an array like [0, topsubd+1, (topsubd+1)*2, (topsubd+1)*3]....
You do not have the required permissions to view the files attached to this post.
Softimage Resources section (formerly known as rray.de/xsi) updated Oct 01 2017

User avatar
rray
Moderator
Posts: 1537
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany

Re: ICE gurus assemble!

Post by rray » 16 Feb 2018, 02:43

finally for the first part, building the indices for collapsing the top edge points (see viewport in screenshot)

Done 4 times with a repeat node. The repeat's CounterValue is subtracted from 3 so the highest indices are collapsed first (collapsing lower ones first would change the higher ones, then would come chaos!:)
You do not have the required permissions to view the files attached to this post.
Softimage Resources section (formerly known as rray.de/xsi) updated Oct 01 2017

User avatar
rray
Moderator
Posts: 1537
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany

Re: ICE gurus assemble!

Post by rray » 17 Feb 2018, 21:08

Something had to be done about normals :-j auto ones turn out horribly when bevel setting is low.
Found something on "face weighted normals" that should fix that. That method makes each point's normal the average normal of it's neighbor faces (as usual), but weighted by their area (not usual)
The weight can be squared for even more power

it's an easy method but the ICE graph turns out quite complex anyway which is because normals are defined for nodes (polygon corners) not for points.

So the polygon data has to be converted into a point context first (using select in array) and the result of the weighting (in point context) to node context (again using select in array). Then it can be set to NodeUserNormal or a user normal cluster. Luckily the array conversion takes no time because it just gives access to an array that already exists
You do not have the required permissions to view the files attached to this post.
Softimage Resources section (formerly known as rray.de/xsi) updated Oct 01 2017

User avatar
sant0s
Posts: 338
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: ICE gurus assemble!

Post by sant0s » 17 Feb 2018, 23:34

Looks perfect!

The first paving stone of a paving stone street. :D