Itoo Software Forum

Author Topic: Roofs  (Read 1642 times)

Bobby Parker

  • Sr. Member
  • ****
  • Posts: 256
Roofs
« on: April 01, 2016, 06:57:19 PM »
Okay, I have no idea what I am doing. I'm trying to create an asphalt roof, however, nothing is working.

http://screencast-o-matic.com/watch/cDfVDL1wig

I followed two tutorials I found on the forum, but neither seem to work for me.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Roofs
« Reply #1 on: April 01, 2016, 07:10:33 PM »
Hi,

The script needs your RailClone object to be set up in a particular way. Specifically it must use Generator > Properties > Extend X/Y Size to Area, and the Clipping area must be the first entry in the base objects list.



If both these things are correct then please feel free to upload your scene file and I'll happily take a look at it for you.

Many thanks!

Paul

Paul Roberts
iToo Software

Bobby Parker

  • Sr. Member
  • ****
  • Posts: 256
Re: Roofs
« Reply #2 on: April 01, 2016, 08:57:48 PM »
Ok, 6 hours later and I think I am wrapping my head around it. One thing, how do I extend the roof on the ends? The scene that was posted as an example just didn't work and wasn't wired correctly, or at least I couldn't break it down. Starting from scratch did the trick, except for the one question.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Roofs
« Reply #3 on: April 01, 2016, 09:19:05 PM »
Hi Bobby,

Glad to hear you're getting the hang of it. When you say you want to extend the roof on the ends do you mean you need to fill in those missing half tiles? If so I'd normally I'd set a tile roof style up like this.



- As you can see I've got two segments, one full sized tile and one half sized tile.
- The full size tile is wired to the Default input as this will cover nearly all of the roof
- To create the offset on alternating rows I've wired the full size tile and a half sized tile to a Sequence operator attached to the Left and Right inputs. The sequence operator is set to Increment at Y to create an offset pattern vertically.

- To prevent tiles being sliced on the sides the generator's default mode is set to Adaptive. This subtly rescales the tiles so that they fit exactly.

- And that's about it, of course if you want to add subtle variations you can do this by using the segment's Random Transform parameters.

If however you meant you'd like to extend the whole array slightly over the ends of the roof then that's a different issue. It that case you'd have to adjust the clipping splines to increase the size of the array. You can't really do it any other way because anything that extends beyond the spline will be clipped and if you turn off slice for the segments they won't be cut correctly on the top or bottom of the roof.

I hope that helps, please let me know if you have any further questions.

Many thanks and have a good weekend!

Paul.
Paul Roberts
iToo Software

Bobby Parker

  • Sr. Member
  • ****
  • Posts: 256
Re: Roofs
« Reply #4 on: April 01, 2016, 10:52:04 PM »
Mase sense, thanks. How about the slight rotation, so it's not flat?


Bobby Parker

  • Sr. Member
  • ****
  • Posts: 256
Re: Roofs
« Reply #5 on: April 01, 2016, 10:54:41 PM »
Maybe transform?