Itoo Software Forum

Author Topic: Railclone and curved spline  (Read 2345 times)

Yuriy Bochkaryov

  • Jr. Member
  • **
  • Posts: 62
  • CG Artist
    • https://ybochkaryov.com
Railclone and curved spline
« on: August 01, 2022, 11:59:17 PM »
Good afternoon
I want to make tiles on the roof of the house, the roof has a bend along the Z axis, railclone works fine if the bends go along the X and Y axes, but if there is a bend along the Z axis, then the railclone stops working correctly
I tried using the surface node, but it also doesn't work very well at the edges of the spline, and in general it gives quite unpredictable results
below attached the scene example
Thanks
Mail:     info@ybochkaryov.com
Skype:  Hunter-3d
https://ybochkaryov.com
https://www.instagram.com/yuriy_bochkaryov/

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Railclone and curved spline
« Reply #1 on: August 02, 2022, 08:20:07 AM »
Hi, sorry I dont have time to explain :-\ so I just make a few print screens

Yuriy Bochkaryov

  • Jr. Member
  • **
  • Posts: 62
  • CG Artist
    • https://ybochkaryov.com
Re: Railclone and curved spline
« Reply #2 on: August 02, 2022, 11:01:04 AM »
Hi, sorry I dont have time to explain :-\ so I just make a few print screens
Hi
thanks, but this can't be the solution
you just increased the size of the surface for tiling, thereby getting rid of problems on the edges, where the railclone does not correctly process the geometry.
Does this solution work if you have one or more fragments, but if you have a complex roof? does every fragment have to do this? I have 18 houses in the scene with such a complex roof - so this solution is not suitable
Mail:     info@ybochkaryov.com
Skype:  Hunter-3d
https://ybochkaryov.com
https://www.instagram.com/yuriy_bochkaryov/

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Railclone and curved spline
« Reply #3 on: August 02, 2022, 11:21:06 AM »
Well, RC deforms just on z axis and needs a little bit larger surface than the clipping spline.
If you have some extended percentage in Generator this will be the equivalent as you did the offset spline so you need a bigger offset for the surface as well. 


Yuriy Bochkaryov

  • Jr. Member
  • **
  • Posts: 62
  • CG Artist
    • https://ybochkaryov.com
Re: Railclone and curved spline
« Reply #4 on: August 02, 2022, 11:52:21 AM »
Well, RC deforms just on z axis and needs a little bit larger surface than the clipping spline.
If you have some extended percentage in Generator this will be the equivalent as you did the offset spline so you need a bigger offset for the surface as well.

I understand that this can be used on 1 house, as it is inconvenient and wastes extra time
I have 18 houses, this method will not work
18 houses, create each roof element separately a little larger, then exclude it from the render - it's not realistic
I need to create about 80-100 additional elements with a slightly larger size )
Mail:     info@ybochkaryov.com
Skype:  Hunter-3d
https://ybochkaryov.com
https://www.instagram.com/yuriy_bochkaryov/

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Railclone and curved spline
« Reply #5 on: August 02, 2022, 12:57:26 PM »
Are all roofs different, or copy of an unique model ?

If all roofs are the same, you could generate one model, turn on Style->"Free Object", and then clone RC as a Max instance.
With "Free Object", the RC object can be moved along the scene without affecting its position.

If not, i'm afraid there is not a simple solution. RailClone cannot generate directly from a Surface, just conform the geometry over it.

Carlos Quintero
iToo Software

Yuriy Bochkaryov

  • Jr. Member
  • **
  • Posts: 62
  • CG Artist
    • https://ybochkaryov.com
Re: Railclone and curved spline
« Reply #6 on: August 02, 2022, 04:36:08 PM »
Are all roofs different, or copy of an unique model ?

If all roofs are the same, you could generate one model, turn on Style->"Free Object", and then clone RC as a Max instance.
With "Free Object", the RC object can be moved along the scene without affecting its position.

If not, i'm afraid there is not a simple solution. RailClone cannot generate directly from a Surface, just conform the geometry over it.

All roofs are unique (
Mail:     info@ybochkaryov.com
Skype:  Hunter-3d
https://ybochkaryov.com
https://www.instagram.com/yuriy_bochkaryov/