Itoo Software Forum

Author Topic: Frank Gehry Titanium Panels  (Read 1339 times)

IJ2087

  • Jr. Member
  • **
  • Posts: 60
Frank Gehry Titanium Panels
« on: November 28, 2014, 04:51:37 PM »
I posted this in the Railclone lite forum. Any insight on how to do this would be appreciated.

http://forum.itoosoft.com/index.php?topic=2584.0

Reference:
http://bertrand-benoit.com/blog/2010/03/31/frank-gehry-style-titanium-scales/

Rokas

  • Sr. Member
  • ****
  • Posts: 424
Re: Frank Gehry Titanium Panels
« Reply #1 on: November 28, 2014, 05:44:18 PM »
This can be done really simple:


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1551
Re: Frank Gehry Titanium Panels
« Reply #2 on: November 28, 2014, 06:13:48 PM »
Hi,

Thanks for replying Rokas! 

I'd already started a scene file so I'll post it anyway but Rokas' technique works well.

I did it slightly differently, and a little bit more complicated, but with similar results. I tried to avoid the segments moving endlessly to the left as the rows progressed by cycling the offset from 0 (no offset) to 1, (full tile offset) using the modulo function. There's also no need to expand the bounds with this technique.



  • Create a new Rectangle, this should be sized in multiples of your individual tile height and width to ensure tiling works correctly
  • Wire this to Clipping area input and turn on Extend to area
  • Wire a Transform operator between the segment and the default input and export the Left Padding/
  • Only the first tile should be affected, to do this I used a Conditional statement that return the transformed segment when true. This should be set to Segment > X Counter = 1
  • Attach an Arithmetic operator to the exported left padding and wire a Constant to Input 1 with the value set to the Tiles width. Wire a Numeric node to Input 2, set this to Float and name in "Offset " (0 no offset, 1 full offset).
  • In the Arithmetic operator, enter the following expression:
     
    mod(SegmentYCounter*-Input2,1)*Input1

    The offset value is multiplied by the row number. The modulo command keeps the offset between 0 and 1 (by returning the remainder of division by 1) and this is multiplied by the tile width to return the offset in scene units.

The nice thing about this is that if you're using the new Beta you can use the Exported width attribute of the tile segment in place of a hard coded value, making it easy to swap in different sized tiles.


I've attached the scene file for you to take a look at.

I hope that helps.

Cheers,

Paul
« Last Edit: November 28, 2014, 07:37:10 PM by Paul Roberts »
Paul Roberts
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 424
Re: Frank Gehry Titanium Panels
« Reply #3 on: November 28, 2014, 06:25:29 PM »
iToo made a style with optimized segment placing (pun intended).
But didn`t want to introduce complex math. As I see, You did it with simple equation.. :)


« Last Edit: November 28, 2014, 07:54:50 PM by Rokas »

IJ2087

  • Jr. Member
  • **
  • Posts: 60
Re: Frank Gehry Titanium Panels
« Reply #4 on: November 28, 2014, 07:54:22 PM »
Thanks guys, Much appreciated.