Itoo Software Forum

Author Topic: Scaling segments to spline segments  (Read 753 times)

Alex.S

  • Full Member
  • ***
  • Posts: 119
Scaling segments to spline segments
« 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

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Scaling segments to spline segments
« Reply #1 on: February 13, 2019, 07:20:28 AM »
Can You please attach Your max file?
Rokas

Alex.S

  • Full Member
  • ***
  • Posts: 119
Re: Scaling segments to spline segments
« Reply #2 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

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Scaling segments to spline segments
« Reply #3 on: February 13, 2019, 10:31:26 AM »
Happens to everyone!  ;)
Rokas

Alex.S

  • Full Member
  • ***
  • Posts: 119
Re: Scaling segments to spline segments
« Reply #4 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.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Scaling segments to spline segments
« Reply #5 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:

Rokas

Alex.S

  • Full Member
  • ***
  • Posts: 119
Re: Scaling segments to spline segments
« Reply #6 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?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Scaling segments to spline segments
« Reply #7 on: February 14, 2019, 08:02:52 AM »
What is real world practical example where this would be used?
Rokas

Alex.S

  • Full Member
  • ***
  • Posts: 119
Re: Scaling segments to spline segments
« Reply #8 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.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Scaling segments to spline segments
« Reply #9 on: February 14, 2019, 01:03:59 PM »
Unfortunately we do not know a way how to implement such a mode.
Rokas

Alex.S

  • Full Member
  • ***
  • Posts: 119
Re: Scaling segments to spline segments
« Reply #10 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.
« Last Edit: February 14, 2019, 01:48:19 PM by Alex.S »