Itoo Software Forum

Author Topic: Low Poly Railing Issue  (Read 558 times)

Alex.S

  • Jr. Member
  • **
  • Posts: 54
Low Poly Railing Issue
« on: May 12, 2016, 09:58:01 AM »
Hi,

I've made my own rail using a similar solution to the one provided in the Libraries, but I'm developing for a game so had to optimize the poly usage a bunch.

The issue is with the rail which goes up the steps. I have the items on vertical blending, but really i want to blend from vertical to adaptive based on how far along the segment we are, as the rail is warped out of shape at present.

Or am I missing a better way to do this?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: Low Poly Railing Issue
« Reply #1 on: May 13, 2016, 02:32:48 PM »
Hi, i'm testing several methods for this case, but until now couldn't find a way to avoid the vertical deformation.

The main problem is that's not possible to combine Vertical and Adaptive mode in the way you suggest, because each one generates different railings which don't match (specially at ends). As shown here:



Paul, our RailClone specialist is on vacation this week. When he's back, i will ask him if can find a solution for this issue.

Thanks,
Carlos Quintero
iToo Software

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1593
Re: Low Poly Railing Issue
« Reply #2 on: May 16, 2016, 02:05:41 PM »
Hi!

I have a version that might work for your needs. As Carlos pointed out there is an issue with mixing Adaptive and Vertical modes because the two algorithms produce quite different results. My solution has been to use the Spline as the top of the handrail (instead of the base) in that way you can more easily align the handrail and the balustrades:



Because the spline is now the top of the handrail it will need to be moved the appropriate distance off the ground. Also, to get the start and the end to work correctly I've tried a different approach. The Handrail's spline actually turns a corner on each end and reaches down to the ground:



You can then use a corner segment to create the joint at each end.

As you can see in the diagram I've also assigned some material IDs to the spline. This is because I want the handrail to use the full spline, but the balusters should only use the section of spline with an ID of 1. This option is found in the Generator's Properties in the Limits tab.

To align the balusters to the spline correctly I've also changed the Alignment > Z value to Top. I've attached the file for you to take a look at.

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

Many Thanks,

Paul
Paul Roberts
iToo Software

Alex.S

  • Jr. Member
  • **
  • Posts: 54
Re: Low Poly Railing Issue
« Reply #3 on: May 17, 2016, 01:46:56 PM »
Hi,

Thanks, Interesting ideas! I'll try to check them out at some point soon, moved onto other different types of fences now hehe!