Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Alex.S on February 12, 2019, 07:12:17 PM

Title: Scaling segments to spline segments
Post by: Alex.S on February 12, 2019, 07:12:17 PM
Hi,

Does anyone know how I can scale segments to the spline segment length, and also keep the ends all joined nicely, whilst keeping the geo layout the same.

In yellow is a sweep where it uses a box, in white is the closest I can seem to get. If I enable Bevel then the geo gets a bunch of random verts added.

It's been a while since I used Railclone, so apologies if I'm missing something obvious.

Thanks
Title: Re: Scaling segments to spline segments
Post by: Rokas on February 13, 2019, 07:20:28 AM
Can You please attach Your max file?
Title: Re: Scaling segments to spline segments
Post by: Alex.S on February 13, 2019, 10:26:56 AM
Colour me stumped, but it seems to be working now. I have no idea what I was doing wrong yesterday...  :-X
Title: Re: Scaling segments to spline segments
Post by: Rokas on February 13, 2019, 10:31:26 AM
Happens to everyone!  ;)
Title: Re: Scaling segments to spline segments
Post by: Alex.S on February 13, 2019, 10:32:54 AM
Oh wait, no it isn't Bevel is screwing things up. If I don't have show edges on, I don't spot it though.

Max2017 file attached.
Title: Re: Scaling segments to spline segments
Post by: Rokas on February 13, 2019, 04:10:14 PM
Hi

Unfortunately we could not make the style as You have requested.

This is the closest we(Paul) could achieve:
(https://i.imgur.com/F0Ch2Tg.png)
Title: Re: Scaling segments to spline segments
Post by: Alex.S on February 13, 2019, 05:32:40 PM
Thought that might be the case, Thanks for trying.

Is there any chance of this type of behaviour being supported in the future?
Title: Re: Scaling segments to spline segments
Post by: Rokas on February 14, 2019, 08:02:52 AM
What is real world practical example where this would be used?
Title: Re: Scaling segments to spline segments
Post by: Alex.S on February 14, 2019, 12:26:02 PM
The reason to use this is that we can have control over each individual segments length exactly, and to keep the polygon structure absolutely optimized. So for example, if we wish to model a low poly version of a high poly mesh (say from laser scanned data), we can control at key points to make sure they match the details which aren't quite uniform in real life.
Title: Re: Scaling segments to spline segments
Post by: Rokas on February 14, 2019, 01:03:59 PM
Unfortunately we do not know a way how to implement such a mode.
Title: Re: Scaling segments to spline segments
Post by: Alex.S on February 14, 2019, 01:42:02 PM
Hmm,

How about this?

At present in the arithmetic nodes we have spline length and spline segment lengths. However the segment length is just until the next defined point such as a corner. This breaks up the default tiling mode.

If the actual spline segment length was also exposed in a different way, I could automatically adjust the size of my node and just use the tile option in my generator?

In beneath image:
Red = smooth points
Blue = corner
Black lines are the length of segment lengths.